nx 22.6.0-rc.2 → 22.6.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "22.6.0-rc.2",
3
+ "version": "22.6.0",
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-rc.2",
89
- "@nx/nx-darwin-x64": "22.6.0-rc.2",
90
- "@nx/nx-freebsd-x64": "22.6.0-rc.2",
91
- "@nx/nx-linux-arm-gnueabihf": "22.6.0-rc.2",
92
- "@nx/nx-linux-arm64-gnu": "22.6.0-rc.2",
93
- "@nx/nx-linux-arm64-musl": "22.6.0-rc.2",
94
- "@nx/nx-linux-x64-gnu": "22.6.0-rc.2",
95
- "@nx/nx-linux-x64-musl": "22.6.0-rc.2",
96
- "@nx/nx-win32-arm64-msvc": "22.6.0-rc.2",
97
- "@nx/nx-win32-x64-msvc": "22.6.0-rc.2"
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"
98
98
  },
99
99
  "nx-migrations": {
100
100
  "migrations": "./migrations.json",
@@ -1 +1 @@
1
- {"version":3,"file":"set-up-ai-agents.d.ts","sourceRoot":"","sources":["../../../../../../packages/nx/src/ai/set-up-ai-agents/set-up-ai-agents.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAS7C,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAuB5B,OAAO,EACL,sCAAsC,EACtC,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACjC,CAAC;AAmCF,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,4BAA4B,EACrC,KAAK,UAAQ,GACZ,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAmC5D;AAaD,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,sCAAsC,GAC9C,OAAO,CAAC,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC,CA0P7C;AAuRD,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"set-up-ai-agents.d.ts","sourceRoot":"","sources":["../../../../../../packages/nx/src/ai/set-up-ai-agents/set-up-ai-agents.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAS7C,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAuB5B,OAAO,EACL,sCAAsC,EACtC,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACjC,CAAC;AAmCF,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,4BAA4B,EACrC,KAAK,UAAQ,GACZ,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAmC5D;AAaD,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,sCAAsC,GAC9C,OAAO,CAAC,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAuQ7C;AAuRD,eAAe,sBAAsB,CAAC"}
@@ -181,11 +181,18 @@ async function setupAiAgentsGeneratorImpl(tree, options) {
181
181
  // Copy extensibility artifacts (commands, skills, subagents) for non-Claude agents
182
182
  if (aiConfigRepoPath) {
183
183
  const repoPath = aiConfigRepoPath;
184
+ // Shared skills directory used by codex, cursor, and gemini
185
+ if (hasAgent('codex') || hasAgent('cursor') || hasAgent('gemini')) {
186
+ const sharedSkillsSrc = (0, path_1.join)(repoPath, 'generated/.agents');
187
+ if ((0, fs_1.existsSync)(sharedSkillsSrc)) {
188
+ (0, generate_files_1.generateFiles)(tree, sharedSkillsSrc, (0, path_1.join)(options.directory, '.agents'), {});
189
+ }
190
+ }
191
+ // Agent-specific directories (commands, agents, config)
184
192
  const agentDirs = [
185
193
  { agent: 'opencode', src: 'generated/.opencode', dest: '.opencode' },
186
194
  { agent: 'copilot', src: 'generated/.github', dest: '.github' },
187
195
  { agent: 'cursor', src: 'generated/.cursor', dest: '.cursor' },
188
- { agent: 'codex', src: 'generated/.agents', dest: '.agents' },
189
196
  {
190
197
  agent: 'codex',
191
198
  src: 'generated/.codex/agents',