@nx/devkit 0.0.0-pr-33021-29491ef → 0.0.0-pr-33300-a25d58c

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/devkit",
3
- "version": "0.0.0-pr-33021-29491ef",
3
+ "version": "0.0.0-pr-33300-a25d58c",
4
4
  "private": false,
5
5
  "description": "The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by leveraging the Nx Devkit](https://nx.dev/extending-nx/intro/getting-started) on our docs.",
6
6
  "repository": {
@@ -31,17 +31,17 @@
31
31
  "@zkochan/js-yaml": "0.0.7",
32
32
  "ejs": "^3.1.7",
33
33
  "tslib": "^2.3.0",
34
- "semver": "^7.5.3",
34
+ "semver": "^7.6.3",
35
35
  "yargs-parser": "21.1.1",
36
36
  "minimatch": "9.0.3",
37
37
  "enquirer": "~2.3.6"
38
38
  },
39
39
  "devDependencies": {
40
- "jest": "^29.4.1",
41
- "nx": "0.0.0-pr-33021-29491ef"
40
+ "jest": "^30.0.2",
41
+ "nx": "0.0.0-pr-33300-a25d58c"
42
42
  },
43
43
  "peerDependencies": {
44
- "nx": "0.0.0-pr-33021-29491ef"
44
+ "nx": "0.0.0-pr-33300-a25d58c"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
@@ -93,7 +93,7 @@ function getDependencyVersionFromPackageJsonFromFileSystem(packageName, root = d
93
93
  // Resolve catalog reference if needed
94
94
  const manager = (0, catalog_1.getCatalogManager)(root);
95
95
  if (version && manager?.isCatalogReference(version)) {
96
- version = manager.resolveCatalogReference(packageName, version, root);
96
+ version = manager.resolveCatalogReference(root, packageName, version);
97
97
  }
98
98
  return version;
99
99
  }
@@ -1 +1 @@
1
- {"version":3,"file":"replace-project-configuration-with-plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/utils/replace-project-configuration-with-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAMb,IAAI,EAGL,MAAM,uBAAuB,CAAC;AAG/B,wBAAsB,sCAAsC,CAAC,CAAC,GAAG,OAAO,EACtE,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EACjC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,EAC7B,aAAa,EAAE,CAAC,GACf,OAAO,CAAC,IAAI,CAAC,CA0Df"}
1
+ {"version":3,"file":"replace-project-configuration-with-plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/utils/replace-project-configuration-with-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAMb,IAAI,EAGL,MAAM,uBAAuB,CAAC;AAO/B,wBAAsB,sCAAsC,CAAC,CAAC,GAAG,OAAO,EACtE,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EACjC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,EAC7B,aAAa,EAAE,CAAC,GACf,OAAO,CAAC,IAAI,CAAC,CAiEf"}
@@ -17,9 +17,11 @@ async function replaceProjectConfigurationsWithPlugin(tree, rootMappings, plugin
17
17
  (0, devkit_exports_1.updateNxJson)(tree, nxJson);
18
18
  const [pluginGlob, createNodesFunction] = createNodes;
19
19
  const configFiles = (0, devkit_exports_1.glob)(tree, [pluginGlob]);
20
+ const additionalProjectConfigurationFiles = (0, devkit_internals_1.multiGlobInAdditionalProjectDirectories)(tree.root, nxJson.additionalProjectDirectories ?? [], [pluginGlob])[0];
20
21
  const results = await createNodesFunction(configFiles, pluginOptions, {
21
22
  workspaceRoot: tree.root,
22
23
  nxJsonConfiguration: (0, devkit_exports_1.readNxJson)(tree),
24
+ additionalProjectConfigurationFiles,
23
25
  });
24
26
  for (const [configFile, nodes] of results) {
25
27
  try {