@nx/devkit 23.0.0-beta.1 → 23.0.0-beta.10

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 (185) hide show
  1. package/{index.d.ts → dist/index.d.ts} +0 -1
  2. package/dist/internal.d.ts +23 -0
  3. package/dist/internal.js +71 -0
  4. package/{ngcli-adapter.d.ts → dist/ngcli-adapter.d.ts} +0 -1
  5. package/{public-api.d.ts → dist/public-api.d.ts} +0 -1
  6. package/{src → dist/src}/executors/parse-target-string.d.ts +0 -1
  7. package/{src → dist/src}/executors/read-target-options.d.ts +0 -1
  8. package/{src → dist/src}/generators/artifact-name-and-directory-utils.d.ts +0 -1
  9. package/{src → dist/src}/generators/e2e-web-server-info-utils.d.ts +0 -1
  10. package/{src → dist/src}/generators/executor-options-utils.d.ts +0 -1
  11. package/{src → dist/src}/generators/format-files.d.ts +0 -1
  12. package/{src → dist/src}/generators/format-files.js +1 -1
  13. package/{src → dist/src}/generators/generate-files.d.ts +0 -1
  14. package/{src → dist/src}/generators/plugin-migrations/aggregate-log-util.d.ts +0 -1
  15. package/{src → dist/src}/generators/plugin-migrations/executor-to-plugin-migrator.d.ts +0 -1
  16. package/{src → dist/src}/generators/plugin-migrations/plugin-migration-utils.d.ts +0 -1
  17. package/{src → dist/src}/generators/project-name-and-root-utils.d.ts +0 -1
  18. package/{src → dist/src}/generators/prompt.d.ts +0 -1
  19. package/{src → dist/src}/generators/run-tasks-in-serial.d.ts +0 -1
  20. package/{src → dist/src}/generators/target-defaults-utils.d.ts +0 -1
  21. package/{src → dist/src}/generators/target-defaults-utils.js +1 -34
  22. package/{src → dist/src}/generators/to-js.d.ts +0 -1
  23. package/{src → dist/src}/generators/typescript/insert-import.d.ts +0 -1
  24. package/{src → dist/src}/generators/typescript/insert-statement.d.ts +0 -1
  25. package/{src → dist/src}/generators/update-ts-configs-to-js.d.ts +0 -1
  26. package/{src → dist/src}/generators/visit-not-ignored-files.d.ts +0 -1
  27. package/dist/src/migrations/update-23-0-0/update-deep-imports.d.ts +4 -0
  28. package/dist/src/migrations/update-23-0-0/update-deep-imports.js +321 -0
  29. package/{src → dist/src}/tasks/install-packages-task.d.ts +0 -1
  30. package/{src → dist/src}/utils/add-plugin.d.ts +0 -1
  31. package/{src → dist/src}/utils/async-iterable/combine-async-iterables.d.ts +0 -1
  32. package/{src → dist/src}/utils/async-iterable/create-async-iterable.d.ts +0 -1
  33. package/{src → dist/src}/utils/async-iterable/index.d.ts +0 -1
  34. package/{src → dist/src}/utils/async-iterable/map-async-iteratable.d.ts +0 -1
  35. package/{src → dist/src}/utils/async-iterable/tap-async-iteratable.d.ts +0 -1
  36. package/{src → dist/src}/utils/binary-extensions.d.ts +0 -1
  37. package/{src → dist/src}/utils/calculate-hash-for-create-nodes.d.ts +0 -1
  38. package/{src → dist/src}/utils/catalog/index.d.ts +0 -1
  39. package/{src → dist/src}/utils/catalog/manager-factory.d.ts +0 -1
  40. package/{src → dist/src}/utils/catalog/manager.d.ts +0 -1
  41. package/{src → dist/src}/utils/catalog/pnpm-manager.d.ts +0 -1
  42. package/{src → dist/src}/utils/catalog/types.d.ts +0 -1
  43. package/{src → dist/src}/utils/catalog/yarn-manager.d.ts +0 -1
  44. package/{src → dist/src}/utils/config-utils.d.ts +0 -1
  45. package/{src → dist/src}/utils/convert-nx-executor.d.ts +0 -1
  46. package/{src → dist/src}/utils/find-plugin-for-config-file.d.ts +0 -1
  47. package/dist/src/utils/find-plugin-for-config-file.js +28 -0
  48. package/{src → dist/src}/utils/get-named-inputs.d.ts +0 -1
  49. package/{src → dist/src}/utils/get-workspace-layout.d.ts +0 -1
  50. package/dist/src/utils/installed-version.d.ts +29 -0
  51. package/dist/src/utils/installed-version.js +57 -0
  52. package/{src → dist/src}/utils/invoke-nx-generator.d.ts +0 -1
  53. package/{src → dist/src}/utils/log-show-project-command.d.ts +0 -1
  54. package/{src → dist/src}/utils/move-dir.d.ts +0 -1
  55. package/{src → dist/src}/utils/names.d.ts +0 -1
  56. package/{src → dist/src}/utils/offset-from-root.d.ts +0 -1
  57. package/{src → dist/src}/utils/package-json.d.ts +0 -1
  58. package/{src → dist/src}/utils/replace-package.d.ts +0 -1
  59. package/{src → dist/src}/utils/replace-project-configuration-with-plugin.d.ts +0 -1
  60. package/{src → dist/src}/utils/rxjs-for-await.d.ts +0 -1
  61. package/{src → dist/src}/utils/semver.d.ts +0 -1
  62. package/{src → dist/src}/utils/string-change.d.ts +0 -1
  63. package/{src → dist/src}/utils/string-utils.d.ts +0 -1
  64. package/dist/src/utils/version-floor.d.ts +25 -0
  65. package/dist/src/utils/version-floor.js +45 -0
  66. package/{src → dist/src}/utils/versions.d.ts +0 -1
  67. package/{testing.d.ts → dist/testing.d.ts} +0 -1
  68. package/migrations.json +9 -3
  69. package/package.json +57 -7
  70. package/assets.json +0 -15
  71. package/index.d.ts.map +0 -1
  72. package/internal.d.ts +0 -2
  73. package/internal.d.ts.map +0 -1
  74. package/internal.js +0 -8
  75. package/ngcli-adapter.d.ts.map +0 -1
  76. package/project.json +0 -14
  77. package/public-api.d.ts.map +0 -1
  78. package/src/executors/parse-target-string.d.ts.map +0 -1
  79. package/src/executors/read-target-options.d.ts.map +0 -1
  80. package/src/generators/artifact-name-and-directory-utils.d.ts.map +0 -1
  81. package/src/generators/e2e-web-server-info-utils.d.ts.map +0 -1
  82. package/src/generators/executor-options-utils.d.ts.map +0 -1
  83. package/src/generators/format-files.d.ts.map +0 -1
  84. package/src/generators/generate-files.d.ts.map +0 -1
  85. package/src/generators/plugin-migrations/aggregate-log-util.d.ts.map +0 -1
  86. package/src/generators/plugin-migrations/executor-to-plugin-migrator.d.ts.map +0 -1
  87. package/src/generators/plugin-migrations/plugin-migration-utils.d.ts.map +0 -1
  88. package/src/generators/project-name-and-root-utils.d.ts.map +0 -1
  89. package/src/generators/prompt.d.ts.map +0 -1
  90. package/src/generators/run-tasks-in-serial.d.ts.map +0 -1
  91. package/src/generators/target-defaults-utils.d.ts.map +0 -1
  92. package/src/generators/to-js.d.ts.map +0 -1
  93. package/src/generators/typescript/insert-import.d.ts.map +0 -1
  94. package/src/generators/typescript/insert-statement.d.ts.map +0 -1
  95. package/src/generators/update-ts-configs-to-js.d.ts.map +0 -1
  96. package/src/generators/visit-not-ignored-files.d.ts.map +0 -1
  97. package/src/tasks/install-packages-task.d.ts.map +0 -1
  98. package/src/utils/add-plugin.d.ts.map +0 -1
  99. package/src/utils/async-iterable/combine-async-iterables.d.ts.map +0 -1
  100. package/src/utils/async-iterable/create-async-iterable.d.ts.map +0 -1
  101. package/src/utils/async-iterable/index.d.ts.map +0 -1
  102. package/src/utils/async-iterable/map-async-iteratable.d.ts.map +0 -1
  103. package/src/utils/async-iterable/tap-async-iteratable.d.ts.map +0 -1
  104. package/src/utils/binary-extensions.d.ts.map +0 -1
  105. package/src/utils/calculate-hash-for-create-nodes.d.ts.map +0 -1
  106. package/src/utils/catalog/index.d.ts.map +0 -1
  107. package/src/utils/catalog/manager-factory.d.ts.map +0 -1
  108. package/src/utils/catalog/manager.d.ts.map +0 -1
  109. package/src/utils/catalog/pnpm-manager.d.ts.map +0 -1
  110. package/src/utils/catalog/types.d.ts.map +0 -1
  111. package/src/utils/catalog/yarn-manager.d.ts.map +0 -1
  112. package/src/utils/config-utils.d.ts.map +0 -1
  113. package/src/utils/convert-nx-executor.d.ts.map +0 -1
  114. package/src/utils/find-plugin-for-config-file.d.ts.map +0 -1
  115. package/src/utils/find-plugin-for-config-file.js +0 -61
  116. package/src/utils/get-named-inputs.d.ts.map +0 -1
  117. package/src/utils/get-workspace-layout.d.ts.map +0 -1
  118. package/src/utils/invoke-nx-generator.d.ts.map +0 -1
  119. package/src/utils/log-show-project-command.d.ts.map +0 -1
  120. package/src/utils/move-dir.d.ts.map +0 -1
  121. package/src/utils/names.d.ts.map +0 -1
  122. package/src/utils/offset-from-root.d.ts.map +0 -1
  123. package/src/utils/package-json.d.ts.map +0 -1
  124. package/src/utils/replace-package.d.ts.map +0 -1
  125. package/src/utils/replace-project-configuration-with-plugin.d.ts.map +0 -1
  126. package/src/utils/rxjs-for-await.d.ts.map +0 -1
  127. package/src/utils/semver.d.ts.map +0 -1
  128. package/src/utils/string-change.d.ts.map +0 -1
  129. package/src/utils/string-utils.d.ts.map +0 -1
  130. package/src/utils/versions.d.ts.map +0 -1
  131. package/testing.d.ts.map +0 -1
  132. /package/{LICENSE → dist/LICENSE} +0 -0
  133. /package/{index.js → dist/index.js} +0 -0
  134. /package/{ngcli-adapter.js → dist/ngcli-adapter.js} +0 -0
  135. /package/{public-api.js → dist/public-api.js} +0 -0
  136. /package/{src → dist/src}/executors/parse-target-string.js +0 -0
  137. /package/{src → dist/src}/executors/read-target-options.js +0 -0
  138. /package/{src → dist/src}/generators/artifact-name-and-directory-utils.js +0 -0
  139. /package/{src → dist/src}/generators/e2e-web-server-info-utils.js +0 -0
  140. /package/{src → dist/src}/generators/executor-options-utils.js +0 -0
  141. /package/{src → dist/src}/generators/generate-files.js +0 -0
  142. /package/{src → dist/src}/generators/plugin-migrations/aggregate-log-util.js +0 -0
  143. /package/{src → dist/src}/generators/plugin-migrations/executor-to-plugin-migrator.js +0 -0
  144. /package/{src → dist/src}/generators/plugin-migrations/plugin-migration-utils.js +0 -0
  145. /package/{src → dist/src}/generators/project-name-and-root-utils.js +0 -0
  146. /package/{src → dist/src}/generators/prompt.js +0 -0
  147. /package/{src → dist/src}/generators/run-tasks-in-serial.js +0 -0
  148. /package/{src → dist/src}/generators/to-js.js +0 -0
  149. /package/{src → dist/src}/generators/typescript/insert-import.js +0 -0
  150. /package/{src → dist/src}/generators/typescript/insert-statement.js +0 -0
  151. /package/{src → dist/src}/generators/update-ts-configs-to-js.js +0 -0
  152. /package/{src → dist/src}/generators/visit-not-ignored-files.js +0 -0
  153. /package/{src → dist/src}/tasks/install-packages-task.js +0 -0
  154. /package/{src → dist/src}/utils/add-plugin.js +0 -0
  155. /package/{src → dist/src}/utils/async-iterable/combine-async-iterables.js +0 -0
  156. /package/{src → dist/src}/utils/async-iterable/create-async-iterable.js +0 -0
  157. /package/{src → dist/src}/utils/async-iterable/index.js +0 -0
  158. /package/{src → dist/src}/utils/async-iterable/map-async-iteratable.js +0 -0
  159. /package/{src → dist/src}/utils/async-iterable/tap-async-iteratable.js +0 -0
  160. /package/{src → dist/src}/utils/binary-extensions.js +0 -0
  161. /package/{src → dist/src}/utils/calculate-hash-for-create-nodes.js +0 -0
  162. /package/{src → dist/src}/utils/catalog/index.js +0 -0
  163. /package/{src → dist/src}/utils/catalog/manager-factory.js +0 -0
  164. /package/{src → dist/src}/utils/catalog/manager.js +0 -0
  165. /package/{src → dist/src}/utils/catalog/pnpm-manager.js +0 -0
  166. /package/{src → dist/src}/utils/catalog/types.js +0 -0
  167. /package/{src → dist/src}/utils/catalog/yarn-manager.js +0 -0
  168. /package/{src → dist/src}/utils/config-utils.js +0 -0
  169. /package/{src → dist/src}/utils/convert-nx-executor.js +0 -0
  170. /package/{src → dist/src}/utils/get-named-inputs.js +0 -0
  171. /package/{src → dist/src}/utils/get-workspace-layout.js +0 -0
  172. /package/{src → dist/src}/utils/invoke-nx-generator.js +0 -0
  173. /package/{src → dist/src}/utils/log-show-project-command.js +0 -0
  174. /package/{src → dist/src}/utils/move-dir.js +0 -0
  175. /package/{src → dist/src}/utils/names.js +0 -0
  176. /package/{src → dist/src}/utils/offset-from-root.js +0 -0
  177. /package/{src → dist/src}/utils/package-json.js +0 -0
  178. /package/{src → dist/src}/utils/replace-package.js +0 -0
  179. /package/{src → dist/src}/utils/replace-project-configuration-with-plugin.js +0 -0
  180. /package/{src → dist/src}/utils/rxjs-for-await.js +0 -0
  181. /package/{src → dist/src}/utils/semver.js +0 -0
  182. /package/{src → dist/src}/utils/string-change.js +0 -0
  183. /package/{src → dist/src}/utils/string-utils.js +0 -0
  184. /package/{src → dist/src}/utils/versions.js +0 -0
  185. /package/{testing.js → dist/testing.js} +0 -0
