nx 22.6.0 → 22.7.0-beta.1

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 (103) hide show
  1. package/bin/nx.js +11 -6
  2. package/executors.json +16 -16
  3. package/generators.json +13 -13
  4. package/migrations.json +168 -162
  5. package/package.json +11 -14
  6. package/presets/npm.json +4 -4
  7. package/schemas/nx-schema.json +1313 -1313
  8. package/schemas/project-schema.json +364 -364
  9. package/schemas/workspace-schema.json +165 -165
  10. package/src/adapter/ngcli-adapter.d.ts +8 -5
  11. package/src/adapter/ngcli-adapter.d.ts.map +1 -1
  12. package/src/adapter/ngcli-adapter.js +29 -15
  13. package/src/ai/set-up-ai-agents/schema.json +31 -31
  14. package/src/command-line/examples.d.ts +7 -0
  15. package/src/command-line/examples.d.ts.map +1 -1
  16. package/src/command-line/examples.js +29 -1
  17. package/src/command-line/generate/generate.d.ts.map +1 -1
  18. package/src/command-line/generate/generate.js +1 -1
  19. package/src/command-line/init/command-object.js +1 -21
  20. package/src/command-line/init/implementation/dot-nx/add-nx-scripts.d.ts.map +1 -1
  21. package/src/command-line/init/implementation/dot-nx/add-nx-scripts.js +6 -1
  22. package/src/command-line/init/implementation/utils.d.ts +1 -2
  23. package/src/command-line/init/implementation/utils.d.ts.map +1 -1
  24. package/src/command-line/init/implementation/utils.js +0 -14
  25. package/src/command-line/init/init-v1.d.ts +0 -3
  26. package/src/command-line/init/init-v1.d.ts.map +1 -1
  27. package/src/command-line/init/init-v1.js +0 -26
  28. package/src/command-line/init/init-v2.d.ts +0 -1
  29. package/src/command-line/init/init-v2.d.ts.map +1 -1
  30. package/src/command-line/init/init-v2.js +7 -35
  31. package/src/command-line/migrate/migrate.d.ts.map +1 -1
  32. package/src/command-line/migrate/migrate.js +11 -9
  33. package/src/command-line/nx-commands.js +65 -65
  34. package/src/command-line/run/run.d.ts.map +1 -1
  35. package/src/command-line/run/run.js +1 -1
  36. package/src/daemon/client/client.d.ts +1 -1
  37. package/src/daemon/client/client.d.ts.map +1 -1
  38. package/src/daemon/client/client.js +2 -1
  39. package/src/daemon/server/handle-hash-tasks.d.ts +1 -0
  40. package/src/daemon/server/handle-hash-tasks.d.ts.map +1 -1
  41. package/src/daemon/server/handle-hash-tasks.js +1 -1
  42. package/src/executors/noop/schema.json +8 -8
  43. package/src/executors/run-commands/run-commands.impl.d.ts.map +1 -1
  44. package/src/executors/run-commands/run-commands.impl.js +60 -7
  45. package/src/executors/run-commands/running-tasks.d.ts.map +1 -1
  46. package/src/executors/run-commands/running-tasks.js +0 -4
  47. package/src/executors/run-commands/schema.json +187 -187
  48. package/src/executors/run-script/schema.json +25 -25
  49. package/src/hasher/native-task-hasher-impl.d.ts +2 -2
  50. package/src/hasher/native-task-hasher-impl.d.ts.map +1 -1
  51. package/src/hasher/native-task-hasher-impl.js +6 -6
  52. package/src/hasher/task-hasher.d.ts +4 -4
  53. package/src/hasher/task-hasher.d.ts.map +1 -1
  54. package/src/hasher/task-hasher.js +9 -6
  55. package/src/migrations/update-22-2-0/add-self-healing-to-gitignore.d.ts +3 -0
  56. package/src/migrations/update-22-2-0/add-self-healing-to-gitignore.d.ts.map +1 -0
  57. package/src/migrations/update-22-2-0/add-self-healing-to-gitignore.js +19 -0
  58. package/src/native/nx.wasm32-wasi.debug.wasm +0 -0
  59. package/src/native/nx.wasm32-wasi.wasm +0 -0
  60. package/src/nx-cloud/generators/connect-to-nx-cloud/schema.json +38 -38
  61. package/src/tasks-runner/task-orchestrator.d.ts +4 -2
  62. package/src/tasks-runner/task-orchestrator.d.ts.map +1 -1
  63. package/src/tasks-runner/task-orchestrator.js +59 -32
  64. package/src/utils/package-manager.d.ts.map +1 -1
  65. package/src/utils/package-manager.js +8 -13
  66. package/src/utils/serialize-overrides-into-command-line.d.ts.map +1 -1
  67. package/src/utils/serialize-overrides-into-command-line.js +3 -4
  68. package/src/utils/shell-quoting.d.ts +11 -0
  69. package/src/utils/shell-quoting.d.ts.map +1 -0
  70. package/src/utils/shell-quoting.js +41 -0
  71. package/src/command-line/init/implementation/react/add-craco-commands-to-package-scripts.d.ts +0 -2
  72. package/src/command-line/init/implementation/react/add-craco-commands-to-package-scripts.d.ts.map +0 -1
  73. package/src/command-line/init/implementation/react/add-craco-commands-to-package-scripts.js +0 -21
  74. package/src/command-line/init/implementation/react/add-vite-commands-to-package-scripts.d.ts +0 -2
  75. package/src/command-line/init/implementation/react/add-vite-commands-to-package-scripts.d.ts.map +0 -1
  76. package/src/command-line/init/implementation/react/add-vite-commands-to-package-scripts.js +0 -20
  77. package/src/command-line/init/implementation/react/check-for-custom-webpack-setup.d.ts +0 -2
  78. package/src/command-line/init/implementation/react/check-for-custom-webpack-setup.d.ts.map +0 -1
  79. package/src/command-line/init/implementation/react/check-for-custom-webpack-setup.js +0 -17
  80. package/src/command-line/init/implementation/react/check-for-uncommitted-changes.d.ts +0 -2
  81. package/src/command-line/init/implementation/react/check-for-uncommitted-changes.d.ts.map +0 -1
  82. package/src/command-line/init/implementation/react/check-for-uncommitted-changes.js +0 -20
  83. package/src/command-line/init/implementation/react/clean-up-files.d.ts +0 -2
  84. package/src/command-line/init/implementation/react/clean-up-files.d.ts.map +0 -1
  85. package/src/command-line/init/implementation/react/clean-up-files.js +0 -30
  86. package/src/command-line/init/implementation/react/index.d.ts +0 -5
  87. package/src/command-line/init/implementation/react/index.d.ts.map +0 -1
  88. package/src/command-line/init/implementation/react/index.js +0 -77
  89. package/src/command-line/init/implementation/react/read-name-from-package-json.d.ts +0 -2
  90. package/src/command-line/init/implementation/react/read-name-from-package-json.d.ts.map +0 -1
  91. package/src/command-line/init/implementation/react/read-name-from-package-json.js +0 -16
  92. package/src/command-line/init/implementation/react/rename-js-to-jsx.d.ts +0 -2
  93. package/src/command-line/init/implementation/react/rename-js-to-jsx.d.ts.map +0 -1
  94. package/src/command-line/init/implementation/react/rename-js-to-jsx.js +0 -22
  95. package/src/command-line/init/implementation/react/tsconfig-setup.d.ts +0 -2
  96. package/src/command-line/init/implementation/react/tsconfig-setup.d.ts.map +0 -1
  97. package/src/command-line/init/implementation/react/tsconfig-setup.js +0 -108
  98. package/src/command-line/init/implementation/react/write-vite-config.d.ts +0 -2
  99. package/src/command-line/init/implementation/react/write-vite-config.d.ts.map +0 -1
  100. package/src/command-line/init/implementation/react/write-vite-config.js +0 -53
  101. package/src/command-line/init/implementation/react/write-vite-index-html.d.ts +0 -2
  102. package/src/command-line/init/implementation/react/write-vite-index-html.d.ts.map +0 -1
  103. package/src/command-line/init/implementation/react/write-vite-index-html.js +0 -24
