@nx/angular 23.0.0-canary.20260504-e8aa612 → 23.0.0-pr.33655.05d9542

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/angular",
3
- "version": "23.0.0-canary.20260504-e8aa612",
3
+ "version": "23.0.0-pr.33655.05d9542",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -61,13 +61,13 @@
61
61
  "migrations": "./migrations.json"
62
62
  },
63
63
  "dependencies": {
64
- "@nx/devkit": "23.0.0-canary.20260504-e8aa612",
65
- "@nx/eslint": "23.0.0-canary.20260504-e8aa612",
66
- "@nx/js": "23.0.0-canary.20260504-e8aa612",
67
- "@nx/module-federation": "23.0.0-canary.20260504-e8aa612",
68
- "@nx/rspack": "23.0.0-canary.20260504-e8aa612",
69
- "@nx/web": "23.0.0-canary.20260504-e8aa612",
70
- "@nx/webpack": "23.0.0-canary.20260504-e8aa612",
64
+ "@nx/devkit": "23.0.0-pr.33655.05d9542",
65
+ "@nx/eslint": "23.0.0-pr.33655.05d9542",
66
+ "@nx/js": "23.0.0-pr.33655.05d9542",
67
+ "@nx/module-federation": "23.0.0-pr.33655.05d9542",
68
+ "@nx/rspack": "23.0.0-pr.33655.05d9542",
69
+ "@nx/web": "23.0.0-pr.33655.05d9542",
70
+ "@nx/webpack": "23.0.0-pr.33655.05d9542",
71
71
  "@phenomnomnominal/tsquery": "~6.1.4",
72
72
  "@typescript-eslint/type-utils": "^8.0.0",
73
73
  "enquirer": "~2.3.6",
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/angular/src/plugins/plugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,KAAK,aAAa,EAOnB,MAAM,YAAY,CAAC;AAUpB,MAAM,WAAW,oBAAoB;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAOD,KAAK,0BAA0B,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACrC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG;IACxC,WAAW,EAAE,aAAa,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC;CACtD,CAAC;AAqCF,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,oBAAoB,CAwB7D,CAAC"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/angular/src/plugins/plugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,KAAK,aAAa,EAOnB,MAAM,YAAY,CAAC;AAUpB,MAAM,WAAW,oBAAoB;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAOD,KAAK,0BAA0B,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACrC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG;IACxC,WAAW,EAAE,aAAa,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC;CACtD,CAAC;AAqCF,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,oBAAoB,CA+B7D,CAAC"}
@@ -51,23 +51,25 @@ exports.createNodesV2 = [
51
51
  const optionsHash = (0, devkit_internals_1.hashObject)(options);
52
52
  const cachePath = (0, node_path_1.join)(cache_directory_1.workspaceDataDirectory, `angular-${optionsHash}.hash`);
53
53
  const projectsCache = new internal_1.PluginCache(cachePath);
54
- const pmc = (0, devkit_1.getPackageManagerCommand)((0, devkit_1.detectPackageManager)(context.workspaceRoot));
54
+ const packageManager = (0, devkit_1.detectPackageManager)(context.workspaceRoot);
55
+ const pmc = (0, devkit_1.getPackageManagerCommand)(packageManager);
56
+ const lockFileName = (0, js_1.getLockFileName)(packageManager);
55
57
  try {
56
- return await (0, devkit_1.createNodesFromFiles)((configFile, options, context) => createNodesInternal(configFile, options, context, projectsCache, pmc), configFiles, options, context);
58
+ return await (0, devkit_1.createNodesFromFiles)((configFile, options, context) => createNodesInternal(configFile, options, context, projectsCache, pmc, lockFileName), configFiles, options, context);
57
59
  }
58
60
  finally {
59
61
  projectsCache.writeToDisk();
60
62
  }
61
63
  },
62
64
  ];
63
- async function createNodesInternal(configFilePath, options, context, projectsCache, pmc) {
65
+ async function createNodesInternal(configFilePath, options, context, projectsCache, pmc, lockFileName) {
64
66
  const angularWorkspaceRoot = (0, node_path_1.dirname)(configFilePath);
65
67
  // Do not create a project if package.json isn't there
66
68
  const siblingFiles = (0, node_fs_1.readdirSync)((0, node_path_1.join)(context.workspaceRoot, angularWorkspaceRoot));
67
69
  if (!siblingFiles.includes('package.json')) {
68
70
  return {};
69
71
  }
70
- const hash = await (0, internal_1.calculateHashForCreateNodes)(angularWorkspaceRoot, options, context, [(0, js_1.getLockFileName)((0, devkit_1.detectPackageManager)(context.workspaceRoot))]);
72
+ const hash = await (0, internal_1.calculateHashForCreateNodes)(angularWorkspaceRoot, options, context, [lockFileName]);
71
73
  if (!projectsCache.has(hash)) {
72
74
  projectsCache.set(hash, await buildAngularProjects(configFilePath, options, angularWorkspaceRoot, context, pmc));
73
75
  }