@@ -5,4 +5,3 @@ export interface AsyncPushCallbacks<T> {
5
5
  registerCleanup?: (cb: () => void | Promise<void>) => void;
6
6
  }
7
7
  export declare function createAsyncIterable<T = unknown>(listener: (ls: AsyncPushCallbacks<T>) => void): AsyncIterable<T>;
8
- //# sourceMappingURL=create-async-iterable.d.ts.map
@@ -2,4 +2,3 @@ export * from './create-async-iterable';
2
2
  export * from './combine-async-iterables';
3
3
  export * from './map-async-iteratable';
4
4
  export * from './tap-async-iteratable';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function mapAsyncIterable<T = any, I = any, O = any>(data: AsyncIterable<T> | AsyncIterableIterator<T>, transform: (input: I, index?: number, data?: AsyncIterable<T> | AsyncIterableIterator<T>) => O): AsyncIterable<O> | AsyncIterableIterator<O>;
2
- //# sourceMappingURL=map-async-iteratable.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function tapAsyncIterable<T = any, I = any, O = any>(data: AsyncIterable<T> | AsyncIterableIterator<T>, fn: (input: I) => void): AsyncIterable<T> | AsyncIterableIterator<T>;
2
- //# sourceMappingURL=tap-async-iteratable.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function isBinaryPath(path: string): boolean;
2
- //# sourceMappingURL=binary-extensions.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { CreateNodesContextV2 } from 'nx/src/devkit-exports';
2
2
  export declare function calculateHashForCreateNodes(projectRoot: string, options: object, context: CreateNodesContextV2, additionalGlobs?: string[]): Promise<string>;
