You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/turbo-types/schemas/schema.json
+19-64Lines changed: 19 additions & 64 deletions
Original file line number
Diff line number
Diff line change
@@ -105,30 +105,21 @@
105
105
},
106
106
"globalDependencies": {
107
107
"description": "A list of globs to include in the set of implicit global hash dependencies.\n\nThe contents of these files will be included in the global hashing algorithm and affect the hashes of all tasks.\n\nThis is useful for busting the cache based on: - `.env` files (not in Git) - Any root level file that impacts package tasks that are not represented in the traditional dependency graph (e.g. a root `tsconfig.json`, `jest.config.ts`, `.eslintrc`, etc.)\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globaldependencies",
108
-
"type": [
109
-
"array",
110
-
"null"
111
-
],
108
+
"type": ["array", "null"],
112
109
"items": {
113
110
"$ref": "#/definitions/String"
114
111
}
115
112
},
116
113
"globalEnv": {
117
114
"description": "A list of environment variables for implicit global hash dependencies.\n\nThe variables included in this list will affect all task hashes.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globalenv",
118
-
"type": [
119
-
"array",
120
-
"null"
121
-
],
115
+
"type": ["array", "null"],
122
116
"items": {
123
117
"$ref": "#/definitions/String"
124
118
}
125
119
},
126
120
"globalPassThroughEnv": {
127
121
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globalpassthroughenv",
128
-
"type": [
129
-
"array",
130
-
"null"
131
-
],
122
+
"type": ["array", "null"],
132
123
"items": {
133
124
"$ref": "#/definitions/String"
134
125
}
@@ -168,10 +159,7 @@
168
159
},
169
160
"tasks": {
170
161
"description": "An object representing the task dependency graph of your project.\n\nturbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#tasks",
171
-
"type": [
172
-
"object",
173
-
"null"
174
-
],
162
+
"type": ["object", "null"],
175
163
"additionalProperties": {
176
164
"$ref": "#/definitions/Pipeline"
177
165
}
@@ -254,16 +242,12 @@
254
242
{
255
243
"description": "Allow all environment variables for the process to be available.",
256
244
"type": "string",
257
-
"enum": [
258
-
"loose"
259
-
]
245
+
"enum": ["loose"]
260
246
},
261
247
{
262
248
"description": "Filter environment variables to only those that are specified in the `env` and `globalEnv` keys in `turbo.json`.",
263
249
"type": "string",
264
-
"enum": [
265
-
"strict"
266
-
]
250
+
"enum": ["strict"]
267
251
}
268
252
]
269
253
},
@@ -283,37 +267,27 @@
283
267
{
284
268
"description": "Displays all output.",
285
269
"type": "string",
286
-
"enum": [
287
-
"full"
288
-
]
270
+
"enum": ["full"]
289
271
},
290
272
{
291
273
"description": "Hides all task output.",
292
274
"type": "string",
293
-
"enum": [
294
-
"none"
295
-
]
275
+
"enum": ["none"]
296
276
},
297
277
{
298
278
"description": "Show only the hashes of the tasks.",
299
279
"type": "string",
300
-
"enum": [
301
-
"hash-only"
302
-
]
280
+
"enum": ["hash-only"]
303
281
},
304
282
{
305
283
"description": "Only show output from cache misses.",
306
284
"type": "string",
307
-
"enum": [
308
-
"new-only"
309
-
]
285
+
"enum": ["new-only"]
310
286
},
311
287
{
312
288
"description": "Only show output from task failures.",
313
289
"type": "string",
314
-
"enum": [
315
-
"errors-only"
316
-
]
290
+
"enum": ["errors-only"]
317
291
}
318
292
]
319
293
},
@@ -373,20 +347,14 @@
373
347
},
374
348
"env": {
375
349
"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",
376
-
"type": [
377
-
"array",
378
-
"null"
379
-
],
350
+
"type": ["array", "null"],
380
351
"items": {
381
352
"$ref": "#/definitions/String"
382
353
}
383
354
},
384
355
"inputs": {
385
356
"description": "The set of glob patterns to consider as inputs to this task.\n\nChanges to files covered by these globs will cause a cache miss and the task will be rerun. If a file has been changed that is **not** included in the set of globs, it will not cause a cache miss. If omitted or empty, all files in the package are considered as inputs.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#inputs",
386
-
"type": [
387
-
"array",
388
-
"null"
389
-
],
357
+
"type": ["array", "null"],
390
358
"items": {
391
359
"$ref": "#/definitions/String"
392
360
}
@@ -426,20 +394,14 @@
426
394
},
427
395
"outputs": {
428
396
"description": "The set of glob patterns indicating a task's cacheable filesystem outputs.\n\nTurborepo captures task logs for all tasks. This enables us to cache tasks whose runs produce no artifacts other than logs (such as linters). Logs are always treated as a cacheable artifact and never need to be specified.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#outputs",
429
-
"type": [
430
-
"array",
431
-
"null"
432
-
],
397
+
"type": ["array", "null"],
433
398
"items": {
434
399
"$ref": "#/definitions/String"
435
400
}
436
401
},
437
402
"passThroughEnv": {
438
403
"description": "An allowlist of environment variables that should be made available in this task's environment, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#passthroughenv",
439
-
"type": [
440
-
"array",
441
-
"null"
442
-
],
404
+
"type": ["array", "null"],
443
405
"items": {
444
406
"$ref": "#/definitions/String"
445
407
}
@@ -457,10 +419,7 @@
457
419
},
458
420
"with": {
459
421
"description": "A list of tasks that will run alongside this task.\n\nTasks in this list will not be run until completion before this task starts execution.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#with",
460
-
"type": [
461
-
"array",
462
-
"null"
463
-
],
422
+
"type": ["array", "null"],
464
423
"items": {
465
424
"$ref": "#/definitions/String"
466
425
}
@@ -609,16 +568,12 @@
609
568
{
610
569
"description": "Use the terminal user interface.",
0 commit comments