@turbo/types 2.7.5-canary.11 → 2.7.5-canary.13
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 +1 -1
- package/schemas/schema.json +8 -1
- package/schemas/schema.v2.json +14 -4
- package/src/index.ts +2 -0
- package/src/types/config-v2.ts +12 -1
package/package.json
CHANGED
package/schemas/schema.json
CHANGED
|
@@ -253,7 +253,14 @@
|
|
|
253
253
|
},
|
|
254
254
|
"FutureFlags": {
|
|
255
255
|
"description": "Opt into breaking changes prior to major releases, experimental features, and beta features.\n\nNote: Currently all previous future flags (turboExtendsKeyword, nonRootExtends) have been graduated and are now enabled by default.",
|
|
256
|
-
"type": "object"
|
|
256
|
+
"type": "object",
|
|
257
|
+
"properties": {
|
|
258
|
+
"errorsOnlyShowHash": {
|
|
259
|
+
"description": "When using `outputLogs: \"errors-only\"`, show task hashes when tasks complete successfully. This provides visibility into which tasks are running without showing full output logs.",
|
|
260
|
+
"default": false,
|
|
261
|
+
"type": "boolean"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
257
264
|
},
|
|
258
265
|
"Map_of_TagRules": {
|
|
259
266
|
"type": "object",
|
package/schemas/schema.v2.json
CHANGED
|
@@ -104,8 +104,7 @@
|
|
|
104
104
|
"default": false
|
|
105
105
|
},
|
|
106
106
|
"futureFlags": {
|
|
107
|
-
"
|
|
108
|
-
"additionalProperties": {},
|
|
107
|
+
"$ref": "#/definitions/FutureFlags",
|
|
109
108
|
"description": "Opt into breaking changes prior to major releases, experimental features, and beta features.",
|
|
110
109
|
"default": {}
|
|
111
110
|
}
|
|
@@ -208,7 +207,7 @@
|
|
|
208
207
|
},
|
|
209
208
|
"OutputLogs": {
|
|
210
209
|
"type": "string",
|
|
211
|
-
"enum": ["full", "hash-only", "new-only", "errors-only"
|
|
210
|
+
"enum": ["full", "none", "hash-only", "new-only", "errors-only"]
|
|
212
211
|
},
|
|
213
212
|
"RemoteCache": {
|
|
214
213
|
"type": "object",
|
|
@@ -269,7 +268,7 @@
|
|
|
269
268
|
},
|
|
270
269
|
"EnvMode": {
|
|
271
270
|
"type": "string",
|
|
272
|
-
"enum": ["
|
|
271
|
+
"enum": ["loose", "strict"]
|
|
273
272
|
},
|
|
274
273
|
"RootBoundariesConfig": {
|
|
275
274
|
"type": "object",
|
|
@@ -325,6 +324,17 @@
|
|
|
325
324
|
},
|
|
326
325
|
"additionalProperties": false
|
|
327
326
|
},
|
|
327
|
+
"FutureFlags": {
|
|
328
|
+
"type": "object",
|
|
329
|
+
"properties": {
|
|
330
|
+
"errorsOnlyShowHash": {
|
|
331
|
+
"type": "boolean",
|
|
332
|
+
"description": "When using `outputLogs: \"errors-only\"`, show task hashes when tasks complete successfully. This provides visibility into which tasks are running without showing full output logs.",
|
|
333
|
+
"default": false
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"additionalProperties": false
|
|
337
|
+
},
|
|
328
338
|
"WorkspaceSchema": {
|
|
329
339
|
"type": "object",
|
|
330
340
|
"properties": {
|
package/src/index.ts
CHANGED
package/src/types/config-v2.ts
CHANGED
|
@@ -195,7 +195,18 @@ export interface RootSchema extends BaseSchema {
|
|
|
195
195
|
*
|
|
196
196
|
* @defaultValue `{}`
|
|
197
197
|
*/
|
|
198
|
-
futureFlags?:
|
|
198
|
+
futureFlags?: FutureFlags;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export interface FutureFlags {
|
|
202
|
+
/**
|
|
203
|
+
* When using `outputLogs: "errors-only"`, show task hashes when tasks
|
|
204
|
+
* complete successfully. This provides visibility into which tasks are
|
|
205
|
+
* running without showing full output logs.
|
|
206
|
+
*
|
|
207
|
+
* @defaultValue `false`
|
|
208
|
+
*/
|
|
209
|
+
errorsOnlyShowHash?: boolean;
|
|
199
210
|
}
|
|
200
211
|
|
|
201
212
|
export interface Pipeline {
|