3
3
  export declare function calculateHashesForCreateNodes(projectRoots: string[], options: object, context: CreateNodesContextV2, additionalGlobs?: string[][]): Promise<string[]>;
4
- //# sourceMappingURL=calculate-hash-for-create-nodes.d.ts.map
@@ -7,4 +7,3 @@ export { type CatalogManager, getCatalogManager };
7
7
  * Returns Map of package name -> catalog name (undefined for default catalog)
8
8
  */
9
9
  export declare function getCatalogDependenciesFromPackageJson(tree: Tree, packageJsonPath: string, manager: CatalogManager): Map<string, string | undefined>;
10
- //# sourceMappingURL=index.d.ts.map
@@ -3,4 +3,3 @@ import type { CatalogManager } from './manager';
3
3
  * Factory function to get the appropriate catalog manager based on the package manager
4
4
  */
5
5
  export declare function getCatalogManager(workspaceRoot: string): CatalogManager | null;
6
- //# sourceMappingURL=manager-factory.d.ts.map
@@ -38,4 +38,3 @@ export interface CatalogManager {
38
38
  catalogName?: string;
39
39
  }>): void;
40
40
  }
41
- //# sourceMappingURL=manager.d.ts.map
@@ -19,4 +19,3 @@ export declare class PnpmCatalogManager implements CatalogManager {
19
19
  catalogName?: string;
20
20
  }>): void;
21
21
  }
