nx 22.0.0-canary.20251007-01d5f3f → 22.0.0-canary.20251010-bfaa91b
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 +100 -95
- package/package.json +11 -14
- package/presets/npm.json +4 -4
- package/schemas/nx-schema.json +1297 -1129
- package/schemas/project-schema.json +359 -359
- package/schemas/workspace-schema.json +165 -165
- package/src/ai/set-up-ai-agents/schema.json +31 -31
- package/src/command-line/configure-ai-agents/command-object.d.ts +1 -1
- package/src/command-line/configure-ai-agents/command-object.d.ts.map +1 -1
- package/src/command-line/configure-ai-agents/command-object.js +18 -4
- package/src/command-line/configure-ai-agents/configure-ai-agents.d.ts.map +1 -1
- package/src/command-line/configure-ai-agents/configure-ai-agents.js +58 -31
- package/src/command-line/nx-cloud/login/command-object.d.ts.map +1 -1
- package/src/command-line/nx-cloud/login/command-object.js +2 -2
- package/src/command-line/nx-cloud/logout/command-object.js +1 -1
- package/src/command-line/release/changelog.d.ts.map +1 -1
- package/src/command-line/release/changelog.js +58 -47
- package/src/command-line/release/command-object.d.ts +7 -3
- package/src/command-line/release/command-object.d.ts.map +1 -1
- package/src/command-line/release/config/config.d.ts +6 -2
- package/src/command-line/release/config/config.d.ts.map +1 -1
- package/src/command-line/release/config/config.js +124 -61
- package/src/command-line/release/config/version-plans.d.ts.map +1 -1
- package/src/command-line/release/config/version-plans.js +4 -1
- package/src/command-line/release/publish.d.ts.map +1 -1
- package/src/command-line/release/publish.js +35 -11
- package/src/command-line/release/release.d.ts.map +1 -1
- package/src/command-line/release/release.js +31 -30
- package/src/command-line/release/utils/git.d.ts +2 -2
- package/src/command-line/release/utils/git.d.ts.map +1 -1
- package/src/command-line/release/utils/git.js +5 -5
- package/src/command-line/release/utils/release-graph.d.ts +219 -0
- package/src/command-line/release/utils/release-graph.d.ts.map +1 -0
- package/src/command-line/release/utils/release-graph.js +658 -0
- package/src/command-line/release/utils/semver.d.ts +1 -2
- package/src/command-line/release/utils/semver.d.ts.map +1 -1
- package/src/command-line/release/utils/semver.js +3 -5
- package/src/command-line/release/utils/shared.d.ts +1 -1
- package/src/command-line/release/utils/shared.d.ts.map +1 -1
- package/src/command-line/release/utils/shared.js +53 -19
- package/src/command-line/release/version/release-group-processor.d.ts +3 -152
- package/src/command-line/release/version/release-group-processor.d.ts.map +1 -1
- package/src/command-line/release/version/release-group-processor.js +58 -569
- package/src/command-line/release/version/resolve-current-version.d.ts +1 -1
- package/src/command-line/release/version/resolve-current-version.d.ts.map +1 -1
- package/src/command-line/release/version/resolve-current-version.js +1 -1
- package/src/command-line/release/version/test-utils.d.ts +13 -4
- package/src/command-line/release/version/test-utils.d.ts.map +1 -1
- package/src/command-line/release/version/test-utils.js +26 -11
- package/src/command-line/release/version/version-actions.d.ts +12 -5
- package/src/command-line/release/version/version-actions.d.ts.map +1 -1
- package/src/command-line/release/version/version-actions.js +36 -19
- package/src/command-line/release/version.d.ts +6 -1
- package/src/command-line/release/version.d.ts.map +1 -1
- package/src/command-line/release/version.js +57 -28
- package/src/config/nx-json.d.ts +139 -58
- package/src/config/nx-json.d.ts.map +1 -1
- package/src/config/nx-json.js +8 -8
- package/src/core/graph/main.js +1 -1
- package/src/daemon/client/client.d.ts +4 -0
- package/src/daemon/client/client.d.ts.map +1 -1
- package/src/daemon/client/client.js +23 -0
- package/src/daemon/message-types/register-project-graph-listener.d.ts +6 -0
- package/src/daemon/message-types/register-project-graph-listener.d.ts.map +1 -0
- package/src/daemon/message-types/register-project-graph-listener.js +11 -0
- package/src/daemon/server/project-graph-incremental-recomputation.d.ts +3 -1
- package/src/daemon/server/project-graph-incremental-recomputation.d.ts.map +1 -1
- package/src/daemon/server/project-graph-incremental-recomputation.js +13 -5
- package/src/daemon/server/project-graph-listener-sockets.d.ts +8 -0
- package/src/daemon/server/project-graph-listener-sockets.d.ts.map +1 -0
- package/src/daemon/server/project-graph-listener-sockets.js +24 -0
- package/src/daemon/server/server.d.ts.map +1 -1
- package/src/daemon/server/server.js +9 -2
- 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/migrations/update-22-0-0/consolidate-release-tag-config.d.ts +3 -0
- package/src/migrations/update-22-0-0/consolidate-release-tag-config.d.ts.map +1 -0
- package/src/migrations/update-22-0-0/consolidate-release-tag-config.js +100 -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/tasks-runner/run-command.js +2 -2
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,98 +1,103 @@
|
|
|
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
|
-
|
|
2
|
+
"generators": {
|
|
3
|
+
"17.0.0-move-cache-directory": {
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"version": "17.0.0-beta.1",
|
|
6
|
+
"description": "Updates the default cache directory to .nx/cache",
|
|
7
|
+
"implementation": "./src/migrations/update-17-0-0/move-cache-directory"
|
|
8
|
+
},
|
|
9
|
+
"17.0.0-use-minimal-config-for-tasks-runner-options": {
|
|
10
|
+
"cli": "nx",
|
|
11
|
+
"version": "17.0.0-beta.3",
|
|
12
|
+
"description": "Use minimal config for tasksRunnerOptions",
|
|
13
|
+
"implementation": "./src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options"
|
|
14
|
+
},
|
|
15
|
+
"rm-default-collection-npm-scope": {
|
|
16
|
+
"version": "17.0.0-rc.1",
|
|
17
|
+
"description": "Migration for v17.0.0-rc.1",
|
|
18
|
+
"implementation": "./src/migrations/update-17-0-0/rm-default-collection-npm-scope"
|
|
19
|
+
},
|
|
20
|
+
"17.3.0-update-nx-wrapper": {
|
|
21
|
+
"cli": "nx",
|
|
22
|
+
"version": "17.3.0-beta.6",
|
|
23
|
+
"description": "Updates the nx wrapper.",
|
|
24
|
+
"implementation": "./src/migrations/update-17-3-0/update-nxw"
|
|
25
|
+
},
|
|
26
|
+
"18.0.0-disable-adding-plugins-for-existing-workspaces": {
|
|
27
|
+
"cli": "nx",
|
|
28
|
+
"version": "18.0.0-beta.2",
|
|
29
|
+
"description": "Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace",
|
|
30
|
+
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
|
|
31
|
+
"x-repair-skip": true
|
|
32
|
+
},
|
|
33
|
+
"move-default-base-to-nx-json-root": {
|
|
34
|
+
"version": "18.1.0-beta.3",
|
|
35
|
+
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
|
|
36
|
+
"implementation": "./src/migrations/update-17-2-0/move-default-base"
|
|
37
|
+
},
|
|
38
|
+
"19-2-0-move-graph-cache-directory": {
|
|
39
|
+
"cli": "nx",
|
|
40
|
+
"version": "19.2.0-beta.2",
|
|
41
|
+
"description": "Updates the default workspace data directory to .nx/workspace-data",
|
|
42
|
+
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory"
|
|
43
|
+
},
|
|
44
|
+
"19-2-2-update-nx-wrapper": {
|
|
45
|
+
"cli": "nx",
|
|
46
|
+
"version": "19.2.2-beta.0",
|
|
47
|
+
"description": "Updates the nx wrapper.",
|
|
48
|
+
"implementation": "./src/migrations/update-17-3-0/update-nxw"
|
|
49
|
+
},
|
|
50
|
+
"19-2-4-set-project-name": {
|
|
51
|
+
"version": "19.2.4-beta.0",
|
|
52
|
+
"description": "Set project name in nx.json explicitly",
|
|
53
|
+
"implementation": "./src/migrations/update-19-2-4/set-project-name",
|
|
54
|
+
"x-repair-skip": true
|
|
55
|
+
},
|
|
56
|
+
"move-use-daemon-process": {
|
|
57
|
+
"version": "20.0.0-beta.7",
|
|
58
|
+
"description": "Migration for v20.0.0-beta.7",
|
|
59
|
+
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process"
|
|
60
|
+
},
|
|
61
|
+
"use-legacy-cache": {
|
|
62
|
+
"version": "20.0.1",
|
|
63
|
+
"description": "Set `useLegacyCache` to true for migrating workspaces",
|
|
64
|
+
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache",
|
|
65
|
+
"x-repair-skip": true
|
|
66
|
+
},
|
|
67
|
+
"remove-legacy-cache": {
|
|
68
|
+
"version": "21.0.0-beta.8",
|
|
69
|
+
"description": "Removes the legacy cache configuration from nx.json",
|
|
70
|
+
"implementation": "./src/migrations/update-21-0-0/remove-legacy-cache"
|
|
71
|
+
},
|
|
72
|
+
"remove-custom-tasks-runner": {
|
|
73
|
+
"version": "21.0.0-beta.8",
|
|
74
|
+
"description": "Removes the legacy cache configuration from nx.json",
|
|
75
|
+
"implementation": "./src/migrations/update-21-0-0/remove-custom-tasks-runner"
|
|
76
|
+
},
|
|
77
|
+
"release-version-config-changes": {
|
|
78
|
+
"version": "21.0.0-beta.11",
|
|
79
|
+
"description": "Updates release version config based on the breaking changes in Nx v21",
|
|
80
|
+
"implementation": "./src/migrations/update-21-0-0/release-version-config-changes"
|
|
81
|
+
},
|
|
82
|
+
"release-changelog-config-changes": {
|
|
83
|
+
"version": "21.0.0-beta.11",
|
|
84
|
+
"description": "Updates release changelog config based on the breaking changes in Nx v21",
|
|
85
|
+
"implementation": "./src/migrations/update-21-0-0/release-changelog-config-changes"
|
|
86
|
+
},
|
|
87
|
+
"21-1-0-add-ignore-entries-for-nx-rule-files": {
|
|
88
|
+
"version": "21.1.0-beta.2",
|
|
89
|
+
"description": "Adds **/nx-rules.mdc and **/nx.instructions.md to .gitignore if not present",
|
|
90
|
+
"implementation": "./src/migrations/update-21-1-0/add-gitignore-entry"
|
|
91
|
+
},
|
|
92
|
+
"22-0-0-release-version-config-changes": {
|
|
93
|
+
"version": "22.0.0-beta.1",
|
|
94
|
+
"description": "Updates release version config based on the breaking changes in Nx v22",
|
|
95
|
+
"implementation": "./src/migrations/update-22-0-0/release-version-config-changes"
|
|
96
|
+
},
|
|
97
|
+
"22-0-0-consolidate-release-tag-config": {
|
|
98
|
+
"version": "22.0.0-beta.2",
|
|
99
|
+
"description": "Consolidates releaseTag* options into nested releaseTag object structure",
|
|
100
|
+
"implementation": "./src/migrations/update-22-0-0/consolidate-release-tag-config"
|
|
101
|
+
}
|
|
96
102
|
}
|
|
97
|
-
}
|
|
98
103
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nx",
|
|
3
|
-
"version": "22.0.0-canary.
|
|
3
|
+
"version": "22.0.0-canary.20251010-bfaa91b",
|
|
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,16 +83,16 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"optionalDependencies": {
|
|
86
|
-
"@nx/nx-darwin-arm64": "22.0.0-canary.
|
|
87
|
-
"@nx/nx-darwin-x64": "22.0.0-canary.
|
|
88
|
-
"@nx/nx-freebsd-x64": "22.0.0-canary.
|
|
89
|
-
"@nx/nx-linux-arm-gnueabihf": "22.0.0-canary.
|
|
90
|
-
"@nx/nx-linux-arm64-gnu": "22.0.0-canary.
|
|
91
|
-
"@nx/nx-linux-arm64-musl": "22.0.0-canary.
|
|
92
|
-
"@nx/nx-linux-x64-gnu": "22.0.0-canary.
|
|
93
|
-
"@nx/nx-linux-x64-musl": "22.0.0-canary.
|
|
94
|
-
"@nx/nx-win32-arm64-msvc": "22.0.0-canary.
|
|
95
|
-
"@nx/nx-win32-x64-msvc": "22.0.0-canary.
|
|
86
|
+
"@nx/nx-darwin-arm64": "22.0.0-canary.20251010-bfaa91b",
|
|
87
|
+
"@nx/nx-darwin-x64": "22.0.0-canary.20251010-bfaa91b",
|
|
88
|
+
"@nx/nx-freebsd-x64": "22.0.0-canary.20251010-bfaa91b",
|
|
89
|
+
"@nx/nx-linux-arm-gnueabihf": "22.0.0-canary.20251010-bfaa91b",
|
|
90
|
+
"@nx/nx-linux-arm64-gnu": "22.0.0-canary.20251010-bfaa91b",
|
|
91
|
+
"@nx/nx-linux-arm64-musl": "22.0.0-canary.20251010-bfaa91b",
|
|
92
|
+
"@nx/nx-linux-x64-gnu": "22.0.0-canary.20251010-bfaa91b",
|
|
93
|
+
"@nx/nx-linux-x64-musl": "22.0.0-canary.20251010-bfaa91b",
|
|
94
|
+
"@nx/nx-win32-arm64-msvc": "22.0.0-canary.20251010-bfaa91b",
|
|
95
|
+
"@nx/nx-win32-x64-msvc": "22.0.0-canary.20251010-bfaa91b"
|
|
96
96
|
},
|
|
97
97
|
"nx-migrations": {
|
|
98
98
|
"migrations": "./migrations.json",
|
|
@@ -166,9 +166,6 @@
|
|
|
166
166
|
"x86_64-unknown-freebsd"
|
|
167
167
|
]
|
|
168
168
|
},
|
|
169
|
-
"main": "./bin/nx.js",
|
|
170
|
-
"types": "./bin/nx.d.ts",
|
|
171
|
-
"type": "commonjs",
|
|
172
169
|
"scripts": {
|
|
173
170
|
"postinstall": "node ./bin/post-install || exit 0"
|
|
174
171
|
}
|