nx 22.3.0-beta.1 → 22.3.0-beta.3
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/executors.json +16 -16
- package/generators.json +13 -13
- package/migrations.json +138 -138
- package/package.json +12 -15
- package/presets/npm.json +4 -4
- package/schemas/nx-schema.json +1291 -1286
- package/schemas/project-schema.json +359 -359
- package/schemas/workspace-schema.json +165 -165
- package/src/adapter/ngcli-adapter.d.ts.map +1 -1
- package/src/ai/set-up-ai-agents/schema.json +31 -31
- package/src/command-line/format/format.d.ts.map +1 -1
- package/src/command-line/format/format.js +5 -5
- package/src/command-line/graph/graph.d.ts.map +1 -1
- package/src/command-line/graph/graph.js +14 -1
- package/src/command-line/migrate/migrate.js +1 -1
- package/src/command-line/release/changelog.d.ts.map +1 -1
- package/src/command-line/release/changelog.js +1 -1
- package/src/command-line/release/config/config.js +2 -2
- package/src/command-line/release/release.d.ts.map +1 -1
- package/src/command-line/release/utils/remote-release-clients/github.d.ts.map +1 -1
- package/src/command-line/release/version/release-group-processor.d.ts.map +1 -1
- package/src/command-line/release/version/resolve-current-version.d.ts.map +1 -1
- package/src/command-line/release/version.js +1 -1
- package/src/command-line/run/executor-utils.js +1 -1
- package/src/command-line/show/projects.d.ts.map +1 -1
- package/src/config/nx-json.d.ts +5 -0
- package/src/config/nx-json.d.ts.map +1 -1
- package/src/config/schema-utils.js +1 -1
- package/src/core/graph/index.html +1 -1
- package/src/core/graph/main.js +1 -1
- package/src/daemon/server/file-watching/file-change-events.d.ts +8 -0
- package/src/daemon/server/file-watching/file-change-events.d.ts.map +1 -0
- package/src/daemon/server/file-watching/file-change-events.js +19 -0
- package/src/daemon/server/handle-process-in-background.d.ts.map +1 -1
- package/src/daemon/server/project-graph-incremental-recomputation.d.ts.map +1 -1
- package/src/daemon/server/project-graph-incremental-recomputation.js +7 -0
- package/src/daemon/server/server.d.ts.map +1 -1
- package/src/daemon/server/server.js +3 -0
- package/src/daemon/server/sync-generators.d.ts +1 -0
- package/src/daemon/server/sync-generators.d.ts.map +1 -1
- package/src/daemon/server/sync-generators.js +12 -1
- package/src/executors/noop/schema.json +8 -8
- package/src/executors/run-commands/schema.json +187 -187
- package/src/executors/run-script/schema.json +25 -25
- package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.d.ts.map +1 -1
- package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.js +1 -3
- package/src/generators/utils/project-configuration.js +2 -1
- package/src/native/index.d.ts +1 -0
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/nx-cloud/generators/connect-to-nx-cloud/schema.json +38 -38
- package/src/nx-cloud/nx-cloud-tasks-runner-shell.d.ts.map +1 -1
- package/src/nx-cloud/utilities/axios.d.ts.map +1 -1
- package/src/nx-cloud/utilities/client.d.ts.map +1 -1
- package/src/nx-cloud/utilities/url-shorten.d.ts.map +1 -1
- package/src/plugins/js/lock-file/bun-parser.d.ts.map +1 -1
- package/src/plugins/js/lock-file/pnpm-parser.d.ts.map +1 -1
- package/src/plugins/js/lock-file/pnpm-parser.js +88 -23
- package/src/plugins/js/package-json/create-package-json.js +1 -1
- package/src/plugins/js/project-graph/affected/npm-packages.d.ts.map +1 -1
- package/src/plugins/js/project-graph/affected/npm-packages.js +25 -0
- package/src/plugins/js/project-graph/build-dependencies/target-project-locator.d.ts.map +1 -1
- package/src/plugins/js/utils/register.d.ts.map +1 -1
- package/src/plugins/package-json/create-nodes.js +1 -1
- package/src/project-graph/error-types.d.ts.map +1 -1
- package/src/project-graph/project-graph.d.ts.map +1 -1
- package/src/tasks-runner/init-tasks-runner.d.ts.map +1 -1
- package/src/tasks-runner/run-command.d.ts.map +1 -1
- package/src/tasks-runner/run-command.js +2 -1
- package/src/tasks-runner/task-graph-utils.d.ts.map +1 -1
- package/src/tasks-runner/task-orchestrator.d.ts.map +1 -1
- package/src/tasks-runner/task-orchestrator.js +5 -0
- package/src/tasks-runner/utils.d.ts.map +1 -1
- package/src/utils/assert-workspace-validity.d.ts.map +1 -1
- package/src/utils/sync-generators.d.ts.map +1 -1
package/executors.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"executors": {
|
|
3
|
+
"noop": {
|
|
4
|
+
"implementation": "./src/executors/noop/noop.impl",
|
|
5
|
+
"schema": "./src/executors/noop/schema.json",
|
|
6
|
+
"description": "An executor that does nothing"
|
|
7
|
+
},
|
|
8
|
+
"run-commands": {
|
|
9
|
+
"implementation": "./src/executors/run-commands/run-commands.impl",
|
|
10
|
+
"schema": "./src/executors/run-commands/schema.json",
|
|
11
|
+
"description": "Run any custom commands with Nx."
|
|
12
|
+
},
|
|
13
|
+
"run-script": {
|
|
14
|
+
"implementation": "./src/executors/run-script/run-script.impl",
|
|
15
|
+
"schema": "./src/executors/run-script/schema.json",
|
|
16
|
+
"description": "Run an NPM script using Nx."
|
|
17
|
+
}
|
|
17
18
|
}
|
|
18
|
-
}
|
|
19
19
|
}
|
package/generators.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
"generators": {
|
|
3
|
+
"connect-to-nx-cloud": {
|
|
4
|
+
"factory": "./src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud",
|
|
5
|
+
"schema": "./src/nx-cloud/generators/connect-to-nx-cloud/schema.json",
|
|
6
|
+
"description": "Connect a workspace to Nx Cloud",
|
|
7
|
+
"x-hidden": true
|
|
8
|
+
},
|
|
9
|
+
"set-up-ai-agents": {
|
|
10
|
+
"factory": "./src/ai/set-up-ai-agents/set-up-ai-agents",
|
|
11
|
+
"schema": "./src/ai/set-up-ai-agents/schema.json",
|
|
12
|
+
"description": "Sets up the Nx MCP & rule files for common AI Agents",
|
|
13
|
+
"hidden": true
|
|
14
|
+
}
|
|
14
15
|
}
|
|
15
|
-
}
|
|
16
16
|
}
|
package/migrations.json
CHANGED
|
@@ -1,141 +1,141 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
2
|
+
"generators": {
|
|
3
|
+
"16.0.0-remove-nrwl-cli": {
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"version": "16.0.0-beta.0",
|
|
6
|
+
"description": "Remove @nrwl/cli.",
|
|
7
|
+
"implementation": "./src/migrations/update-16-0-0/remove-nrwl-cli"
|
|
8
|
+
},
|
|
9
|
+
"16.0.0-tokens-for-depends-on": {
|
|
10
|
+
"cli": "nx",
|
|
11
|
+
"version": "16.0.0-beta.9",
|
|
12
|
+
"description": "Replace `dependsOn.projects` and `inputs` definitions with new configuration format.",
|
|
13
|
+
"implementation": "./src/migrations/update-16-0-0/update-depends-on-to-tokens"
|
|
14
|
+
},
|
|
15
|
+
"16.0.0-update-nx-cloud-runner": {
|
|
16
|
+
"cli": "nx",
|
|
17
|
+
"version": "16.0.0-beta.0",
|
|
18
|
+
"description": "Replace @nrwl/nx-cloud with nx-cloud",
|
|
19
|
+
"implementation": "./src/migrations/update-16-0-0/update-nx-cloud-runner"
|
|
20
|
+
},
|
|
21
|
+
"16.2.0-remove-output-path-from-run-commands": {
|
|
22
|
+
"cli": "nx",
|
|
23
|
+
"version": "16.2.0-beta.0",
|
|
24
|
+
"description": "Remove outputPath from run commands",
|
|
25
|
+
"implementation": "./src/migrations/update-16-2-0/remove-run-commands-output-path"
|
|
26
|
+
},
|
|
27
|
+
"16.6.0-prefix-outputs": {
|
|
28
|
+
"cli": "nx",
|
|
29
|
+
"version": "16.6.0-beta.6",
|
|
30
|
+
"description": "Prefix outputs with {workspaceRoot}/{projectRoot} if needed",
|
|
31
|
+
"implementation": "./src/migrations/update-15-0-0/prefix-outputs"
|
|
32
|
+
},
|
|
33
|
+
"16.8.0-escape-dollar-sign-env": {
|
|
34
|
+
"cli": "nx",
|
|
35
|
+
"version": "16.8.0-beta.3",
|
|
36
|
+
"description": "Escape $ in env variables",
|
|
37
|
+
"implementation": "./src/migrations/update-16-8-0/escape-dollar-sign-env-variables",
|
|
38
|
+
"x-repair-skip": true
|
|
39
|
+
},
|
|
40
|
+
"17.0.0-move-cache-directory": {
|
|
41
|
+
"cli": "nx",
|
|
42
|
+
"version": "17.0.0-beta.1",
|
|
43
|
+
"description": "Updates the default cache directory to .nx/cache",
|
|
44
|
+
"implementation": "./src/migrations/update-17-0-0/move-cache-directory"
|
|
45
|
+
},
|
|
46
|
+
"17.0.0-use-minimal-config-for-tasks-runner-options": {
|
|
47
|
+
"cli": "nx",
|
|
48
|
+
"version": "17.0.0-beta.3",
|
|
49
|
+
"description": "Use minimal config for tasksRunnerOptions",
|
|
50
|
+
"implementation": "./src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options"
|
|
51
|
+
},
|
|
52
|
+
"rm-default-collection-npm-scope": {
|
|
53
|
+
"version": "17.0.0-rc.1",
|
|
54
|
+
"description": "Migration for v17.0.0-rc.1",
|
|
55
|
+
"implementation": "./src/migrations/update-17-0-0/rm-default-collection-npm-scope"
|
|
56
|
+
},
|
|
57
|
+
"17.3.0-update-nx-wrapper": {
|
|
58
|
+
"cli": "nx",
|
|
59
|
+
"version": "17.3.0-beta.6",
|
|
60
|
+
"description": "Updates the nx wrapper.",
|
|
61
|
+
"implementation": "./src/migrations/update-17-3-0/update-nxw"
|
|
62
|
+
},
|
|
63
|
+
"18.0.0-disable-adding-plugins-for-existing-workspaces": {
|
|
64
|
+
"cli": "nx",
|
|
65
|
+
"version": "18.0.0-beta.2",
|
|
66
|
+
"description": "Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace",
|
|
67
|
+
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
|
|
68
|
+
"x-repair-skip": true
|
|
69
|
+
},
|
|
70
|
+
"move-default-base-to-nx-json-root": {
|
|
71
|
+
"version": "18.1.0-beta.3",
|
|
72
|
+
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
|
|
73
|
+
"implementation": "./src/migrations/update-17-2-0/move-default-base"
|
|
74
|
+
},
|
|
75
|
+
"19-2-0-move-graph-cache-directory": {
|
|
76
|
+
"cli": "nx",
|
|
77
|
+
"version": "19.2.0-beta.2",
|
|
78
|
+
"description": "Updates the default workspace data directory to .nx/workspace-data",
|
|
79
|
+
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory"
|
|
80
|
+
},
|
|
81
|
+
"19-2-2-update-nx-wrapper": {
|
|
82
|
+
"cli": "nx",
|
|
83
|
+
"version": "19.2.2-beta.0",
|
|
84
|
+
"description": "Updates the nx wrapper.",
|
|
85
|
+
"implementation": "./src/migrations/update-17-3-0/update-nxw"
|
|
86
|
+
},
|
|
87
|
+
"19-2-4-set-project-name": {
|
|
88
|
+
"version": "19.2.4-beta.0",
|
|
89
|
+
"description": "Set project name in nx.json explicitly",
|
|
90
|
+
"implementation": "./src/migrations/update-19-2-4/set-project-name",
|
|
91
|
+
"x-repair-skip": true
|
|
92
|
+
},
|
|
93
|
+
"move-use-daemon-process": {
|
|
94
|
+
"version": "20.0.0-beta.7",
|
|
95
|
+
"description": "Migration for v20.0.0-beta.7",
|
|
96
|
+
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process"
|
|
97
|
+
},
|
|
98
|
+
"use-legacy-cache": {
|
|
99
|
+
"version": "20.0.1",
|
|
100
|
+
"description": "Set `useLegacyCache` to true for migrating workspaces",
|
|
101
|
+
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache",
|
|
102
|
+
"x-repair-skip": true
|
|
103
|
+
},
|
|
104
|
+
"remove-legacy-cache": {
|
|
105
|
+
"version": "21.0.0-beta.8",
|
|
106
|
+
"description": "Removes the legacy cache configuration from nx.json",
|
|
107
|
+
"implementation": "./src/migrations/update-21-0-0/remove-legacy-cache"
|
|
108
|
+
},
|
|
109
|
+
"remove-custom-tasks-runner": {
|
|
110
|
+
"version": "21.0.0-beta.8",
|
|
111
|
+
"description": "Removes the legacy cache configuration from nx.json",
|
|
112
|
+
"implementation": "./src/migrations/update-21-0-0/remove-custom-tasks-runner"
|
|
113
|
+
},
|
|
114
|
+
"release-version-config-changes": {
|
|
115
|
+
"version": "21.0.0-beta.11",
|
|
116
|
+
"description": "Updates release version config based on the breaking changes in Nx v21",
|
|
117
|
+
"implementation": "./src/migrations/update-21-0-0/release-version-config-changes"
|
|
118
|
+
},
|
|
119
|
+
"release-changelog-config-changes": {
|
|
120
|
+
"version": "21.0.0-beta.11",
|
|
121
|
+
"description": "Updates release changelog config based on the breaking changes in Nx v21",
|
|
122
|
+
"implementation": "./src/migrations/update-21-0-0/release-changelog-config-changes"
|
|
123
|
+
},
|
|
124
|
+
"22-0-0-release-version-config-changes": {
|
|
125
|
+
"version": "22.0.0-beta.1",
|
|
126
|
+
"description": "Updates release version config based on the breaking changes in Nx v22",
|
|
127
|
+
"implementation": "./src/migrations/update-22-0-0/release-version-config-changes"
|
|
128
|
+
},
|
|
129
|
+
"22-0-0-consolidate-release-tag-config": {
|
|
130
|
+
"version": "22.0.0-beta.2",
|
|
131
|
+
"description": "Consolidates releaseTag* options into nested releaseTag object structure",
|
|
132
|
+
"implementation": "./src/migrations/update-22-0-0/consolidate-release-tag-config"
|
|
133
|
+
},
|
|
134
|
+
"22-1-0-update-nx-wrapper": {
|
|
135
|
+
"cli": "nx",
|
|
136
|
+
"version": "22.1.0-beta.5",
|
|
137
|
+
"description": "Updates the nx wrapper.",
|
|
138
|
+
"implementation": "./src/migrations/update-22-1-0/update-nx-wrapper"
|
|
139
|
+
}
|
|
139
140
|
}
|
|
140
|
-
}
|
|
141
141
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nx",
|
|
3
|
-
"version": "22.3.0-beta.
|
|
3
|
+
"version": "22.3.0-beta.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
|
|
6
6
|
"repository": {
|
|
@@ -83,26 +83,26 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"optionalDependencies": {
|
|
86
|
-
"@nx/nx-darwin-arm64": "22.3.0-beta.
|
|
87
|
-
"@nx/nx-darwin-x64": "22.3.0-beta.
|
|
88
|
-
"@nx/nx-freebsd-x64": "22.3.0-beta.
|
|
89
|
-
"@nx/nx-linux-arm-gnueabihf": "22.3.0-beta.
|
|
90
|
-
"@nx/nx-linux-arm64-gnu": "22.3.0-beta.
|
|
91
|
-
"@nx/nx-linux-arm64-musl": "22.3.0-beta.
|
|
92
|
-
"@nx/nx-linux-x64-gnu": "22.3.0-beta.
|
|
93
|
-
"@nx/nx-linux-x64-musl": "22.3.0-beta.
|
|
94
|
-
"@nx/nx-win32-arm64-msvc": "22.3.0-beta.
|
|
95
|
-
"@nx/nx-win32-x64-msvc": "22.3.0-beta.
|
|
86
|
+
"@nx/nx-darwin-arm64": "22.3.0-beta.3",
|
|
87
|
+
"@nx/nx-darwin-x64": "22.3.0-beta.3",
|
|
88
|
+
"@nx/nx-freebsd-x64": "22.3.0-beta.3",
|
|
89
|
+
"@nx/nx-linux-arm-gnueabihf": "22.3.0-beta.3",
|
|
90
|
+
"@nx/nx-linux-arm64-gnu": "22.3.0-beta.3",
|
|
91
|
+
"@nx/nx-linux-arm64-musl": "22.3.0-beta.3",
|
|
92
|
+
"@nx/nx-linux-x64-gnu": "22.3.0-beta.3",
|
|
93
|
+
"@nx/nx-linux-x64-musl": "22.3.0-beta.3",
|
|
94
|
+
"@nx/nx-win32-arm64-msvc": "22.3.0-beta.3",
|
|
95
|
+
"@nx/nx-win32-x64-msvc": "22.3.0-beta.3"
|
|
96
96
|
},
|
|
97
97
|
"nx-migrations": {
|
|
98
98
|
"migrations": "./migrations.json",
|
|
99
99
|
"packageGroup": [
|
|
100
100
|
"@nx/js",
|
|
101
|
-
"@nx/jest",
|
|
102
101
|
"@nx/linter",
|
|
103
102
|
"@nx/eslint",
|
|
104
103
|
"@nx/workspace",
|
|
105
104
|
"@nx/angular",
|
|
105
|
+
"@nx/jest",
|
|
106
106
|
"@nx/cypress",
|
|
107
107
|
"@nx/detox",
|
|
108
108
|
"@nx/devkit",
|
|
@@ -170,9 +170,6 @@
|
|
|
170
170
|
"x86_64-unknown-freebsd"
|
|
171
171
|
]
|
|
172
172
|
},
|
|
173
|
-
"main": "./bin/nx.js",
|
|
174
|
-
"types": "./bin/nx.d.ts",
|
|
175
|
-
"type": "commonjs",
|
|
176
173
|
"scripts": {
|
|
177
174
|
"postinstall": "node ./bin/post-install || exit 0"
|
|
178
175
|
}
|