package/bin/nx.js CHANGED
@@ -76,23 +76,21 @@ async function main() {
76
76
  if (!localNx && !isNxCloudCommand(process.argv[2])) {
77
77
  handleMissingLocalInstallation(workspace ? workspace.dir : null);
78
78
  }
79
- // Prompt for analytics preference if not set
80
- try {
81
- await (0, analytics_prompt_1.ensureAnalyticsPreferenceSet)();
82
- }
83
- catch { }
84
- await (0, analytics_1.startAnalytics)();
85
79
  // this file is already in the local workspace
86
80
  if (isNxCloudCommand(process.argv[2])) {
81
+ await initAnalytics();
87
82
  // nx-cloud commands can run without local Nx installation
88
83
  process.env.NX_DAEMON = 'false';
89
84
  require('nx/src/command-line/nx-commands').commandsObject.argv;
90
85
  }
91
86
  else if (isLocalInstall) {
87
+ await initAnalytics();
92
88
  await (0, init_local_1.initLocal)(workspace);
93
89
  }
94
90
  else if (localNx) {
95
91
  // Nx is being run from globally installed CLI - hand off to the local
92
+ // Don't start analytics or connect to the DB here — the local Nx
93
+ // will handle it when it runs its own bin/nx.ts
96
94
  warnIfUsingOutdatedGlobalInstall(GLOBAL_NX_VERSION, LOCAL_NX_VERSION);
97
95
  if (localNx.includes('.nx')) {
98
96
  const nxWrapperPath = localNx.replace(/\.nx.*/, '.nx/') + 'nxw.js';
@@ -169,6 +167,13 @@ function isNxCloudCommand(command) {
169
167
  ];
170
168
  return nxCloudCommands.includes(command);
171
169
  }
170
+ async function initAnalytics() {
171
+ try {
172
+ await (0, analytics_prompt_1.ensureAnalyticsPreferenceSet)();
173
+ }
174
+ catch { }
175
+ await (0, analytics_1.startAnalytics)();
176
+ }
172
177
  function handleMissingLocalInstallation(detectedWorkspaceRoot) {
173
178
  output_1.output.error({
174
179
  title: detectedWorkspaceRoot
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,165 +1,171 @@
1
1
  {
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
- },
140
- "22-6-1-add-claude-worktrees-to-git-ignore": {
141
- "cli": "nx",
142
- "version": "22.6.0-beta.10",
143
- "description": "Adds .claude/worktrees to .gitignore",
144
- "implementation": "./src/migrations/update-22-6-0/add-claude-worktrees-to-git-ignore"
145
- },
146
- "22-7-0-add-polygraph-to-git-ignore": {
147
- "cli": "nx",
148
- "version": "22.7.0-beta.0",
149
- "description": "Adds .nx/polygraph to .gitignore",
150
- "implementation": "./src/migrations/update-22-7-0/add-polygraph-to-git-ignore"
151
- },
152
- "22-6-0-add-claude-settings-local-to-git-ignore": {
153
- "cli": "nx",
154
- "version": "22.6.0-rc.0",
155
- "description": "Adds .claude/settings.local.json to .gitignore",
156
- "implementation": "./src/migrations/update-22-6-0/add-claude-settings-local-to-git-ignore"
157
- },
158
- "22-6-0-enable-analytics-prompt": {
159
- "cli": "nx",
160
- "version": "22.6.0-beta.11",
161
- "description": "Prompts to enable usage analytics",
162
- "implementation": "./src/migrations/update-22-6-0/enable-analytics-prompt"
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
+ },
140
+ "22-6-1-add-claude-worktrees-to-git-ignore": {
141
+ "cli": "nx",
142
+ "version": "22.6.0-beta.10",
143
+ "description": "Adds .claude/worktrees to .gitignore",
144
+ "implementation": "./src/migrations/update-22-6-0/add-claude-worktrees-to-git-ignore"
145
+ },
146
+ "22-7-0-add-polygraph-to-git-ignore": {
147
+ "cli": "nx",
148
+ "version": "22.7.0-beta.0",
149
+ "description": "Adds .nx/polygraph to .gitignore",
150
+ "implementation": "./src/migrations/update-22-7-0/add-polygraph-to-git-ignore"
151
+ },
152
+ "22-6-0-add-claude-settings-local-to-git-ignore": {
153
+ "cli": "nx",
154
+ "version": "22.6.0-rc.0",
155
+ "description": "Adds .claude/settings.local.json to .gitignore",
156
+ "implementation": "./src/migrations/update-22-6-0/add-claude-settings-local-to-git-ignore"
157
+ },
158
+ "22-6-0-enable-analytics-prompt": {
159
+ "cli": "nx",
160
+ "version": "22.6.0-beta.11",
161
+ "description": "Prompts to enable usage analytics",
162
+ "implementation": "./src/migrations/update-22-6-0/enable-analytics-prompt"
163
+ },
164
+ "22-7-0-add-self-healing-to-gitignore": {
165
+ "cli": "nx",
166
+ "version": "22.7.0-beta.0",
167
+ "description": "Adds .nx/self-healing to .gitignore",
168
+ "implementation": "./src/migrations/update-22-2-0/add-self-healing-to-gitignore"
169
+ }
163
170
  }
164
- }
165
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "22.6.0",
3
+ "version": "22.7.0-beta.1",
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": {
@@ -85,16 +85,16 @@
85
85
  }
86
86
  },
87
87
  "optionalDependencies": {
88
- "@nx/nx-darwin-arm64": "22.6.0",
89
- "@nx/nx-darwin-x64": "22.6.0",
90
- "@nx/nx-freebsd-x64": "22.6.0",
91
- "@nx/nx-linux-arm-gnueabihf": "22.6.0",
92
- "@nx/nx-linux-arm64-gnu": "22.6.0",
93
- "@nx/nx-linux-arm64-musl": "22.6.0",
94
- "@nx/nx-linux-x64-gnu": "22.6.0",
95
- "@nx/nx-linux-x64-musl": "22.6.0",
96
- "@nx/nx-win32-arm64-msvc": "22.6.0",
97
- "@nx/nx-win32-x64-msvc": "22.6.0"
88
+ "@nx/nx-darwin-arm64": "22.7.0-beta.1",
89
+ "@nx/nx-darwin-x64": "22.7.0-beta.1",
90
+ "@nx/nx-freebsd-x64": "22.7.0-beta.1",
91
+ "@nx/nx-linux-arm-gnueabihf": "22.7.0-beta.1",
92
+ "@nx/nx-linux-arm64-gnu": "22.7.0-beta.1",
93
+ "@nx/nx-linux-arm64-musl": "22.7.0-beta.1",
94
+ "@nx/nx-linux-x64-gnu": "22.7.0-beta.1",
95
+ "@nx/nx-linux-x64-musl": "22.7.0-beta.1",
96
+ "@nx/nx-win32-arm64-msvc": "22.7.0-beta.1",
97
+ "@nx/nx-win32-x64-msvc": "22.7.0-beta.1"
98
98
  },
99
99
  "nx-migrations": {
100
100
  "migrations": "./migrations.json",
@@ -174,9 +174,6 @@
174
174
  "x86_64-unknown-freebsd"
175
175
  ]
176
176
  },
177
- "main": "./bin/nx.js",
178
- "types": "./bin/nx.d.ts",
179
- "type": "commonjs",
180
177
  "scripts": {
181
178
  "postinstall": "node ./bin/post-install || exit 0"
182
179
  }
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
  }