nx 22.0.0-canary.20251008-05ab516 → 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.
Files changed (48) hide show
  1. package/executors.json +16 -16
  2. package/generators.json +13 -13
  3. package/migrations.json +100 -95
  4. package/package.json +11 -14
  5. package/presets/npm.json +4 -4
  6. package/schemas/nx-schema.json +1294 -1139
  7. package/schemas/project-schema.json +359 -359
  8. package/schemas/workspace-schema.json +165 -165
  9. package/src/ai/set-up-ai-agents/schema.json +31 -31
  10. package/src/command-line/release/changelog.d.ts.map +1 -1
  11. package/src/command-line/release/changelog.js +18 -18
  12. package/src/command-line/release/config/config.d.ts +6 -2
  13. package/src/command-line/release/config/config.d.ts.map +1 -1
  14. package/src/command-line/release/config/config.js +119 -70
  15. package/src/command-line/release/utils/git.d.ts +2 -2
  16. package/src/command-line/release/utils/git.d.ts.map +1 -1
  17. package/src/command-line/release/utils/git.js +5 -5
  18. package/src/command-line/release/utils/release-graph.d.ts +1 -1
  19. package/src/command-line/release/utils/release-graph.d.ts.map +1 -1
  20. package/src/command-line/release/utils/release-graph.js +6 -6
  21. package/src/command-line/release/utils/shared.js +11 -11
  22. package/src/command-line/release/version/release-group-processor.d.ts.map +1 -1
  23. package/src/command-line/release/version/release-group-processor.js +9 -1
  24. package/src/config/nx-json.d.ts +129 -70
  25. package/src/config/nx-json.d.ts.map +1 -1
  26. package/src/core/graph/main.js +1 -1
  27. package/src/daemon/client/client.d.ts +4 -0
  28. package/src/daemon/client/client.d.ts.map +1 -1
  29. package/src/daemon/client/client.js +23 -0
  30. package/src/daemon/message-types/register-project-graph-listener.d.ts +6 -0
  31. package/src/daemon/message-types/register-project-graph-listener.d.ts.map +1 -0
  32. package/src/daemon/message-types/register-project-graph-listener.js +11 -0
  33. package/src/daemon/server/project-graph-incremental-recomputation.d.ts +3 -1
  34. package/src/daemon/server/project-graph-incremental-recomputation.d.ts.map +1 -1
  35. package/src/daemon/server/project-graph-incremental-recomputation.js +13 -5
  36. package/src/daemon/server/project-graph-listener-sockets.d.ts +8 -0
  37. package/src/daemon/server/project-graph-listener-sockets.d.ts.map +1 -0
  38. package/src/daemon/server/project-graph-listener-sockets.js +24 -0
  39. package/src/daemon/server/server.d.ts.map +1 -1
  40. package/src/daemon/server/server.js +9 -2
  41. package/src/executors/noop/schema.json +8 -8
  42. package/src/executors/run-commands/schema.json +187 -187
  43. package/src/executors/run-script/schema.json +25 -25
  44. package/src/migrations/update-22-0-0/consolidate-release-tag-config.d.ts +3 -0
  45. package/src/migrations/update-22-0-0/consolidate-release-tag-config.d.ts.map +1 -0
  46. package/src/migrations/update-22-0-0/consolidate-release-tag-config.js +100 -0
  47. package/src/native/nx.wasm32-wasi.wasm +0 -0
  48. package/src/nx-cloud/generators/connect-to-nx-cloud/schema.json +38 -38
package/executors.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
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."
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
- "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
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
- "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"
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.20251008-05ab516",
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.20251008-05ab516",
87
- "@nx/nx-darwin-x64": "22.0.0-canary.20251008-05ab516",
88
- "@nx/nx-freebsd-x64": "22.0.0-canary.20251008-05ab516",
89
- "@nx/nx-linux-arm-gnueabihf": "22.0.0-canary.20251008-05ab516",
90
- "@nx/nx-linux-arm64-gnu": "22.0.0-canary.20251008-05ab516",
91
- "@nx/nx-linux-arm64-musl": "22.0.0-canary.20251008-05ab516",
92
- "@nx/nx-linux-x64-gnu": "22.0.0-canary.20251008-05ab516",
93
- "@nx/nx-linux-x64-musl": "22.0.0-canary.20251008-05ab516",
94
- "@nx/nx-win32-arm64-msvc": "22.0.0-canary.20251008-05ab516",
95
- "@nx/nx-win32-x64-msvc": "22.0.0-canary.20251008-05ab516"
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
  }
package/presets/npm.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "pluginsConfig": {
3
- "@nx/js": {
4
- "analyzeSourceFiles": false
2
+ "pluginsConfig": {
3
+ "@nx/js": {
4
+ "analyzeSourceFiles": false
5
+ }
5
6
  }
6
- }
7
7
  }