turbo 2.5.1-canary.2 → 2.5.2-canary.0

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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/package.json +8 -8
  3. package/schema.json +31 -26
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <a href="https://turbo.build/repo">
2
+ <a href="https://turborepo.com">
3
3
  <picture>
4
4
  <source media="(prefers-color-scheme: dark)" srcset="https://user-images.githubusercontent.com/4060187/196936123-f6e1db90-784d-4174-b774-92502b718836.png">
5
5
  <img src="https://user-images.githubusercontent.com/4060187/196936104-5797972c-ab10-4834-bd61-0d1e5f442c9c.png" height="128">
@@ -25,7 +25,7 @@
25
25
 
26
26
  ## Getting Started
27
27
 
28
- Visit https://turbo.build/docs to get started with Turborepo and read the documentation.
28
+ Visit https://turborepo.com/docs to get started with Turborepo and read the documentation.
29
29
 
30
30
  ## Community
31
31
 
@@ -37,7 +37,7 @@ Our [Code of Conduct](https://github.com/vercel/turborepo/blob/main/CODE_OF_COND
37
37
 
38
38
  ## Who is using Turbo?
39
39
 
40
- Turbo is used by the world's leading companies. Check out the [Turbo Showcase](https://turbo.build/showcase) to learn more.
40
+ Turbo is used by the world's leading companies. Check out the [Turbo Showcase](https://turborepo.com/showcase) to learn more.
41
41
 
42
42
  ## Updates
43
43
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "turbo",
3
- "version": "2.5.1-canary.2",
3
+ "version": "2.5.2-canary.0",
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",
7
- "homepage": "https://turbo.build/repo",
7
+ "homepage": "https://turborepo.com",
8
8
  "license": "MIT",
9
9
  "main": "./bin/turbo",
10
10
  "bin": {
@@ -15,12 +15,12 @@
15
15
  "schema.json"
16
16
  ],
17
17
  "optionalDependencies": {
18
- "turbo-darwin-64": "2.5.1-canary.2",
19
- "turbo-darwin-arm64": "2.5.1-canary.2",
20
- "turbo-linux-64": "2.5.1-canary.2",
21
- "turbo-linux-arm64": "2.5.1-canary.2",
22
- "turbo-windows-64": "2.5.1-canary.2",
23
- "turbo-windows-arm64": "2.5.1-canary.2"
18
+ "turbo-darwin-64": "2.5.2-canary.0",
19
+ "turbo-darwin-arm64": "2.5.2-canary.0",
20
+ "turbo-linux-64": "2.5.2-canary.0",
21
+ "turbo-linux-arm64": "2.5.2-canary.0",
22
+ "turbo-windows-64": "2.5.2-canary.0",
23
+ "turbo-windows-arm64": "2.5.2-canary.0"
24
24
  },
25
25
  "scripts": {
26
26
  "postversion": "node bump-version.js"
package/schema.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "properties": {
18
18
  "$schema": {
19
19
  "type": "string",
20
- "default": "https://turbo.build/schema.v2.json"
20
+ "default": "https://turborepo.com/schema.v2.json"
21
21
  },
22
22
  "tasks": {
23
23
  "type": "object",
@@ -25,7 +25,7 @@
25
25
  "$ref": "#/definitions/Pipeline",
26
26
  "description": "The name of a task that can be executed by turbo. If turbo finds a workspace package with a package.json scripts object with a matching key, it will apply the pipeline task configuration to that npm script during execution."
27
27
  },
28
- "description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turbo.build/docs/reference/configuration#tasks",
28
+ "description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#tasks",
29
29
  "default": {}
30
30
  },
31
31
  "globalDependencies": {
@@ -33,7 +33,7 @@
33
33
  "items": {
34
34
  "type": "string"
35
35
  },
36
- "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:\n\n- .env files (not in Git)\n\n- 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://turbo.build/docs/reference/configuration#globaldependencies",
36
+ "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:\n\n- .env files (not in Git)\n\n- 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",
37
37
  "default": []
38
38
  },
39
39
  "globalEnv": {
@@ -41,7 +41,7 @@
41
41
  "items": {
42
42
  "$ref": "#/definitions/EnvWildcard"
43
43
  },
44
- "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://turbo.build/docs/reference/configuration#globalenv",
44
+ "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",
45
45
  "default": []
46
46
  },
47
47
  "globalPassThroughEnv": {
@@ -56,19 +56,24 @@
56
56
  }
57
57
  }
58
58
  ],
59
- "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://turbo.build/docs/reference/configuration#globalpassthroughenv",
59
+ "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",
60
60
  "default": null
61
61
  },
62
62
  "remoteCache": {
63
63
  "$ref": "#/definitions/RemoteCache",
64
- "description": "Configuration options that control how turbo interfaces with the remote cache.\n\nDocumentation: https://turbo.build/docs/core-concepts/remote-caching",
64
+ "description": "Configuration options that control how turbo interfaces with the remote cache.\n\nDocumentation: https://turborepo.com/docs/core-concepts/remote-caching",
65
65
  "default": {}
66
66
  },
