nx 20.0.0-canary.20241002-1d10a19 → 20.0.0-canary.20241005-75c1da3
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/.eslintrc.json +12 -2
- package/bin/init-local.js +0 -39
- package/bin/nx.js +3 -13
- package/migrations.json +5 -37
- package/package.json +11 -11
- package/release/changelog-renderer/index.d.ts +60 -38
- package/release/changelog-renderer/index.js +260 -236
- package/src/adapter/compat.d.ts +1 -1
- package/src/adapter/compat.js +1 -1
- package/src/command-line/add/add.js +2 -2
- package/src/command-line/affected/affected.js +0 -2
- package/src/command-line/nx-commands.js +31 -10
- package/src/command-line/release/changelog.d.ts +2 -2
- package/src/command-line/release/changelog.js +28 -29
- package/src/command-line/release/index.d.ts +5 -2
- package/src/command-line/release/publish.d.ts +6 -1
- package/src/command-line/release/publish.js +31 -25
- package/src/command-line/release/utils/git.js +2 -2
- package/src/command-line/release/utils/print-changes.js +6 -4
- package/src/command-line/release/utils/resolve-changelog-renderer.d.ts +2 -2
- package/src/command-line/release/utils/resolve-changelog-renderer.js +3 -3
- package/src/command-line/release/utils/resolve-nx-json-error-message.js +4 -3
- package/src/command-line/release/version.d.ts +3 -3
- package/src/command-line/run/run-one.js +0 -2
- package/src/command-line/run/run.js +0 -1
- package/src/command-line/run-many/run-many.js +1 -4
- package/src/command-line/yargs-utils/shared-options.js +2 -2
- package/src/config/misc-interfaces.d.ts +3 -15
- package/src/config/nx-json.d.ts +4 -3
- package/src/config/project-graph.d.ts +0 -2
- package/src/core/graph/main.js +1 -1
- package/src/daemon/client/client.js +1 -3
- package/src/devkit-exports.d.ts +3 -4
- package/src/devkit-exports.js +3 -6
- package/src/executors/utils/convert-nx-executor.js +0 -1
- package/src/generators/utils/nx-json.d.ts +1 -1
- package/src/migrations/update-20-0-0/move-use-daemon-process.d.ts +2 -0
- package/src/migrations/update-20-0-0/move-use-daemon-process.js +25 -0
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +54 -6
- package/src/nx-cloud/utilities/axios.js +1 -2
- package/src/nx-cloud/utilities/onboarding.js +2 -2
- package/src/nx-cloud/utilities/url-shorten.js +5 -5
- package/src/plugins/js/project-graph/build-dependencies/target-project-locator.js +2 -12
- package/src/project-graph/build-project-graph.js +3 -41
- package/src/project-graph/error-types.d.ts +4 -10
- package/src/project-graph/error-types.js +1 -12
- package/src/project-graph/file-utils.d.ts +2 -2
- package/src/project-graph/file-utils.js +3 -3
- package/src/project-graph/nx-deps-cache.d.ts +0 -1
- package/src/project-graph/nx-deps-cache.js +0 -1
- package/src/project-graph/plugins/internal-api.d.ts +2 -5
- package/src/project-graph/plugins/internal-api.js +0 -1
- package/src/project-graph/plugins/isolation/messaging.d.ts +3 -23
- package/src/project-graph/plugins/isolation/plugin-pool.js +0 -23
- package/src/project-graph/plugins/isolation/plugin-worker.js +0 -19
- package/src/project-graph/plugins/loader.js +2 -3
- package/src/project-graph/plugins/public-api.d.ts +6 -7
- package/src/project-graph/plugins/utils.d.ts +1 -7
- package/src/project-graph/plugins/utils.js +0 -37
- package/src/project-graph/utils/project-configuration-utils.js +1 -1
- package/src/tasks-runner/batch/run-batch.js +0 -1
- package/src/tasks-runner/cache.d.ts +2 -1
- package/src/tasks-runner/cache.js +11 -6
- package/src/tasks-runner/create-task-graph.d.ts +2 -0
- package/src/tasks-runner/create-task-graph.js +39 -5
- package/src/tasks-runner/init-tasks-runner.js +0 -2
- package/src/tasks-runner/run-command.js +15 -2
- package/src/tasks-runner/task-orchestrator.js +1 -1
- package/src/utils/command-line-utils.d.ts +3 -0
- package/src/utils/command-line-utils.js +24 -33
- package/src/utils/git-utils.js +2 -2
- package/src/utils/plugins/plugin-capabilities.js +2 -3
- package/src/migrations/update-15-0-0/prefix-outputs.d.ts +0 -2
- package/src/migrations/update-15-0-0/prefix-outputs.js +0 -49
- package/src/migrations/update-16-0-0/remove-nrwl-cli.d.ts +0 -2
- package/src/migrations/update-16-0-0/remove-nrwl-cli.js +0 -16
- package/src/migrations/update-16-0-0/update-depends-on-to-tokens.d.ts +0 -2
- package/src/migrations/update-16-0-0/update-depends-on-to-tokens.js +0 -97
- package/src/migrations/update-16-0-0/update-nx-cloud-runner.d.ts +0 -2
- package/src/migrations/update-16-0-0/update-nx-cloud-runner.js +0 -29
- package/src/migrations/update-16-2-0/remove-run-commands-output-path.d.ts +0 -2
- package/src/migrations/update-16-2-0/remove-run-commands-output-path.js +0 -45
- package/src/migrations/update-16-8-0/escape-dollar-sign-env-variables.d.ts +0 -12
- package/src/migrations/update-16-8-0/escape-dollar-sign-env-variables.js +0 -67
- package/src/utils/app-root.d.ts +0 -8
- package/src/utils/app-root.js +0 -12
- package/src/utils/nx-plugin.deprecated.d.ts +0 -31
- package/src/utils/nx-plugin.deprecated.js +0 -20
- package/src/utils/workspace-configuration-check.d.ts +0 -1
- package/src/utils/workspace-configuration-check.js +0 -36
@@ -173,16 +173,12 @@ export interface ExecutorContext {
|
|
173
173
|
target?: TargetConfiguration;
|
174
174
|
/**
|
175
175
|
* Projects config
|
176
|
-
*
|
177
|
-
* @todo(vsavkin): mark this as required for v17
|
178
176
|
*/
|
179
|
-
projectsConfigurations
|
177
|
+
projectsConfigurations: ProjectsConfigurations;
|
180
178
|
/**
|
181
179
|
* The contents of nx.json.
|
182
|
-
*
|
183
|
-
* @todo(vsavkin): mark this as required for v17
|
184
180
|
*/
|
185
|
-
nxJsonConfiguration
|
181
|
+
nxJsonConfiguration: NxJsonConfiguration;
|
186
182
|
/**
|
187
183
|
* The current working directory
|
188
184
|
*/
|
@@ -194,19 +190,11 @@ export interface ExecutorContext {
|
|
194
190
|
/**
|
195
191
|
* A snapshot of the project graph as
|
196
192
|
* it existed when the Nx command was kicked off
|
197
|
-
*
|
198
|
-
* @todo(vsavkin) mark this required for v17
|
199
193
|
*/
|
200
|
-
projectGraph
|
194
|
+
projectGraph: ProjectGraph;
|
201
195
|
/**
|
202
196
|
* A snapshot of the task graph as
|
203
197
|
* it existed when the Nx command was kicked off
|
204
198
|
*/
|
205
199
|
taskGraph?: TaskGraph;
|
206
|
-
/**
|
207
|
-
* Deprecated. Use projectsConfigurations or nxJsonConfiguration
|
208
|
-
* The full workspace configuration
|
209
|
-
* @todo(vsavkin): remove after v17
|
210
|
-
*/
|
211
|
-
workspace?: ProjectsConfigurations & NxJsonConfiguration;
|
212
200
|
}
|
package/src/config/nx-json.d.ts
CHANGED
@@ -353,7 +353,8 @@ export interface NxJsonConfiguration<T = '*' | string[]> {
|
|
353
353
|
appsDir?: string;
|
354
354
|
};
|
355
355
|
/**
|
356
|
-
*
|
356
|
+
* @deprecated Custom task runners will no longer be supported in Nx 21. Use Nx Cloud or Nx Powerpack instead.
|
357
|
+
* Available Task Runners for Nx to use
|
357
358
|
*/
|
358
359
|
tasksRunnerOptions?: {
|
359
360
|
[tasksRunnerName: string]: {
|
@@ -463,9 +464,9 @@ export interface NxJsonConfiguration<T = '*' | string[]> {
|
|
463
464
|
*/
|
464
465
|
sync?: NxSyncConfiguration;
|
465
466
|
/**
|
466
|
-
*
|
467
|
+
* Use the legacy file system cache instead of the db cache
|
467
468
|
*/
|
468
|
-
|
469
|
+
useLegacyCache?: boolean;
|
469
470
|
}
|
470
471
|
export type PluginConfiguration = string | ExpandedPluginConfiguration;
|
471
472
|
export type ExpandedPluginConfiguration<T = unknown> = {
|
@@ -61,8 +61,6 @@ export declare enum DependencyType {
|
|
61
61
|
*/
|
62
62
|
implicit = "implicit"
|
63
63
|
}
|
64
|
-
/** @deprecated this type will be removed in v16. Use {@link ProjectGraphProjectNode} or {@link ProjectGraphExternalNode} instead */
|
65
|
-
export type ProjectGraphNode = ProjectGraphProjectNode | ProjectGraphExternalNode;
|
66
64
|
/**
|
67
65
|
* A node describing a project in a workspace
|
68
66
|
*/
|