@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.
- package/{index.d.ts → dist/index.d.ts} +0 -1
- package/dist/internal.d.ts +23 -0
- package/dist/internal.js +71 -0
- package/{ngcli-adapter.d.ts → dist/ngcli-adapter.d.ts} +0 -1
- package/{public-api.d.ts → dist/public-api.d.ts} +0 -1
- package/{src → dist/src}/executors/parse-target-string.d.ts +0 -1
- package/{src → dist/src}/executors/read-target-options.d.ts +0 -1
- package/{src → dist/src}/generators/artifact-name-and-directory-utils.d.ts +0 -1
- package/{src → dist/src}/generators/e2e-web-server-info-utils.d.ts +0 -1
- package/{src → dist/src}/generators/executor-options-utils.d.ts +0 -1
- package/{src → dist/src}/generators/format-files.d.ts +0 -1
- package/{src → dist/src}/generators/format-files.js +1 -1
- package/{src → dist/src}/generators/generate-files.d.ts +0 -1
- package/{src → dist/src}/generators/plugin-migrations/aggregate-log-util.d.ts +0 -1
- package/{src → dist/src}/generators/plugin-migrations/executor-to-plugin-migrator.d.ts +0 -1
- package/{src → dist/src}/generators/plugin-migrations/plugin-migration-utils.d.ts +0 -1
- package/{src → dist/src}/generators/project-name-and-root-utils.d.ts +0 -1
- package/{src → dist/src}/generators/prompt.d.ts +0 -1
- package/{src → dist/src}/generators/run-tasks-in-serial.d.ts +0 -1
- package/{src → dist/src}/generators/target-defaults-utils.d.ts +0 -1
- package/{src → dist/src}/generators/target-defaults-utils.js +1 -34
- package/{src → dist/src}/generators/to-js.d.ts +0 -1
- package/{src → dist/src}/generators/typescript/insert-import.d.ts +0 -1
- package/{src → dist/src}/generators/typescript/insert-statement.d.ts +0 -1
- package/{src → dist/src}/generators/update-ts-configs-to-js.d.ts +0 -1
- package/{src → dist/src}/generators/visit-not-ignored-files.d.ts +0 -1
- package/dist/src/migrations/update-23-0-0/update-deep-imports.d.ts +4 -0
- package/dist/src/migrations/update-23-0-0/update-deep-imports.js +321 -0
- package/{src → dist/src}/tasks/install-packages-task.d.ts +0 -1
- package/{src → dist/src}/utils/add-plugin.d.ts +0 -1
- package/{src → dist/src}/utils/async-iterable/combine-async-iterables.d.ts +0 -1
- package/{src → dist/src}/utils/async-iterable/create-async-iterable.d.ts +0 -1
- package/{src → dist/src}/utils/async-iterable/index.d.ts +0 -1
- package/{src → dist/src}/utils/async-iterable/map-async-iteratable.d.ts +0 -1
- package/{src → dist/src}/utils/async-iterable/tap-async-iteratable.d.ts +0 -1
- package/{src → dist/src}/utils/binary-extensions.d.ts +0 -1
- package/{src → dist/src}/utils/calculate-hash-for-create-nodes.d.ts +0 -1
- package/{src → dist/src}/utils/catalog/index.d.ts +0 -1
- package/{src → dist/src}/utils/catalog/manager-factory.d.ts +0 -1
- package/{src → dist/src}/utils/catalog/manager.d.ts +0 -1
- package/{src → dist/src}/utils/catalog/pnpm-manager.d.ts +0 -1
- package/{src → dist/src}/utils/catalog/types.d.ts +0 -1
- package/{src → dist/src}/utils/catalog/yarn-manager.d.ts +0 -1
- package/{src → dist/src}/utils/config-utils.d.ts +0 -1
- package/{src → dist/src}/utils/convert-nx-executor.d.ts +0 -1
- package/{src → dist/src}/utils/find-plugin-for-config-file.d.ts +0 -1
- package/dist/src/utils/find-plugin-for-config-file.js +28 -0
- package/{src → dist/src}/utils/get-named-inputs.d.ts +0 -1
- package/{src → dist/src}/utils/get-workspace-layout.d.ts +0 -1
- package/dist/src/utils/installed-version.d.ts +29 -0
- package/dist/src/utils/installed-version.js +57 -0
- package/{src → dist/src}/utils/invoke-nx-generator.d.ts +0 -1
- package/{src → dist/src}/utils/log-show-project-command.d.ts +0 -1
- package/{src → dist/src}/utils/move-dir.d.ts +0 -1
- package/{src → dist/src}/utils/names.d.ts +0 -1
- package/{src → dist/src}/utils/offset-from-root.d.ts +0 -1
- package/{src → dist/src}/utils/package-json.d.ts +0 -1
- package/{src → dist/src}/utils/replace-package.d.ts +0 -1
- package/{src → dist/src}/utils/replace-project-configuration-with-plugin.d.ts +0 -1
- package/{src → dist/src}/utils/rxjs-for-await.d.ts +0 -1
- package/{src → dist/src}/utils/semver.d.ts +0 -1
- package/{src → dist/src}/utils/string-change.d.ts +0 -1
- package/{src → dist/src}/utils/string-utils.d.ts +0 -1
- package/dist/src/utils/version-floor.d.ts +25 -0
- package/dist/src/utils/version-floor.js +45 -0
- package/{src → dist/src}/utils/versions.d.ts +0 -1
- package/{testing.d.ts → dist/testing.d.ts} +0 -1
- package/migrations.json +9 -3
- package/package.json +57 -7
- package/assets.json +0 -15
- package/index.d.ts.map +0 -1
- package/internal.d.ts +0 -2
- package/internal.d.ts.map +0 -1
- package/internal.js +0 -8
- package/ngcli-adapter.d.ts.map +0 -1
- package/project.json +0 -14
- package/public-api.d.ts.map +0 -1
- package/src/executors/parse-target-string.d.ts.map +0 -1
- package/src/executors/read-target-options.d.ts.map +0 -1
- package/src/generators/artifact-name-and-directory-utils.d.ts.map +0 -1
- package/src/generators/e2e-web-server-info-utils.d.ts.map +0 -1
- package/src/generators/executor-options-utils.d.ts.map +0 -1
- package/src/generators/format-files.d.ts.map +0 -1
- package/src/generators/generate-files.d.ts.map +0 -1
- package/src/generators/plugin-migrations/aggregate-log-util.d.ts.map +0 -1
- package/src/generators/plugin-migrations/executor-to-plugin-migrator.d.ts.map +0 -1
- package/src/generators/plugin-migrations/plugin-migration-utils.d.ts.map +0 -1
- package/src/generators/project-name-and-root-utils.d.ts.map +0 -1
- package/src/generators/prompt.d.ts.map +0 -1
- package/src/generators/run-tasks-in-serial.d.ts.map +0 -1
- package/src/generators/target-defaults-utils.d.ts.map +0 -1
- package/src/generators/to-js.d.ts.map +0 -1
- package/src/generators/typescript/insert-import.d.ts.map +0 -1
- package/src/generators/typescript/insert-statement.d.ts.map +0 -1
- package/src/generators/update-ts-configs-to-js.d.ts.map +0 -1
- package/src/generators/visit-not-ignored-files.d.ts.map +0 -1
- package/src/tasks/install-packages-task.d.ts.map +0 -1
- package/src/utils/add-plugin.d.ts.map +0 -1
- package/src/utils/async-iterable/combine-async-iterables.d.ts.map +0 -1
- package/src/utils/async-iterable/create-async-iterable.d.ts.map +0 -1
- package/src/utils/async-iterable/index.d.ts.map +0 -1
- package/src/utils/async-iterable/map-async-iteratable.d.ts.map +0 -1
- package/src/utils/async-iterable/tap-async-iteratable.d.ts.map +0 -1
- package/src/utils/binary-extensions.d.ts.map +0 -1
- package/src/utils/calculate-hash-for-create-nodes.d.ts.map +0 -1
- package/src/utils/catalog/index.d.ts.map +0 -1
- package/src/utils/catalog/manager-factory.d.ts.map +0 -1
- package/src/utils/catalog/manager.d.ts.map +0 -1
- package/src/utils/catalog/pnpm-manager.d.ts.map +0 -1
- package/src/utils/catalog/types.d.ts.map +0 -1
- package/src/utils/catalog/yarn-manager.d.ts.map +0 -1
- package/src/utils/config-utils.d.ts.map +0 -1
- package/src/utils/convert-nx-executor.d.ts.map +0 -1
- package/src/utils/find-plugin-for-config-file.d.ts.map +0 -1
- package/src/utils/find-plugin-for-config-file.js +0 -61
- package/src/utils/get-named-inputs.d.ts.map +0 -1
- package/src/utils/get-workspace-layout.d.ts.map +0 -1
- package/src/utils/invoke-nx-generator.d.ts.map +0 -1
- package/src/utils/log-show-project-command.d.ts.map +0 -1
- package/src/utils/move-dir.d.ts.map +0 -1
- package/src/utils/names.d.ts.map +0 -1
- package/src/utils/offset-from-root.d.ts.map +0 -1
- package/src/utils/package-json.d.ts.map +0 -1
- package/src/utils/replace-package.d.ts.map +0 -1
- package/src/utils/replace-project-configuration-with-plugin.d.ts.map +0 -1
- package/src/utils/rxjs-for-await.d.ts.map +0 -1
- package/src/utils/semver.d.ts.map +0 -1
- package/src/utils/string-change.d.ts.map +0 -1
- package/src/utils/string-utils.d.ts.map +0 -1
- package/src/utils/versions.d.ts.map +0 -1
- package/testing.d.ts.map +0 -1
- /package/{LICENSE → dist/LICENSE} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{ngcli-adapter.js → dist/ngcli-adapter.js} +0 -0
- /package/{public-api.js → dist/public-api.js} +0 -0
- /package/{src → dist/src}/executors/parse-target-string.js +0 -0
- /package/{src → dist/src}/executors/read-target-options.js +0 -0
- /package/{src → dist/src}/generators/artifact-name-and-directory-utils.js +0 -0
- /package/{src → dist/src}/generators/e2e-web-server-info-utils.js +0 -0
- /package/{src → dist/src}/generators/executor-options-utils.js +0 -0
- /package/{src → dist/src}/generators/generate-files.js +0 -0
- /package/{src → dist/src}/generators/plugin-migrations/aggregate-log-util.js +0 -0
- /package/{src → dist/src}/generators/plugin-migrations/executor-to-plugin-migrator.js +0 -0
- /package/{src → dist/src}/generators/plugin-migrations/plugin-migration-utils.js +0 -0
- /package/{src → dist/src}/generators/project-name-and-root-utils.js +0 -0
- /package/{src → dist/src}/generators/prompt.js +0 -0
- /package/{src → dist/src}/generators/run-tasks-in-serial.js +0 -0
- /package/{src → dist/src}/generators/to-js.js +0 -0
- /package/{src → dist/src}/generators/typescript/insert-import.js +0 -0
- /package/{src → dist/src}/generators/typescript/insert-statement.js +0 -0
- /package/{src → dist/src}/generators/update-ts-configs-to-js.js +0 -0
- /package/{src → dist/src}/generators/visit-not-ignored-files.js +0 -0
- /package/{src → dist/src}/tasks/install-packages-task.js +0 -0
- /package/{src → dist/src}/utils/add-plugin.js +0 -0
- /package/{src → dist/src}/utils/async-iterable/combine-async-iterables.js +0 -0
- /package/{src → dist/src}/utils/async-iterable/create-async-iterable.js +0 -0
- /package/{src → dist/src}/utils/async-iterable/index.js +0 -0
- /package/{src → dist/src}/utils/async-iterable/map-async-iteratable.js +0 -0
- /package/{src → dist/src}/utils/async-iterable/tap-async-iteratable.js +0 -0
- /package/{src → dist/src}/utils/binary-extensions.js +0 -0
- /package/{src → dist/src}/utils/calculate-hash-for-create-nodes.js +0 -0
- /package/{src → dist/src}/utils/catalog/index.js +0 -0
- /package/{src → dist/src}/utils/catalog/manager-factory.js +0 -0
- /package/{src → dist/src}/utils/catalog/manager.js +0 -0
- /package/{src → dist/src}/utils/catalog/pnpm-manager.js +0 -0
- /package/{src → dist/src}/utils/catalog/types.js +0 -0
- /package/{src → dist/src}/utils/catalog/yarn-manager.js +0 -0
- /package/{src → dist/src}/utils/config-utils.js +0 -0
- /package/{src → dist/src}/utils/convert-nx-executor.js +0 -0
- /package/{src → dist/src}/utils/get-named-inputs.js +0 -0
- /package/{src → dist/src}/utils/get-workspace-layout.js +0 -0
- /package/{src → dist/src}/utils/invoke-nx-generator.js +0 -0
- /package/{src → dist/src}/utils/log-show-project-command.js +0 -0
- /package/{src → dist/src}/utils/move-dir.js +0 -0
- /package/{src → dist/src}/utils/names.js +0 -0
- /package/{src → dist/src}/utils/offset-from-root.js +0 -0
- /package/{src → dist/src}/utils/package-json.js +0 -0
- /package/{src → dist/src}/utils/replace-package.js +0 -0
- /package/{src → dist/src}/utils/replace-project-configuration-with-plugin.js +0 -0
- /package/{src → dist/src}/utils/rxjs-for-await.js +0 -0
- /package/{src → dist/src}/utils/semver.js +0 -0
- /package/{src → dist/src}/utils/string-change.js +0 -0
- /package/{src → dist/src}/utils/string-utils.js +0 -0
- /package/{src → dist/src}/utils/versions.js +0 -0
- /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
|
|
@@ -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,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
|
|
@@ -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
|
|
@@ -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
|
+
}
|
|
@@ -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
|
|
@@ -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 { 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
|
|
@@ -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
|
+
}
|
package/migrations.json
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
"
|
|
4
|
-
|
|
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.
|
|
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
|
-
"
|
|
24
|
-
"
|
|
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.
|
|
58
|
+
"minimatch": "10.2.5",
|
|
38
59
|
"enquirer": "~2.3.6"
|
|
39
60
|
},
|
|
40
61
|
"devDependencies": {
|
|
41
|
-
"jest": "
|
|
42
|
-
"nx": "23.0.0-beta.
|
|
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
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
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; } });
|
package/ngcli-adapter.d.ts.map
DELETED
|
@@ -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
|
-
}
|
package/public-api.d.ts.map
DELETED
|
@@ -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"}
|