67
67
  "ui": {
68
68
  "$ref": "#/definitions/UI",
69
- "description": "Enable use of the UI for `turbo`.\n\nDocumentation: https://turbo.build/docs/reference/configuration#ui",
69
+ "description": "Enable use of the UI for `turbo`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#ui",
70
70
  "default": "stream"
71
71
  },
72
+ "concurrency": {
73
+ "type": "string",
74
+ "description": "Set/limit the maximum concurrency for task execution. Must be an integer greater than or equal to `1` or a percentage value like `50%`.\n\n - Use `1` to force serial execution (one task at a time). - Use `100%` to use all available logical processors.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#concurrency",
75
+ "default": "10"
76
+ },
72
77
  "dangerouslyDisablePackageManagerCheck": {
73
78
  "type": "boolean",
74
79
  "description": "Disable check for `packageManager` in root `package.json`\n\nThis is highly discouraged as it leaves `turbo` dependent on system configuration to infer the correct package manager.\n\nSome turbo features are disabled if this is set to true.",
@@ -76,17 +81,17 @@
76
81
  },
77
82
  "cacheDir": {
78
83
  "$ref": "#/definitions/RelativeUnixPath",
79
- "description": "Specify the filesystem cache directory.\n\nDocumentation: https://turbo.build/docs/reference/configuration#cachedir",
84
+ "description": "Specify the filesystem cache directory.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#cachedir",
80
85
  "default": ".turbo/cache"
81
86
  },
82
87
  "daemon": {
83
88
  "type": "boolean",
84
- "description": "Turborepo runs a background process to pre-calculate some expensive operations. This standalone process (daemon) is a performance optimization, and not required for proper functioning of `turbo`.\n\nDocumentation: https://turbo.build/docs/reference/configuration#daemon",
89
+ "description": "Turborepo runs a background process to pre-calculate some expensive operations. This standalone process (daemon) is a performance optimization, and not required for proper functioning of `turbo`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#daemon",
85
90
  "default": false
86
91
  },
87
92
  "envMode": {
88
93
  "$ref": "#/definitions/EnvMode",
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/docs/reference/configuration#envmode",
94
+ "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://turborepo.com/docs/reference/configuration#envmode",
90
95
  "default": "strict"
91
96
  },
92
97
  "boundaries": {
@@ -107,7 +112,7 @@
107
112
  "items": {
108
113
  "type": "string"
109
114
  },
110
- "description": "The list of tasks that this task depends on.\n\nPrefixing an item in dependsOn with a ^ prefix tells turbo that this task depends on the package's topological dependencies completing the task first. (e.g. \"A package's build tasks should only run once all of its workspace dependencies have completed their own build commands.\")\n\nItems in dependsOn without a ^ prefix express the relationships between tasks within the same package (e.g. \"A package's test and lint commands depend on its own build being completed first.\")\n\nDocumentation: https://turbo.build/docs/reference/configuration#dependson",
115
+ "description": "The list of tasks that this task depends on.\n\nPrefixing an item in dependsOn with a ^ prefix tells turbo that this task depends on the package's topological dependencies completing the task first. (e.g. \"A package's build tasks should only run once all of its workspace dependencies have completed their own build commands.\")\n\nItems in dependsOn without a ^ prefix express the relationships between tasks within the same package (e.g. \"A package's test and lint commands depend on its own build being completed first.\")\n\nDocumentation: https://turborepo.com/docs/reference/configuration#dependson",
111
116
  "default": []
112
117
  },
113
118
  "env": {
@@ -115,7 +120,7 @@
115
120
  "items": {
116
121
  "$ref": "#/definitions/EnvWildcard"
117
122
  },
118
- "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. (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)\n\nDocumentation: https://turbo.build/docs/reference/configuration#env",
123
+ "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. (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)\n\nDocumentation: https://turborepo.com/docs/reference/configuration#env",
119
124
  "default": []
120
125
  },
121
126
  "passThroughEnv": {
@@ -130,7 +135,7 @@
130
135
  }
131
136
  }
132
137
  ],
133
- "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://turbo.build/docs/reference/configuration#passthroughenv",
138
+ "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",
134
139
  "default": null
135
140
  },
136
141
  "outputs": {
@@ -138,12 +143,12 @@
138
143
  "items": {
139
144
  "type": "string"
140
145
  },
141
- "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://turbo.build/docs/reference/configuration#outputs",
146
+ "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",
142
147
  "default": []
143
148
  },
144
149
  "cache": {
145
150
  "type": "boolean",
146
- "description": "Whether or not to cache the outputs of the task.\n\nSetting cache to false is useful for long-running \"watch\" or development mode tasks.\n\nDocumentation: https://turbo.build/docs/reference/configuration#cache",
151
+ "description": "Whether or not to cache the outputs of the task.\n\nSetting cache to false is useful for long-running \"watch\" or development mode tasks.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#cache",
147
152
  "default": true
148
153
  },
