@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turbo/types",
3
- "version": "2.7.5-canary.11",
3
+ "version": "2.7.5-canary.13",
4
4
  "description": "Turborepo types",
5
5
  "type": "commonjs",
6
6
  "homepage": "https://turborepo.dev",
@@ -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",
@@ -104,8 +104,7 @@
104
104
  "default": false
105
105
  },
106
106
  "futureFlags": {
107
- "type": "object",
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", "none"]
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": ["strict", "loose"]
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
@@ -10,6 +10,8 @@ export {
10
10
  type BaseSchema as BaseSchemaV2,
11
11
  type EnvWildcard,
12
12
  type EnvWildcard as EnvWildcardV2,
13
+ type FutureFlags,
14
+ type FutureFlags as FutureFlagsV2,
13
15
  type OutputLogs as OutputLogsV2,
14
16
  type Pipeline,
15
17
  type Pipeline as PipelineV2,
@@ -195,7 +195,18 @@ export interface RootSchema extends BaseSchema {
195
195
  *
196
196
  * @defaultValue `{}`
197
197
  */
198
- futureFlags?: Record<string, unknown>;
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 {