Skip to content

Commit 0ef21d1

Browse files
committed
chore(core): update documentation to change read to read-only
1 parent b10fa14 commit 0ef21d1

File tree

6 files changed

+30
-30
lines changed

6 files changed

+30
-30
lines changed

docs/external-generated/packages/powerpack-azure-cache/documents/overview.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -84,26 +84,26 @@ Finally, you need to configure your Nx cache in the `nx.json` file. The `contain
8484

8585
# Cache Modes
8686

87-
By default the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
87+
By default, the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
8888

89-
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read` or `no-cache` in the `nx.json` file.
89+
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read-only` or `no-cache` in the `nx.json` file.
9090

9191
```jsonc {% fileName="nx.json" %}
9292
{
9393
"azure": {
9494
// ...
95-
"localMode": "read"
95+
"localMode": "read-only"
9696
}
9797
}
9898
```
9999

100-
The cache mode in CI can also be configured by setting `ciMode` to `read` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read` or `no-cache` in the CI environment.
100+
The cache mode in CI can also be configured by setting `ciMode` to `read-only` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read-only` or `no-cache` in the CI environment.
101101

102102
```jsonc {% fileName="nx.json" %}
103103
{
104104
"azure": {
105105
// ...
106-
"ciMode": "read"
106+
"ciMode": "read-only"
107107
}
108108
}
109109
```

docs/external-generated/packages/powerpack-gcs-cache/documents/overview.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,26 @@ Finally, you need to configure your Nx cache in the `nx.json` file. The `bucket`
8383

8484
# Cache Modes
8585

86-
By default the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
86+
By default, the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
8787

88-
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read` or `no-cache` in the `nx.json` file.
88+
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read-only` or `no-cache` in the `nx.json` file.
8989

9090
```jsonc {% fileName="nx.json" %}
9191
{
9292
"gcs": {
9393
// ...
94-
"localMode": "read"
94+
"localMode": "read-only"
9595
}
9696
}
9797
```
9898

99-
The cache mode in CI can also be configured by setting `ciMode` to `read` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read` or `no-cache` in the CI environment.
99+
The cache mode in CI can also be configured by setting `ciMode` to `read-only` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read-only` or `no-cache` in the CI environment.
100100

101101
```jsonc {% fileName="nx.json" %}
102102
{
103103
"gcs": {
104104
// ...
105-
"ciMode": "read"
105+
"ciMode": "read-only"
106106
}
107107
}
108108
```

docs/external-generated/packages/powerpack-s3-cache/documents/overview.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -155,28 +155,28 @@ Below is an example on how to connect to MinIO:
155155

156156
# Cache Modes
157157

158-
By default the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
158+
By default, the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
159159

160-
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read` or `no-cache` in the `nx.json` file.
160+
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read-only` or `no-cache` in the `nx.json` file.
161161

162162
```jsonc {% fileName="nx.json" %}
163163
{
164164
"s3": {
165165
"region": "us-east-1",
166166
"bucket": "my-bucket",
167-
"localMode": "read"
167+
"localMode": "read-only"
168168
}
169169
}
170170
```
171171

172-
The cache mode in CI can also be configured by setting `ciMode` to `read` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read` or `no-cache` in the CI environment.
172+
The cache mode in CI can also be configured by setting `ciMode` to `read-only` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read-only` or `no-cache` in the CI environment.
173173

174174
```jsonc {% fileName="nx.json" %}
175175
{
176176
"s3": {
177177
"region": "us-east-1",
178178
"bucket": "my-bucket",
179-
"ciMode": "read"
179+
"ciMode": "read-only"
180180
}
181181
}
182182
```

docs/shared/packages/powerpack-azure-cache/powerpack-azure-cache-plugin.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -84,26 +84,26 @@ Finally, you need to configure your Nx cache in the `nx.json` file. The `contain
8484

8585
# Cache Modes
8686

87-
By default the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
87+
By default, the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
8888

89-
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read` or `no-cache` in the `nx.json` file.
89+
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read-only` or `no-cache` in the `nx.json` file.
9090

9191
```jsonc {% fileName="nx.json" %}
9292
{
9393
"azure": {
9494
// ...
95-
"localMode": "read"
95+
"localMode": "read-only"
9696
}
9797
}
9898
```
9999

100-
The cache mode in CI can also be configured by setting `ciMode` to `read` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read` or `no-cache` in the CI environment.
100+
The cache mode in CI can also be configured by setting `ciMode` to `read-only` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read-only` or `no-cache` in the CI environment.
101101

102102
```jsonc {% fileName="nx.json" %}
103103
{
104104
"azure": {
105105
// ...
106-
"ciMode": "read"
106+
"ciMode": "read-only"
107107
}
108108
}
109109
```

docs/shared/packages/powerpack-gcs-cache/powerpack-gcs-cache-plugin.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,26 @@ Finally, you need to configure your Nx cache in the `nx.json` file. The `bucket`
8383

8484
# Cache Modes
8585

86-
By default the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
86+
By default, the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
8787

88-
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read` or `no-cache` in the `nx.json` file.
88+
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read-only` or `no-cache` in the `nx.json` file.
8989

9090
```jsonc {% fileName="nx.json" %}
9191
{
9292
"gcs": {
9393
// ...
94-
"localMode": "read"
94+
"localMode": "read-only"
9595
}
9696
}
9797
```
9898

99-
The cache mode in CI can also be configured by setting `ciMode` to `read` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read` or `no-cache` in the CI environment.
99+
The cache mode in CI can also be configured by setting `ciMode` to `read-only` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read-only` or `no-cache` in the CI environment.
100100

101101
```jsonc {% fileName="nx.json" %}
102102
{
103103
"gcs": {
104104
// ...
105-
"ciMode": "read"
105+
"ciMode": "read-only"
106106
}
107107
}
108108
```

docs/shared/packages/powerpack-s3-cache/powerpack-s3-cache-plugin.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -155,28 +155,28 @@ Below is an example on how to connect to MinIO:
155155

156156
# Cache Modes
157157

158-
By default the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
158+
By default, the remote cache will try to write and read from the remote cache while running locally. This means that permissions must be set for users who are expected to access the remote cache.
159159

160-
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read` or `no-cache` in the `nx.json` file.
160+
Nx will only show warnings when the remote cache is not writable. You can disable these warnings by setting `localMode` to `read-only` or `no-cache` in the `nx.json` file.
161161

162162
```jsonc {% fileName="nx.json" %}
163163
{
164164
"s3": {
165165
"region": "us-east-1",
166166
"bucket": "my-bucket",
167-
"localMode": "read"
167+
"localMode": "read-only"
168168
}
169169
}
170170
```
171171

172-
The cache mode in CI can also be configured by setting `ciMode` to `read` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read` or `no-cache` in the CI environment.
172+
The cache mode in CI can also be configured by setting `ciMode` to `read-only` or `no-cache` in the `nx.json` file. Or setting `NX_POWERPACK_CACHE_MODE` to `read-only` or `no-cache` in the CI environment.
173173

174174
```jsonc {% fileName="nx.json" %}
175175
{
176176
"s3": {
177177
"region": "us-east-1",
178178
"bucket": "my-bucket",
179-
"ciMode": "read"
179+
"ciMode": "read-only"
180180
}
181181
}
182182
```

0 commit comments

Comments
 (0)