22
- //# sourceMappingURL=pnpm-manager.d.ts.map
@@ -9,4 +9,3 @@ export interface CatalogDefinitions {
9
9
  catalog?: CatalogEntry;
10
10
  catalogs?: Record<string, CatalogEntry>;
11
11
  }
12
- //# sourceMappingURL=types.d.ts.map
@@ -19,4 +19,3 @@ export declare class YarnCatalogManager implements CatalogManager {
19
19
  catalogName?: string;
20
20
  }>): void;
21
21
  }
22
- //# sourceMappingURL=yarn-manager.d.ts.map
@@ -3,4 +3,3 @@ export declare function loadConfigFile<T extends object = any>(configFilePath: s
3
3
  export declare function getRootTsConfigPath(): string | null;
4
4
  export declare function getRootTsConfigFileName(): string | null;
5
5
  export declare function clearRequireCache(): void;
6
- //# sourceMappingURL=config-utils.d.ts.map
@@ -5,4 +5,3 @@ import type { Executor } from 'nx/src/devkit-exports';
5
5
  * Use this to expose a compatible Angular Builder
6
6
  */
7
7
  export declare function convertNxExecutor(executor: Executor): any;
8
- //# sourceMappingURL=convert-nx-executor.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { type Tree, type PluginConfiguration } from 'nx/src/devkit-exports';
2
2
  export declare function findPluginForConfigFile(tree: Tree, pluginName: string, pathToConfigFile: string): Promise<PluginConfiguration>;
3
- //# sourceMappingURL=find-plugin-for-config-file.d.ts.map
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.findPluginForConfigFile = findPluginForConfigFile;
4
+ const devkit_exports_1 = require("nx/src/devkit-exports");
5
+ const devkit_internals_1 = require("nx/src/devkit-internals");
6
+ async function findPluginForConfigFile(tree, pluginName, pathToConfigFile) {
7
+ const nxJson = (0, devkit_exports_1.readNxJson)(tree);
8
+ if (!nxJson.plugins) {
9
+ return;
10
+ }
11
+ const pluginRegistrations = nxJson.plugins.filter((p) => (typeof p === 'string' ? p === pluginName : p.plugin === pluginName));
12
+ for (const plugin of pluginRegistrations) {
13
+ if (typeof plugin === 'string') {
14
+ return plugin;
15
+ }
16
+ if (!plugin.include && !plugin.exclude) {
17
+ return plugin;
18
+ }
19
+ if (plugin.include || plugin.exclude) {
20
+ const resolvedPlugin = await import(pluginName);
21
+ const pluginGlob = resolvedPlugin.createNodesV2?.[0] ?? resolvedPlugin.createNodes?.[0];
22
+ const matchingConfigFile = (0, devkit_internals_1.findMatchingConfigFiles)([pathToConfigFile], pluginGlob, plugin.include, plugin.exclude);
23
+ if (matchingConfigFile.length) {
24
+ return plugin;
25
+ }
26
+ }
27
+ }
28
+ }
@@ -6,4 +6,3 @@ import { CreateNodesContextV2 } from 'nx/src/devkit-exports';
6
6
  export declare function getNamedInputs(directory: string, context: CreateNodesContextV2): {
7
7
  [inputName: string]: (string | InputDefinition)[];
8
8
  };
9
- //# sourceMappingURL=get-named-inputs.d.ts.map
@@ -22,4 +22,3 @@ export declare function extractLayoutDirectory(directory?: string): {
22
22
  layoutDirectory: string | null;
23
23
  projectDirectory?: string;
24
24
  };
25
- //# sourceMappingURL=get-workspace-layout.d.ts.map
@@ -0,0 +1,29 @@
1
+ import type { Tree } from 'nx/src/devkit-exports';
2
+ /**
3
+ * Returns the concrete version of a package as resolved by Node module
4
+ * resolution from the workspace. Reads the installed package's own
5
+ * `package.json` — not the workspace's declared range.
6
+ *
7
+ * Use this from executor / runtime contexts where node_modules is present.
8
+ * Generator-time code should use `getDeclaredPackageVersion` instead.
9
+ *
10
+ * Returns `null` when the package is not resolvable.
11
+ */
12
+ export declare function getInstalledPackageVersion(packageName: string): string | null;
13
+ /**
14
+ * Returns the declared version of a package as read from the workspace's
15
+ * `package.json`, normalized to a plain semver string (range markers
16
+ * stripped) suitable for arithmetic comparisons (e.g. `lt(v, '1.37.0')`).
17
+ *
18
+ * When the package is missing or declared as `latest`/`next`, falls back to
19
+ * the cleaned `latestKnownVersion` if provided; otherwise returns `null`.
20
+ *
21
+ * Use this from generator-time contexts where node_modules is not assumed
22
+ * to be present. Executor / runtime code should use
23
+ * `getInstalledPackageVersion` instead.
24
+ */
25
+ export declare function getDeclaredPackageVersion(tree: Tree, packageName: string, latestKnownVersion?: string): string | null;
26
+ export declare const NON_SEMVER_DIST_TAGS: readonly ["latest", "next"];
27
+ export type NonSemverDistTag = (typeof NON_SEMVER_DIST_TAGS)[number];
28
+ export declare function isNonSemverDistTag(version: string): version is NonSemverDistTag;
29
+ export declare function normalizeSemver(version: string): string | null;
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NON_SEMVER_DIST_TAGS = void 0;
4
+ exports.getInstalledPackageVersion = getInstalledPackageVersion;
5
+ exports.getDeclaredPackageVersion = getDeclaredPackageVersion;
6
+ exports.isNonSemverDistTag = isNonSemverDistTag;
7
+ exports.normalizeSemver = normalizeSemver;
8
+ const devkit_internals_1 = require("nx/src/devkit-internals");
9
+ const semver_1 = require("semver");
10
+ const package_json_1 = require("./package-json");
11
+ /**
12
+ * Returns the concrete version of a package as resolved by Node module
13
+ * resolution from the workspace. Reads the installed package's own
14
+ * `package.json` — not the workspace's declared range.
15
+ *
16
+ * Use this from executor / runtime contexts where node_modules is present.
17
+ * Generator-time code should use `getDeclaredPackageVersion` instead.
18
+ *
19
+ * Returns `null` when the package is not resolvable.
20
+ */
21
+ function getInstalledPackageVersion(packageName) {
22
+ try {
23
+ const { packageJson } = (0, devkit_internals_1.readModulePackageJson)(packageName);
24
+ return packageJson.version ?? null;
25
+ }
26
+ catch {
27
+ return null;
28
+ }
29
+ }
30
+ /**
31
+ * Returns the declared version of a package as read from the workspace's
32
+ * `package.json`, normalized to a plain semver string (range markers
33
+ * stripped) suitable for arithmetic comparisons (e.g. `lt(v, '1.37.0')`).
34
+ *
35
+ * When the package is missing or declared as `latest`/`next`, falls back to
36
+ * the cleaned `latestKnownVersion` if provided; otherwise returns `null`.
37
+ *
38
+ * Use this from generator-time contexts where node_modules is not assumed
39
+ * to be present. Executor / runtime code should use
40
+ * `getInstalledPackageVersion` instead.
41
+ */
42
+ function getDeclaredPackageVersion(tree, packageName, latestKnownVersion) {
43
+ const declared = (0, package_json_1.getDependencyVersionFromPackageJson)(tree, packageName);
44
+ if (declared && !isNonSemverDistTag(declared)) {
45
+ const normalized = normalizeSemver(declared);
46
+ if (normalized)
47
+ return normalized;
48
+ }
49
+ return latestKnownVersion ? normalizeSemver(latestKnownVersion) : null;
50
+ }
51
+ exports.NON_SEMVER_DIST_TAGS = ['latest', 'next'];
52
+ function isNonSemverDistTag(version) {
53
+ return exports.NON_SEMVER_DIST_TAGS.includes(version);
54
+ }
55
+ function normalizeSemver(version) {
56
+ return (0, semver_1.clean)(version) ?? (0, semver_1.coerce)(version)?.version ?? null;
57
+ }
@@ -4,4 +4,3 @@ import { Generator } from 'nx/src/devkit-exports';
4
4
  * @param generator The Nx generator to convert to an Angular Devkit Schematic.
5
5
  */
6
6
  export declare function convertNxGenerator<T = any>(generator: Generator<T>, skipWritingConfigInOldFormat?: boolean): (generatorOptions: T) => (tree: any, context: any) => Promise<any>;
7
- //# sourceMappingURL=invoke-nx-generator.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function logShowProjectCommand(projectName: string): void;
2
- //# sourceMappingURL=log-show-project-command.d.ts.map
@@ -3,4 +3,3 @@ import { Tree } from 'nx/src/devkit-exports';
3
3
  * Analogous to cp -r oldDir newDir
4
4
  */
5
5
  export declare function moveFilesToNewDirectory(tree: Tree, oldDir: string, newDir: string): void;
6
- //# sourceMappingURL=move-dir.d.ts.map
@@ -16,4 +16,3 @@ export declare function names(name: string): {
16
16
  constantName: string;
17
17
  fileName: string;
18
18
  };
19
- //# sourceMappingURL=names.d.ts.map
@@ -11,4 +11,3 @@
11
11
  * @param fullPathToDir - directory path
12
12
  */
13
13
  export declare function offsetFromRoot(fullPathToDir: string): string;
14
- //# sourceMappingURL=offset-from-root.d.ts.map
@@ -153,4 +153,3 @@ export declare function ensurePackage<T extends any = any>(pkg: string, version:
153
153
  * @description The version of Nx used by the workspace. Returns null if no version is found.
154
154
  */
155
155
  export declare const NX_VERSION: string;
156
- //# sourceMappingURL=package-json.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { Tree } from 'nx/src/devkit-exports';
2
2
  export declare function replaceNrwlPackageWithNxPackage(tree: Tree, oldPackageName: string, newPackageName: string): void;
3
- //# sourceMappingURL=replace-package.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { CreateNodesV2, Tree } from 'nx/src/devkit-exports';
2
2
  export declare function replaceProjectConfigurationsWithPlugin<T = unknown>(tree: Tree, rootMappings: Map<string, string>, pluginPath: string, createNodes: CreateNodesV2<T>, pluginOptions: T): Promise<void>;
3
- //# sourceMappingURL=replace-project-configuration-with-plugin.d.ts.map
@@ -107,4 +107,3 @@ export declare function latestValueFrom<T>(source: Observable<T>): AsyncGenerato
107
107
  * @param source the Observable source to await values from
108
108
  */
109
109
  export declare function nextValueFrom<T>(source: Observable<T>): AsyncGenerator<T, void, void>;
110
- //# sourceMappingURL=rxjs-for-await.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { type Tree } from 'nx/src/devkit-exports';
2
2
  export declare function checkAndCleanWithSemver(pkgName: string, version: string): string;
3
3
  export declare function checkAndCleanWithSemver(tree: Tree, pkgName: string, version: string): string;
4
- //# sourceMappingURL=semver.d.ts.map
@@ -60,4 +60,3 @@ export type StringChange = StringInsertion | StringDeletion;
60
60
  * ```
61
61
  */
62
62
  export declare function applyChangesToString(text: string, changes: StringChange[]): string;
63
- //# sourceMappingURL=string-change.d.ts.map
@@ -93,4 +93,3 @@ export declare function underscore(str: string): string;
93
93
  export declare function capitalize(str: string): string;
94
94
  export declare function group(name: string, group: string | undefined): string;
95
95
  export declare function featurePath(group: boolean | undefined, flat: boolean | undefined, path: string, name: string): string;
96
- //# sourceMappingURL=string-utils.d.ts.map
@@ -0,0 +1,25 @@
1
+ import type { Tree } from 'nx/src/devkit-exports';
2
+ /**
3
+ * Throws a standardized error when a package is installed at a version below
4
+ * a plugin's supported floor.
5
+ *
6
+ * Use this at every site where a plugin determines the installed version of
7
+ * a supported package is below its declared floor, so the message is
8
+ * consistent across plugins.
9
+ *
10
+ * @param packageName Name of the package (e.g. `@angular/core`).
11
+ * @param installedVersion Version detected in the workspace (e.g. `18.2.0`).
12
+ * @param floor Lowest version the plugin supports (e.g. `19.0.0`).
13
+ */
14
+ export declare function throwForUnsupportedVersion(packageName: string, installedVersion: string, floor: string): never;
15
+ /**
16
+ * Asserts that a package detected in the workspace is at or above the
17
+ * plugin's supported floor. No-op when the package is not detected
18
+ * (fresh-install path) or when declared as `latest`/`next`. Throws via
19
+ * `throwForUnsupportedVersion` (with the original declared range for
20
+ * clarity) when below floor.
21
+ *
22
+ * Use from generator entry points to fail fast on unsupported workspaces
23
+ * before writing any incompatible config.
24
+ */
25
+ export declare function assertSupportedPackageVersion(tree: Tree, packageName: string, minSupportedVersion: string): void;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.throwForUnsupportedVersion = throwForUnsupportedVersion;
4
+ exports.assertSupportedPackageVersion = assertSupportedPackageVersion;
5
+ const semver_1 = require("semver");
6
+ const installed_version_1 = require("./installed-version");
7
+ const package_json_1 = require("./package-json");
8
+ /**
9
+ * Throws a standardized error when a package is installed at a version below
10
+ * a plugin's supported floor.
11
+ *
12
+ * Use this at every site where a plugin determines the installed version of
13
+ * a supported package is below its declared floor, so the message is
14
+ * consistent across plugins.
15
+ *
16
+ * @param packageName Name of the package (e.g. `@angular/core`).
17
+ * @param installedVersion Version detected in the workspace (e.g. `18.2.0`).
18
+ * @param floor Lowest version the plugin supports (e.g. `19.0.0`).
19
+ */
20
+ function throwForUnsupportedVersion(packageName, installedVersion, floor) {
21
+ throw new Error(`Unsupported version of \`${packageName}\` detected.\n\n` +
22
+ ` Installed: ${installedVersion}\n` +
23
+ ` Supported: >= ${floor}\n\n` +
24
+ `Update \`${packageName}\` to ${floor} or higher.`);
25
+ }
26
+ /**
27
+ * Asserts that a package detected in the workspace is at or above the
28
+ * plugin's supported floor. No-op when the package is not detected
29
+ * (fresh-install path) or when declared as `latest`/`next`. Throws via
30
+ * `throwForUnsupportedVersion` (with the original declared range for
31
+ * clarity) when below floor.
32
+ *
33
+ * Use from generator entry points to fail fast on unsupported workspaces
34
+ * before writing any incompatible config.
35
+ */
36
+ function assertSupportedPackageVersion(tree, packageName, minSupportedVersion) {
37
+ const declared = (0, package_json_1.getDependencyVersionFromPackageJson)(tree, packageName);
38
+ if (!declared || (0, installed_version_1.isNonSemverDistTag)(declared)) {
39
+ return;
40
+ }
41
+ const cleaned = (0, installed_version_1.normalizeSemver)(declared);
42
+ if (cleaned && (0, semver_1.lt)(cleaned, minSupportedVersion)) {
43
+ throwForUnsupportedVersion(packageName, declared, minSupportedVersion);
44
+ }
45
+ }
@@ -1,2 +1 @@
1
1
  export declare const typescriptVersion = "~5.9.2";
