@turbo/types 2.3.4-canary.6 → 2.3.4-canary.8

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.3.4-canary.6",
3
+ "version": "2.3.4-canary.8",
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/eslint-config": "0.0.0",
22
- "@turbo/tsconfig": "0.0.0"
21
+ "@turbo/tsconfig": "0.0.0",
22
+ "@turbo/eslint-config": "0.0.0"
23
23
  },
24
24
  "files": [
25
25
  "src",
@@ -164,6 +164,11 @@
164
164
  "type": "boolean",
165
165
  "description": "Mark a task as interactive allowing it to receive input from stdin. Interactive tasks must be marked with \"cache\": false as the input they receive from stdin can change the outcome of the task.\n\nDocumentation: https://turbo.build/repo/docs/reference/configuration#interactive",
166
166
  "default": false
167
+ },
168
+ "interruptible": {
169
+ "type": "boolean",
170
+ "description": "Label a persistent task as interruptible to allow it to be restarted by `turbo watch`. `turbo watch` watches for changes to your packages and automatically restarts tasks that are affected. However, if a task is persistent, it will not be restarted by default. To enable restarting persistent tasks, set `interruptible` to true.\n\nDocumentation: https://turbo.build/repo/docs/reference/configuration#interruptible",
171
+ "default": false
167
172
  }
168
173
  },
169
174
  "additionalProperties": false
@@ -164,6 +164,11 @@
164
164
  "type": "boolean",
165
165
  "description": "Mark a task as interactive allowing it to receive input from stdin. Interactive tasks must be marked with \"cache\": false as the input they receive from stdin can change the outcome of the task.\n\nDocumentation: https://turbo.build/repo/docs/reference/configuration#interactive",
166
166
  "default": false
167
+ },
168
+ "interruptible": {
169
+ "type": "boolean",
170
+ "description": "Label a persistent task as interruptible to allow it to be restarted by `turbo watch`. `turbo watch` watches for changes to your packages and automatically restarts tasks that are affected. However, if a task is persistent, it will not be restarted by default. To enable restarting persistent tasks, set `interruptible` to true.\n\nDocumentation: https://turbo.build/repo/docs/reference/configuration#interruptible",
171
+ "default": false
167
172
  }
168
173
  },
169
174
  "additionalProperties": false
@@ -282,6 +282,19 @@ export interface Pipeline {
282
282
  * @defaultValue `false`
283
283
  */
284
284
  interactive?: boolean;
285
+
286
+ /**
287
+ * Label a persistent task as interruptible to allow it to be restarted by `turbo watch`.
288
+ * `turbo watch` watches for changes to your packages and automatically
289
+ * restarts tasks that are affected. However, if a task is persistent, it will
290
+ * not be restarted by default. To enable restarting persistent tasks, set
291
+ * `interruptible` to true.
292
+ *
293
+ * Documentation: https://turbo.build/repo/docs/reference/configuration#interruptible
294
+ *
295
+ * @defaultValue `false`
296
+ */
297
+ interruptible?: boolean;
285
298
  }
286
299
 
287
300
  export interface RemoteCache {