@turbo/types 2.7.5-canary.3 → 2.7.5-canary.4
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 +11 -0
- package/schemas/schema.v2.json +4 -0
- package/src/types/config-v2.ts +8 -0
package/package.json
CHANGED
package/schemas/schema.json
CHANGED
|
@@ -345,6 +345,17 @@
|
|
|
345
345
|
}
|
|
346
346
|
]
|
|
347
347
|
},
|
|
348
|
+
"description": {
|
|
349
|
+
"description": "A human-readable description of what this task does.\n\nThis field is for documentation purposes only and does not affect task execution or caching behavior.",
|
|
350
|
+
"anyOf": [
|
|
351
|
+
{
|
|
352
|
+
"$ref": "#/definitions/String"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"type": "null"
|
|
356
|
+
}
|
|
357
|
+
]
|
|
358
|
+
},
|
|
348
359
|
"env": {
|
|
349
360
|
"description": "A list of environment variables that this task depends on.\n\nNote: If you are migrating from a turbo version 1.5 or below, you may be used to prefixing your variables with a `$`. You no longer need to use the `$` prefix.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#env",
|
|
350
361
|
"type": ["array", "null"],
|
package/schemas/schema.v2.json
CHANGED
|
@@ -116,6 +116,10 @@
|
|
|
116
116
|
"Pipeline": {
|
|
117
117
|
"type": "object",
|
|
118
118
|
"properties": {
|
|
119
|
+
"description": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"description": "A human-readable description of what this task does.\n\nThis field is for documentation purposes only and does not affect task execution or caching behavior."
|
|
122
|
+
},
|
|
119
123
|
"dependsOn": {
|
|
120
124
|
"type": "array",
|
|
121
125
|
"items": {
|
package/src/types/config-v2.ts
CHANGED
|
@@ -199,6 +199,14 @@ export interface RootSchema extends BaseSchema {
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
export interface Pipeline {
|
|
202
|
+
/**
|
|
203
|
+
* A human-readable description of what this task does.
|
|
204
|
+
*
|
|
205
|
+
* This field is for documentation purposes only and does not affect
|
|
206
|
+
* task execution or caching behavior.
|
|
207
|
+
*/
|
|
208
|
+
description?: string;
|
|
209
|
+
|
|
202
210
|
/**
|
|
203
211
|
* The list of tasks that this task depends on.
|
|
204
212
|
*
|