2
- //# sourceMappingURL=versions.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from 'nx/src/devkit-testing-exports';
2
- //# sourceMappingURL=testing.d.ts.map
package/migrations.json CHANGED
@@ -1,5 +1,11 @@
1
1
  {
2
- "generators": {},
3
- "packageJsonUpdates": {},
4
- "version": "0.1"
2
+ "generators": {
3
+ "update-devkit-deep-imports": {
4
+ "version": "23.0.0-beta.6",
5
+ "description": "Rewrite imports from `@nx/devkit/src/...` to `@nx/devkit` (for public symbols) or `@nx/devkit/internal` (for the rest), since deep imports are no longer reachable through the package's `exports` map.",
6
+ "implementation": "./dist/src/migrations/update-23-0-0/update-deep-imports"
7
+ }
8
+ },
9
+ "packageJsonUpdates": {},
10
+ "version": "0.1"
5
11
  }
package/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@nx/devkit",
3
- "version": "23.0.0-beta.1",
3
+ "version": "23.0.0-beta.10",
4
4
  "private": false,
5
+ "type": "commonjs",
6
+ "files": [
7
+ "dist",
8
+ "!dist/tsconfig.tsbuildinfo",
9
+ "migrations.json"
10
+ ],
5
11
  "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
12
  "repository": {
7
13
  "type": "git",
@@ -19,9 +25,24 @@
19
25
  "Cypress",
20
26
  "CLI"
21
27
  ],