149
154
  "inputs": {
@@ -151,27 +156,27 @@
151
156
  "items": {
152
157
  "type": "string"
153
158
  },
154
- "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.\n\nIf a file has been changed that is **not** included in the set of globs, it will not cause a cache miss.\n\nIf omitted or empty, all files in the package are considered as inputs.\n\nDocumentation: https://turbo.build/docs/reference/configuration#inputs",
159
+ "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.\n\nIf a file has been changed that is **not** included in the set of globs, it will not cause a cache miss.\n\nIf omitted or empty, all files in the package are considered as inputs.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#inputs",
155
160
  "default": []
156
161
  },
157
162
  "outputLogs": {
158
163
  "$ref": "#/definitions/OutputLogs",
159
- "description": "Output mode for the task.\n\n\"full\": Displays all output\n\n\"hash-only\": Show only the hashes of the tasks\n\n\"new-only\": Only show output from cache misses\n\n\"errors-only\": Only show output from task failures\n\n\"none\": Hides all task output\n\nDocumentation: https://turbo.build/docs/reference/run#--output-logs-option",
164
+ "description": "Output mode for the task.\n\n\"full\": Displays all output\n\n\"hash-only\": Show only the hashes of the tasks\n\n\"new-only\": Only show output from cache misses\n\n\"errors-only\": Only show output from task failures\n\n\"none\": Hides all task output\n\nDocumentation: https://turborepo.com/docs/reference/run#--output-logs-option",
160
165
  "default": "full"
161
166
  },
162
167
  "persistent": {
163
168
  "type": "boolean",
164
- "description": "Indicates whether the task exits or not. Setting `persistent` to `true` tells turbo that this is a long-running task and will ensure that other tasks cannot depend on it.\n\nDocumentation: https://turbo.build/docs/reference/configuration#persistent",
169
+ "description": "Indicates whether the task exits or not. Setting `persistent` to `true` tells turbo that this is a long-running task and will ensure that other tasks cannot depend on it.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#persistent",
165
170
  "default": false
166
171
  },
167
172
  "interactive": {
168
173
  "type": "boolean",
169
- "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/docs/reference/configuration#interactive",
174
+ "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://turborepo.com/docs/reference/configuration#interactive",
170
175
  "default": false
171
176
  },
172
177
  "interruptible": {
173
178
  "type": "boolean",
174
- "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/docs/reference/configuration#interruptible",
179
+ "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://turborepo.com/docs/reference/configuration#interruptible",
175
180
  "default": false
176
181
  },
177
182
  "with": {
@@ -179,7 +184,7 @@
179
184
  "items": {
180
185
  "type": "string"
181
186
  },
182
- "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://turbo.build/docs/reference/configuration#with",
187
+ "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",
183
188
  "default": []
184
189
  }
185
190
  },
@@ -208,7 +213,7 @@
208
213
  },
209
214
  "enabled": {
210
215
  "type": "boolean",
211
- "description": "Indicates if the remote cache is enabled. When `false`, Turborepo will disable all remote cache operations, even if the repo has a valid token. If true, remote caching is enabled, but still requires the user to login and link their repo to a remote cache. Documentation: https://turbo.build/docs/core-concepts/remote-caching",
216
+ "description": "Indicates if the remote cache is enabled. When `false`, Turborepo will disable all remote cache operations, even if the repo has a valid token. If true, remote caching is enabled, but still requires the user to login and link their repo to a remote cache. Documentation: https://turborepo.com/docs/core-concepts/remote-caching",
212
217
  "default": true
213
218
  },
214
219
  "preflight": {
@@ -218,12 +223,12 @@
218
223
  },
219
224
  "apiUrl": {
220
225
  "type": "string",
221
- "description": "Set endpoint for API calls to the remote cache. Documentation: https://turbo.build/docs/core-concepts/remote-caching#self-hosting",
226
+ "description": "Set endpoint for API calls to the remote cache. Documentation: https://turborepo.com/docs/core-concepts/remote-caching#self-hosting",
222
227
  "default": "https://vercel.com/api"
223
228
  },
224
229
  "loginUrl": {
225
230
  "type": "string",
226
- "description": "Set endpoint for requesting tokens during `turbo login`. Documentation: https://turbo.build/docs/core-concepts/remote-caching#self-hosting",
231
+ "description": "Set endpoint for requesting tokens during `turbo login`. Documentation: https://turborepo.com/docs/core-concepts/remote-caching#self-hosting",
227
232
  "default": "https://vercel.com"
228
233
  },
229
234
  "timeout": {
@@ -324,7 +329,7 @@
324
329
  "properties": {
325
330
  "$schema": {
326
331
  "type": "string",
327
- "default": "https://turbo.build/schema.v2.json"
332
+ "default": "https://turborepo.com/schema.v2.json"
328
333
  },
329
334
  "tasks": {
330
335
  "type": "object",
@@ -332,7 +337,7 @@
332
337
  "$ref": "#/definitions/Pipeline",
333
338
  "description": "The name of a task that can be executed by turbo. If turbo finds a workspace package with a package.json scripts object with a matching key, it will apply the pipeline task configuration to that npm script during execution."
334
339
  },
335
- "description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turbo.build/docs/reference/configuration#tasks",
340
+ "description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#tasks",
336
341
  "default": {}
337
342
  },
338
343
  "extends": {