@turbo/types 2.3.1 → 2.3.2-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/schemas/schema.json +5 -0
- package/schemas/schema.v2.json +5 -0
- package/src/types/config-v2.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turbo/types",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2-canary.0",
|
|
4
4
|
"description": "Turborepo types",
|
|
5
5
|
"homepage": "https://turbo.build/repo",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"@types/node": "^20",
|
|
19
19
|
"ts-json-schema-generator": "2.3.0",
|
|
20
20
|
"tsx": "4.19.1",
|
|
21
|
-
"@turbo/
|
|
22
|
-
"@turbo/
|
|
21
|
+
"@turbo/tsconfig": "0.0.0",
|
|
22
|
+
"@turbo/eslint-config": "0.0.0"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"src",
|
package/schemas/schema.json
CHANGED
|
@@ -213,6 +213,11 @@
|
|
|
213
213
|
"type": "number",
|
|
214
214
|
"description": "Sets a timeout for remote cache operations. Value is given in seconds and only whole values are accepted. If `0` is passed, then there is no timeout for any cache operations.",
|
|
215
215
|
"default": 30
|
|
216
|
+
},
|
|
217
|
+
"uploadTimeout": {
|
|
218
|
+
"type": "number",
|
|
219
|
+
"description": "Sets a timeout for remote cache uploads. Value is given in seconds and only whole values are accepted. If `0` is passed, then there is no timeout for any remote cache uploads.",
|
|
220
|
+
"default": 60
|
|
216
221
|
}
|
|
217
222
|
},
|
|
218
223
|
"additionalProperties": false
|
package/schemas/schema.v2.json
CHANGED
|
@@ -213,6 +213,11 @@
|
|
|
213
213
|
"type": "number",
|
|
214
214
|
"description": "Sets a timeout for remote cache operations. Value is given in seconds and only whole values are accepted. If `0` is passed, then there is no timeout for any cache operations.",
|
|
215
215
|
"default": 30
|
|
216
|
+
},
|
|
217
|
+
"uploadTimeout": {
|
|
218
|
+
"type": "number",
|
|
219
|
+
"description": "Sets a timeout for remote cache uploads. Value is given in seconds and only whole values are accepted. If `0` is passed, then there is no timeout for any remote cache uploads.",
|
|
220
|
+
"default": 60
|
|
216
221
|
}
|
|
217
222
|
},
|
|
218
223
|
"additionalProperties": false
|
package/src/types/config-v2.ts
CHANGED
|
@@ -336,6 +336,14 @@ export interface RemoteCache {
|
|
|
336
336
|
* @defaultValue `30`
|
|
337
337
|
*/
|
|
338
338
|
timeout?: number;
|
|
339
|
+
/**
|
|
340
|
+
* Sets a timeout for remote cache uploads. Value is given in seconds and
|
|
341
|
+
* only whole values are accepted. If `0` is passed, then there is no timeout
|
|
342
|
+
* for any remote cache uploads.
|
|
343
|
+
*
|
|
344
|
+
* @defaultValue `60`
|
|
345
|
+
*/
|
|
346
|
+
uploadTimeout?: number;
|
|
339
347
|
}
|
|
340
348
|
|
|
341
349
|
export const isRootSchemaV2 = (schema: Schema): schema is RootSchema =>
|