22
- "main": "./index.js",
23
- "type": "commonjs",
24
- "types": "./index.d.ts",
28
+ "main": "./dist/index.js",
29
+ "types": "./dist/index.d.ts",
30
+ "typesVersions": {
31
+ "*": {
32
+ "testing": [
33
+ "dist/testing.d.ts"
34
+ ],
35
+ "ngcli-adapter": [
36
+ "dist/ngcli-adapter.d.ts"
37
+ ],
38
+ "internal": [
39
+ "dist/internal.d.ts"
40
+ ],
41
+ "internal-testing-utils": [
42
+ "dist/internal-testing-utils.d.ts"
43
+ ]
44
+ }
45
+ },
25
46
  "author": "Victor Savkin",
26
47
  "license": "MIT",
27
48
  "bugs": {
@@ -34,12 +55,12 @@
34
55
  "tslib": "^2.3.0",
35
56
  "semver": "^7.6.3",
36
57
  "yargs-parser": "21.1.1",
37
- "minimatch": "10.2.4",
58
+ "minimatch": "10.2.5",
38
59
  "enquirer": "~2.3.6"
39
60
  },
40
61
  "devDependencies": {
41
- "jest": "^30.0.2",
42
- "nx": "23.0.0-beta.1"
62
+ "jest": "30.3.0",
63
+ "nx": "23.0.0-beta.10"
43
64
  },
