turbo 2.4.5-canary.2 → 2.4.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 +7 -7
- package/schema.json +82 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "turbo",
|
|
3
|
-
"version": "2.4.5-canary.
|
|
3
|
+
"version": "2.4.5-canary.4",
|
|
4
4
|
"description": "Turborepo is a high-performance build system for JavaScript and TypeScript codebases.",
|
|
5
5
|
"repository": "https://github.com/vercel/turborepo",
|
|
6
6
|
"bugs": "https://github.com/vercel/turborepo/issues",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"schema.json"
|
|
16
16
|
],
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"turbo-darwin-64": "2.4.5-canary.
|
|
19
|
-
"turbo-darwin-arm64": "2.4.5-canary.
|
|
20
|
-
"turbo-linux-64": "2.4.5-canary.
|
|
21
|
-
"turbo-linux-arm64": "2.4.5-canary.
|
|
22
|
-
"turbo-windows-64": "2.4.5-canary.
|
|
23
|
-
"turbo-windows-arm64": "2.4.5-canary.
|
|
18
|
+
"turbo-darwin-64": "2.4.5-canary.4",
|
|
19
|
+
"turbo-darwin-arm64": "2.4.5-canary.4",
|
|
20
|
+
"turbo-linux-64": "2.4.5-canary.4",
|
|
21
|
+
"turbo-linux-arm64": "2.4.5-canary.4",
|
|
22
|
+
"turbo-windows-64": "2.4.5-canary.4",
|
|
23
|
+
"turbo-windows-arm64": "2.4.5-canary.4"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"postversion": "node bump-version.js"
|
package/schema.json
CHANGED
|
@@ -88,6 +88,10 @@
|
|
|
88
88
|
"$ref": "#/definitions/EnvMode",
|
|
89
89
|
"description": "Turborepo's Environment Modes allow you to control which environment variables are available to a task at runtime:\n\n- `\"strict\"`: Filter environment variables to only those that are specified in the `env` and `globalEnv` keys in `turbo.json`.\n- `\"loose\"`: Allow all environment variables for the process to be available.\n\nDocumentation: https://turbo.build/repo/docs/reference/configuration#envmode",
|
|
90
90
|
"default": "strict"
|
|
91
|
+
},
|
|
92
|
+
"boundaries": {
|
|
93
|
+
"$ref": "#/definitions/RootBoundariesConfig",
|
|
94
|
+
"description": "Configuration for `turbo boundaries`. Allows users to restrict a package's dependencies and dependents"
|
|
91
95
|
}
|
|
92
96
|
},
|
|
93
97
|
"additionalProperties": false,
|
|
@@ -253,6 +257,60 @@
|
|
|
253
257
|
"loose"
|
|
254
258
|
]
|
|
255
259
|
},
|
|
260
|
+
"RootBoundariesConfig": {
|
|
261
|
+
"type": "object",
|
|
262
|
+
"properties": {
|
|
263
|
+
"implicitDependencies": {
|
|
264
|
+
"type": "array",
|
|
265
|
+
"items": {
|
|
266
|
+
"type": "string"
|
|
267
|
+
},
|
|
268
|
+
"description": "Declares any implicit dependencies, i.e. any dependency not declared in a package.json. These can include dependencies automatically injected by a framework or a testing library."
|
|
269
|
+
},
|
|
270
|
+
"tags": {
|
|
271
|
+
"$ref": "#/definitions/BoundariesRulesMap",
|
|
272
|
+
"description": "The boundaries rules for tags. Restricts which packages can import a tag and which packages a tag can import"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"additionalProperties": false
|
|
276
|
+
},
|
|
277
|
+
"BoundariesRulesMap": {
|
|
278
|
+
"type": "object",
|
|
279
|
+
"additionalProperties": {
|
|
280
|
+
"type": "object",
|
|
281
|
+
"properties": {
|
|
282
|
+
"dependencies": {
|
|
283
|
+
"$ref": "#/definitions/Permissions",
|
|
284
|
+
"description": "Rules for a tag's dependencies. Restricts which packages a tag can import"
|
|
285
|
+
},
|
|
286
|
+
"dependents": {
|
|
287
|
+
"$ref": "#/definitions/Permissions",
|
|
288
|
+
"description": "Rules for a tag's dependents. Restricts which packages can import this tag."
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"additionalProperties": false
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"Permissions": {
|
|
295
|
+
"type": "object",
|
|
296
|
+
"properties": {
|
|
297
|
+
"allow": {
|
|
298
|
+
"type": "array",
|
|
299
|
+
"items": {
|
|
300
|
+
"type": "string"
|
|
301
|
+
},
|
|
302
|
+
"description": "Lists which tags are allowed. Any tag not included will be banned If omitted, all tags are permitted"
|
|
303
|
+
},
|
|
304
|
+
"deny": {
|
|
305
|
+
"type": "array",
|
|
306
|
+
"items": {
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
"description": "Lists which tags are banned."
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"additionalProperties": false
|
|
313
|
+
},
|
|
256
314
|
"WorkspaceSchema": {
|
|
257
315
|
"type": "object",
|
|
258
316
|
"properties": {
|
|
@@ -278,6 +336,17 @@
|
|
|
278
336
|
"default": [
|
|
279
337
|
"//"
|
|
280
338
|
]
|
|
339
|
+
},
|
|
340
|
+
"tags": {
|
|
341
|
+
"type": "array",
|
|
342
|
+
"items": {
|
|
343
|
+
"type": "string"
|
|
344
|
+
},
|
|
345
|
+
"description": "Used to tag a package for boundaries rules. Boundaries rules can restrict which packages a tag group can import or be imported by."
|
|
346
|
+
},
|
|
347
|
+
"boundaries": {
|
|
348
|
+
"$ref": "#/definitions/BoundariesConfig",
|
|
349
|
+
"description": "Configuration for `turbo boundaries` that is specific to this package"
|
|
281
350
|
}
|
|
282
351
|
},
|
|
283
352
|
"required": [
|
|
@@ -286,6 +355,19 @@
|
|
|
286
355
|
],
|
|
287
356
|
"additionalProperties": false,
|
|
288
357
|
"description": "A `turbo.json` file in a package in the monorepo (not the root)"
|
|
358
|
+
},
|
|
359
|
+
"BoundariesConfig": {
|
|
360
|
+
"type": "object",
|
|
361
|
+
"properties": {
|
|
362
|
+
"implicitDependencies": {
|
|
363
|
+
"type": "array",
|
|
364
|
+
"items": {
|
|
365
|
+
"type": "string"
|
|
366
|
+
},
|
|
367
|
+
"description": "Declares any implicit dependencies, i.e. any dependency not declared in a package.json. These can include dependencies automatically injected by a framework or a testing library."
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"additionalProperties": false
|
|
289
371
|
}
|
|
290
372
|
}
|
|
291
373
|
}
|