44
65
  "peerDependencies": {
45
66
  "nx": ">= 22 <= 24 || ^23.0.0-0"
@@ -49,5 +70,34 @@
49
70
  },
50
71
  "nx-migrations": {
51
72
  "migrations": "./migrations.json"
73
+ },
74
+ "exports": {
75
+ ".": {
76
+ "@nx/nx-source": "./index.ts",
77
+ "types": "./dist/index.d.ts",
78
+ "default": "./dist/index.js"
79
+ },
80
+ "./package.json": "./package.json",
81
+ "./migrations.json": "./migrations.json",
82
+ "./internal": {
83
+ "@nx/nx-source": "./internal.ts",
84
+ "types": "./dist/internal.d.ts",
85
+ "default": "./dist/internal.js"
86
+ },
87
+ "./internal-testing-utils": {
88
+ "@nx/nx-source": "./internal-testing-utils.ts",
89
+ "types": "./dist/internal-testing-utils.d.ts",
90
+ "default": "./dist/internal-testing-utils.js"
91
+ },
92
+ "./ngcli-adapter": {
93
+ "@nx/nx-source": "./ngcli-adapter.ts",
94
+ "types": "./dist/ngcli-adapter.d.ts",
95
+ "default": "./dist/ngcli-adapter.js"
96
+ },
97
+ "./testing": {
98
+ "@nx/nx-source": "./testing.ts",
99
+ "types": "./dist/testing.d.ts",
100
+ "default": "./dist/testing.js"
101
+ }
52
102
  }
53
103
  }
package/assets.json DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "outDir": "dist/packages/devkit",
3
- "assets": [
4
- {
5
- "glob": "**/files/**"
6
- },
7
- {
8
- "glob": "**/files/**/.gitkeep"
9
- },
10
- {
11
- "glob": "src/**/schema.d.ts"
12
- },
13
- "LICENSE"
14
- ]
15
- }
package/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/devkit/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC"}
package/internal.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { signalToCode, createProjectRootMappingsFromProjectConfigurations, PluginCache, safeWriteFileCache, } from 'nx/src/devkit-internals';
2
- //# sourceMappingURL=internal.d.ts.map
package/internal.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../packages/devkit/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,kDAAkD,EAClD,WAAW,EACX,kBAAkB,GACnB,MAAM,yBAAyB,CAAC"}
package/internal.js DELETED
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.safeWriteFileCache = exports.PluginCache = exports.createProjectRootMappingsFromProjectConfigurations = exports.signalToCode = void 0;
4
- var devkit_internals_1 = require("nx/src/devkit-internals");
5
- Object.defineProperty(exports, "signalToCode", { enumerable: true, get: function () { return devkit_internals_1.signalToCode; } });
6
- Object.defineProperty(exports, "createProjectRootMappingsFromProjectConfigurations", { enumerable: true, get: function () { return devkit_internals_1.createProjectRootMappingsFromProjectConfigurations; } });
7
- Object.defineProperty(exports, "PluginCache", { enumerable: true, get: function () { return devkit_internals_1.PluginCache; } });
8
- Object.defineProperty(exports, "safeWriteFileCache", { enumerable: true, get: function () { return devkit_internals_1.safeWriteFileCache; } });
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngcli-adapter.d.ts","sourceRoot":"","sources":["../../../packages/devkit/ngcli-adapter.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,YAAY,GACb,MAAM,8BAA8B,CAAC"}
package/project.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "name": "devkit",
3
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
4
- "sourceRoot": "packages/devkit",
5
- "projectType": "library",
6
- "targets": {
7
- "build": {
8
- "outputs": ["{workspaceRoot}/dist/packages/devkit/README.md"],
9
- "command": "node ./scripts/copy-readme.js devkit",
10
- "inputs": ["copyReadme"],
11
- "dependsOn": ["^build", "build-base"]
12
- }
13
- }
14
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../packages/devkit/public-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D;;GAEG;AACH,OAAO,EACL,aAAa,EACb,iBAAiB,GAClB,MAAM,iCAAiC,CAAC;AAEzC;;GAEG;AACH,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;GAEG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAE/E;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE;;GAEG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAEhF,OAAO,EACL,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,qCAAqC,CAAC;AAE7C;;GAEG;AACH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE;;GAEG;AACH,OAAO,EACL,4BAA4B,EAC5B,iCAAiC,EACjC,aAAa,EACb,mCAAmC,EACnC,UAAU,GACX,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE;;GAEG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C;;GAEG;AACH,OAAO,EACL,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,kCAAkC,CAAC;AAE1C;;GAEG;AACH,YAAY,EACV,YAAY,EACZ,cAAc,EACd,eAAe,GAChB,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AACH,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE7E;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE;;GAEG;AACH,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse-target-string.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/executors/parse-target-string.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,YAAY,EAEZ,MAAM,EACP,MAAM,uBAAuB,CAAC;AAG/B;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,YAAY,GACzB,MAAM,CAAC;AACV;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,eAAe,GACnB,MAAM,CAAC;AAiDV;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,MAAM,EACN,aAAa,GACd,EAAE,MAAM,GAAG,MAAM,CAIjB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"read-target-options.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/executors/read-target-options.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AASrE;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,GAAG,EACvC,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,MAAM,EAC1C,OAAO,EAAE,eAAe,GACvB,CAAC,CAsCH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"artifact-name-and-directory-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/artifact-name-and-directory-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,IAAI,EACV,MAAM,uBAAuB,CAAC;AAe/B,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC;IACb;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC;AACtD,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAsB,wCAAwC,CAC5D,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,uBAAuB,CAAC,CASlC;AAqFD,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAEzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"e2e-web-server-info-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/e2e-web-server-info-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,IAAI,EAIV,MAAM,uBAAuB,CAAC;AAI/B,UAAU,yBAAyB;IACjC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,4BAA4B,EAAE,MAAM,CAAC;IACrC,0BAA0B,EAAE,MAAM,CAAC;IACnC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,yBAAyB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAClC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,yBAAyB,EACxC,aAAa,EAAE,yBAAyB,EACxC,kBAAkB,EAAE,OAAO,GAC1B,OAAO,CAAC,mBAAmB,CAAC,CAmB9B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor-options-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/executor-options-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EACZ,IAAI,EACL,MAAM,uBAAuB,CAAC;AAE/B,KAAK,QAAQ,CAAC,CAAC,IAAI,CACjB,YAAY,EAAE,CAAC,EACf,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,aAAa,CAAC,EAAE,MAAM,KACnB,IAAI,CAAC;AAEV;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAC5C,IAAI,EAAE,IAAI;AACV;;GAEG;AACH,YAAY,EAAE,MAAM;AACpB;;GAEG;AACH,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,GAC1B,IAAI,CAEN;AAED;;;IAGI;AACJ,wBAAgB,6BAA6B,CAAC,OAAO,EACnD,KAAK,EAAE,YAAY,EACnB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,GAC1B,IAAI,CAKN"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"format-files.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/format-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,IAAI,EAAa,MAAM,uBAAuB,CAAC;AAQlE;;;;;;;;;;;;;GAaG;AACH,wBAAsB,WAAW,CAC/B,IAAI,EAAE,IAAI,EACV,OAAO,GAAE;IACP,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAC5B,GACL,OAAO,CAAC,IAAI,CAAC,CAmEf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"generate-files.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/generate-files.ts"],"names":[],"mappings":"AAIA,OAAO,EAAU,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAGD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EACnC,OAAO,GAAE,oBAER,GACA,IAAI,CAmDN"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"aggregate-log-util.d.ts","sourceRoot":"","sources":["../../../../../../packages/devkit/src/generators/plugin-migrations/aggregate-log-util.ts"],"names":[],"mappings":"AAEA,UAAU,mBAAmB;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,gBAAgB;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACvB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,aAAa;IACxB,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAa;IAE7D,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,mBAAmB,GAAG,IAAI;IAcjE,KAAK,IAAI,IAAI;IAIb,SAAS,IAAI,IAAI;CAwBlB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor-to-plugin-migrator.d.ts","sourceRoot":"","sources":["../../../../../../packages/devkit/src/generators/plugin-migrations/executor-to-plugin-migrator.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAKL,KAAK,aAAa,EAGlB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,IAAI,EACV,MAAM,uBAAuB,CAAC;AAY/B,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG;IAC9D,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,qBAAqB,GAAG,CAC3B,mBAAmB,EAAE,mBAAmB,EACxC,IAAI,EAAE,IAAI,EACV,cAAc,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EACrD,2BAA2B,EAAE,2BAA2B,KACrD,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AACxD,KAAK,gBAAgB,GAAG,CACtB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACtC,oBAAoB,EAAE,oBAAoB,KACvC,KAAK,GAAG,MAAM,CAAC;AACpB,KAAK,iBAAiB,GAAG,CACvB,oBAAoB,EAAE,oBAAoB,KACvC,KAAK,GAAG,MAAM,CAAC;AAqSpB,qBAAa,uBAAwB,SAAQ,KAAK;;CAIjD;AAED,wBAAsB,+BAA+B,CAAC,CAAC,EACrD,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,EAC/B,oBAAoB,EAAE,CAAC,EACvB,UAAU,EAAE,KAAK,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7D,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,CAAC,EACF,wBAAwB,CAAC,EAAE,MAAM,EACjC,MAAM,CAAC,EAAE,OAAO,YAAY,GAC3B,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAc9C;AAED,wBAAsB,iCAAiC,CAAC,CAAC,EACvD,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,EAC7B,oBAAoB,EAAE,CAAC,EACvB,UAAU,EAAE,KAAK,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7D,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,CAAC,EACF,wBAAwB,CAAC,EAAE,MAAM,GAChC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAa9C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-migration-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/devkit/src/generators/plugin-migrations/plugin-migration-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,wBAAgB,wBAAwB,CACtC,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,MAAM,GACpB,IAAI,CAwBN;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,mBAAmB,EAC3B,oBAAoB,EAAE,KAAK,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,EACjE,cAAc,EAAE,mBAAmB,EACnC,cAAc,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC3D,IAAI,CAsCN;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,GAClB,MAAM,CAaR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"project-name-and-root-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/project-name-and-root-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,WAAW,EAEhB,KAAK,IAAI,EAEV,MAAM,uBAAuB,CAAC;AAG/B,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE;QACL;;;WAGG;QACH,eAAe,EAAE,MAAM,CAAC;QACxB;;;WAGG;QACH,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC;IACF;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAsB,kCAAkC,CACtD,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,yBAAyB,CAAC,CAiEpC;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAClB,MAAM,CAcR;AAED,wBAAsB,qBAAqB,CACzC,OAAO,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,EAC7C,WAAW,EAAE,aAAa,GAAG,SAAS,GACrC,OAAO,CAAC,IAAI,CAAC,CASf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,wBAAsB,qBAAqB,CAAC,CAAC,EAC3C,SAAS,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,EACvC,YAAY,EAAE,CAAC,GACd,OAAO,CAAC,CAAC,CAAC,CAMZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"run-tasks-in-serial.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/run-tasks-in-serial.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,KAAK,EAAE,iBAAiB,EAAE,GAC5B,iBAAiB,CAMnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"target-defaults-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/target-defaults-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,IAAI,EAGV,MAAM,uBAAuB,CAAC;AAG/B,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,MAAM,EACpB,eAAe,SAAU,EACzB,WAAW,GAAE,mBAAmB,CAAC,QAAQ,CAAM,GAC9C,IAAI,CAcN;AAED,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,mBAAmB,EAAE,MAAM,GAC1B,OAAO,CAAC,IAAI,CAAC,CAgEf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"to-js.d.ts","sourceRoot":"","sources":["../../../../../packages/devkit/src/generators/to-js.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI3D,MAAM,MAAM,WAAW,GAAG;IACxB,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;IACpC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CA+B5D"}