@nx/devkit 23.0.0-canary.20260429-0205b22 → 23.0.0-canary.20260504-e8aa612
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 +21 -0
- package/dist/internal.js +65 -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/{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/{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/{src → dist/src}/utils/versions.d.ts +0 -1
- package/{testing.d.ts → dist/testing.d.ts} +0 -1
- package/migrations.json +3 -3
- package/package.json +55 -5
- 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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { signalToCode, createProjectRootMappingsFromProjectConfigurations, PluginCache, safeWriteFileCache, } from 'nx/src/devkit-internals';
|
|
2
|
+
export { determineArtifactNameAndDirectoryOptions, getRelativeCwd, type FileExtensionType, } from './src/generators/artifact-name-and-directory-utils';
|
|
3
|
+
export { getE2EWebServerInfo, type E2EWebServerDetails, } from './src/generators/e2e-web-server-info-utils';
|
|
4
|
+
export { forEachExecutorOptions } from './src/generators/executor-options-utils';
|
|
5
|
+
export { AggregatedLog } from './src/generators/plugin-migrations/aggregate-log-util';
|
|
6
|
+
export { migrateProjectExecutorsToPlugin, migrateProjectExecutorsToPluginV1, NoTargetsToMigrateError, type InferredTargetConfiguration, } from './src/generators/plugin-migrations/executor-to-plugin-migrator';
|
|
7
|
+
export { processTargetOutputs, deleteMatchingProperties, toProjectRelativePath, } from './src/generators/plugin-migrations/plugin-migration-utils';
|
|
8
|
+
export { determineProjectNameAndRootOptions, ensureRootProjectName, resolveImportPath, } from './src/generators/project-name-and-root-utils';
|
|
9
|
+
export { promptWhenInteractive } from './src/generators/prompt';
|
|
10
|
+
export { addBuildTargetDefaults, addE2eCiTargetDefaults, } from './src/generators/target-defaults-utils';
|
|
11
|
+
export { addPlugin } from './src/utils/add-plugin';
|
|
12
|
+
export { createAsyncIterable, combineAsyncIterables, mapAsyncIterable, } from './src/utils/async-iterable';
|
|
13
|
+
export { calculateHashForCreateNodes, calculateHashesForCreateNodes, } from './src/utils/calculate-hash-for-create-nodes';
|
|
14
|
+
export { getCatalogManager } from './src/utils/catalog';
|
|
15
|
+
export { loadConfigFile, clearRequireCache } from './src/utils/config-utils';
|
|
16
|
+
export { findPluginForConfigFile } from './src/utils/find-plugin-for-config-file';
|
|
17
|
+
export { getNamedInputs } from './src/utils/get-named-inputs';
|
|
18
|
+
export { logShowProjectCommand } from './src/utils/log-show-project-command';
|
|
19
|
+
export { eachValueFrom } from './src/utils/rxjs-for-await';
|
|
20
|
+
export { checkAndCleanWithSemver } from './src/utils/semver';
|
|
21
|
+
export { camelize, capitalize, classify, dasherize, } from './src/utils/string-utils';
|
package/dist/internal.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dasherize = exports.classify = exports.capitalize = exports.camelize = exports.checkAndCleanWithSemver = exports.eachValueFrom = exports.logShowProjectCommand = exports.getNamedInputs = exports.findPluginForConfigFile = exports.clearRequireCache = exports.loadConfigFile = exports.getCatalogManager = exports.calculateHashesForCreateNodes = exports.calculateHashForCreateNodes = exports.mapAsyncIterable = exports.combineAsyncIterables = exports.createAsyncIterable = exports.addPlugin = exports.addE2eCiTargetDefaults = exports.addBuildTargetDefaults = exports.promptWhenInteractive = exports.resolveImportPath = exports.ensureRootProjectName = exports.determineProjectNameAndRootOptions = exports.toProjectRelativePath = exports.deleteMatchingProperties = exports.processTargetOutputs = exports.NoTargetsToMigrateError = exports.migrateProjectExecutorsToPluginV1 = exports.migrateProjectExecutorsToPlugin = exports.AggregatedLog = exports.forEachExecutorOptions = exports.getE2EWebServerInfo = exports.getRelativeCwd = exports.determineArtifactNameAndDirectoryOptions = 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; } });
|
|
9
|
+
// Generators
|
|
10
|
+
var artifact_name_and_directory_utils_1 = require("./src/generators/artifact-name-and-directory-utils");
|
|
11
|
+
Object.defineProperty(exports, "determineArtifactNameAndDirectoryOptions", { enumerable: true, get: function () { return artifact_name_and_directory_utils_1.determineArtifactNameAndDirectoryOptions; } });
|
|
12
|
+
Object.defineProperty(exports, "getRelativeCwd", { enumerable: true, get: function () { return artifact_name_and_directory_utils_1.getRelativeCwd; } });
|
|
13
|
+
var e2e_web_server_info_utils_1 = require("./src/generators/e2e-web-server-info-utils");
|
|
14
|
+
Object.defineProperty(exports, "getE2EWebServerInfo", { enumerable: true, get: function () { return e2e_web_server_info_utils_1.getE2EWebServerInfo; } });
|
|
15
|
+
var executor_options_utils_1 = require("./src/generators/executor-options-utils");
|
|
16
|
+
Object.defineProperty(exports, "forEachExecutorOptions", { enumerable: true, get: function () { return executor_options_utils_1.forEachExecutorOptions; } });
|
|
17
|
+
var aggregate_log_util_1 = require("./src/generators/plugin-migrations/aggregate-log-util");
|
|
18
|
+
Object.defineProperty(exports, "AggregatedLog", { enumerable: true, get: function () { return aggregate_log_util_1.AggregatedLog; } });
|
|
19
|
+
var executor_to_plugin_migrator_1 = require("./src/generators/plugin-migrations/executor-to-plugin-migrator");
|
|
20
|
+
Object.defineProperty(exports, "migrateProjectExecutorsToPlugin", { enumerable: true, get: function () { return executor_to_plugin_migrator_1.migrateProjectExecutorsToPlugin; } });
|
|
21
|
+
Object.defineProperty(exports, "migrateProjectExecutorsToPluginV1", { enumerable: true, get: function () { return executor_to_plugin_migrator_1.migrateProjectExecutorsToPluginV1; } });
|
|
22
|
+
Object.defineProperty(exports, "NoTargetsToMigrateError", { enumerable: true, get: function () { return executor_to_plugin_migrator_1.NoTargetsToMigrateError; } });
|
|
23
|
+
var plugin_migration_utils_1 = require("./src/generators/plugin-migrations/plugin-migration-utils");
|
|
24
|
+
Object.defineProperty(exports, "processTargetOutputs", { enumerable: true, get: function () { return plugin_migration_utils_1.processTargetOutputs; } });
|
|
25
|
+
Object.defineProperty(exports, "deleteMatchingProperties", { enumerable: true, get: function () { return plugin_migration_utils_1.deleteMatchingProperties; } });
|
|
26
|
+
Object.defineProperty(exports, "toProjectRelativePath", { enumerable: true, get: function () { return plugin_migration_utils_1.toProjectRelativePath; } });
|
|
27
|
+
var project_name_and_root_utils_1 = require("./src/generators/project-name-and-root-utils");
|
|
28
|
+
Object.defineProperty(exports, "determineProjectNameAndRootOptions", { enumerable: true, get: function () { return project_name_and_root_utils_1.determineProjectNameAndRootOptions; } });
|
|
29
|
+
Object.defineProperty(exports, "ensureRootProjectName", { enumerable: true, get: function () { return project_name_and_root_utils_1.ensureRootProjectName; } });
|
|
30
|
+
Object.defineProperty(exports, "resolveImportPath", { enumerable: true, get: function () { return project_name_and_root_utils_1.resolveImportPath; } });
|
|
31
|
+
var prompt_1 = require("./src/generators/prompt");
|
|
32
|
+
Object.defineProperty(exports, "promptWhenInteractive", { enumerable: true, get: function () { return prompt_1.promptWhenInteractive; } });
|
|
33
|
+
var target_defaults_utils_1 = require("./src/generators/target-defaults-utils");
|
|
34
|
+
Object.defineProperty(exports, "addBuildTargetDefaults", { enumerable: true, get: function () { return target_defaults_utils_1.addBuildTargetDefaults; } });
|
|
35
|
+
Object.defineProperty(exports, "addE2eCiTargetDefaults", { enumerable: true, get: function () { return target_defaults_utils_1.addE2eCiTargetDefaults; } });
|
|
36
|
+
// Utils
|
|
37
|
+
var add_plugin_1 = require("./src/utils/add-plugin");
|
|
38
|
+
Object.defineProperty(exports, "addPlugin", { enumerable: true, get: function () { return add_plugin_1.addPlugin; } });
|
|
39
|
+
var async_iterable_1 = require("./src/utils/async-iterable");
|
|
40
|
+
Object.defineProperty(exports, "createAsyncIterable", { enumerable: true, get: function () { return async_iterable_1.createAsyncIterable; } });
|
|
41
|
+
Object.defineProperty(exports, "combineAsyncIterables", { enumerable: true, get: function () { return async_iterable_1.combineAsyncIterables; } });
|
|
42
|
+
Object.defineProperty(exports, "mapAsyncIterable", { enumerable: true, get: function () { return async_iterable_1.mapAsyncIterable; } });
|
|
43
|
+
var calculate_hash_for_create_nodes_1 = require("./src/utils/calculate-hash-for-create-nodes");
|
|
44
|
+
Object.defineProperty(exports, "calculateHashForCreateNodes", { enumerable: true, get: function () { return calculate_hash_for_create_nodes_1.calculateHashForCreateNodes; } });
|
|
45
|
+
Object.defineProperty(exports, "calculateHashesForCreateNodes", { enumerable: true, get: function () { return calculate_hash_for_create_nodes_1.calculateHashesForCreateNodes; } });
|
|
46
|
+
var catalog_1 = require("./src/utils/catalog");
|
|
47
|
+
Object.defineProperty(exports, "getCatalogManager", { enumerable: true, get: function () { return catalog_1.getCatalogManager; } });
|
|
48
|
+
var config_utils_1 = require("./src/utils/config-utils");
|
|
49
|
+
Object.defineProperty(exports, "loadConfigFile", { enumerable: true, get: function () { return config_utils_1.loadConfigFile; } });
|
|
50
|
+
Object.defineProperty(exports, "clearRequireCache", { enumerable: true, get: function () { return config_utils_1.clearRequireCache; } });
|
|
51
|
+
var find_plugin_for_config_file_1 = require("./src/utils/find-plugin-for-config-file");
|
|
52
|
+
Object.defineProperty(exports, "findPluginForConfigFile", { enumerable: true, get: function () { return find_plugin_for_config_file_1.findPluginForConfigFile; } });
|
|
53
|
+
var get_named_inputs_1 = require("./src/utils/get-named-inputs");
|
|
54
|
+
Object.defineProperty(exports, "getNamedInputs", { enumerable: true, get: function () { return get_named_inputs_1.getNamedInputs; } });
|
|
55
|
+
var log_show_project_command_1 = require("./src/utils/log-show-project-command");
|
|
56
|
+
Object.defineProperty(exports, "logShowProjectCommand", { enumerable: true, get: function () { return log_show_project_command_1.logShowProjectCommand; } });
|
|
57
|
+
var rxjs_for_await_1 = require("./src/utils/rxjs-for-await");
|
|
58
|
+
Object.defineProperty(exports, "eachValueFrom", { enumerable: true, get: function () { return rxjs_for_await_1.eachValueFrom; } });
|
|
59
|
+
var semver_1 = require("./src/utils/semver");
|
|
60
|
+
Object.defineProperty(exports, "checkAndCleanWithSemver", { enumerable: true, get: function () { return semver_1.checkAndCleanWithSemver; } });
|
|
61
|
+
var string_utils_1 = require("./src/utils/string-utils");
|
|
62
|
+
Object.defineProperty(exports, "camelize", { enumerable: true, get: function () { return string_utils_1.camelize; } });
|
|
63
|
+
Object.defineProperty(exports, "capitalize", { enumerable: true, get: function () { return string_utils_1.capitalize; } });
|
|
64
|
+
Object.defineProperty(exports, "classify", { enumerable: true, get: function () { return string_utils_1.classify; } });
|
|
65
|
+
Object.defineProperty(exports, "dasherize", { enumerable: true, get: function () { return string_utils_1.dasherize; } });
|
|
@@ -5,4 +5,3 @@ import type { ExecutorContext, Target } from 'nx/src/devkit-exports';
|
|
|
5
5
|
* Works as if you invoked the target yourself without passing any command lint overrides.
|
|
6
6
|
*/
|
|
7
7
|
export declare function readTargetOptions<T = any>({ project, target, configuration }: Target, context: ExecutorContext): T;
|
|
8
|
-
//# sourceMappingURL=read-target-options.d.ts.map
|
|
@@ -21,4 +21,3 @@ export interface E2EWebServerDetails {
|
|
|
21
21
|
}
|
|
22
22
|
export declare function getE2EWebServerInfo(tree: Tree, projectName: string, pluginOptions: E2EWebServerPluginOptions, defaultValues: E2EWebServerDefaultValues, isPluginBeingAdded: boolean): Promise<E2EWebServerDetails>;
|
|
23
23
|
export {};
|
|
24
|
-
//# sourceMappingURL=e2e-web-server-info-utils.d.ts.map
|
|
@@ -32,7 +32,7 @@ async function formatFiles(tree, options = {}) {
|
|
|
32
32
|
}
|
|
33
33
|
let prettier;
|
|
34
34
|
try {
|
|
35
|
-
prettier = await
|
|
35
|
+
prettier = await import('prettier');
|
|
36
36
|
/**
|
|
37
37
|
* Even after we discovered prettier in node_modules, we need to be sure that the user is intentionally using prettier
|
|
38
38
|
* before proceeding to format with it.
|
|
@@ -28,4 +28,3 @@ export declare function migrateProjectExecutorsToPluginV1<T>(tree: Tree, project
|
|
|
28
28
|
skipTargetFilter?: SkipTargetFilter;
|
|
29
29
|
}>, specificProjectToMigrate?: string): Promise<Map<string, Record<string, string>>>;
|
|
30
30
|
export {};
|
|
31
|
-
//# sourceMappingURL=executor-to-plugin-migrator.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { type TargetConfiguration, type Tree } from 'nx/src/devkit-exports';
|
|
2
2
|
export declare function addBuildTargetDefaults(tree: Tree, executorName: string, buildTargetName?: string, extraInputs?: TargetConfiguration['inputs']): void;
|
|
3
3
|
export declare function addE2eCiTargetDefaults(tree: Tree, e2ePlugin: string, buildTarget: string, pathToE2EConfigFile: string): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=target-defaults-utils.d.ts.map
|
|
@@ -1,37 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
3
|
exports.addBuildTargetDefaults = addBuildTargetDefaults;
|
|
37
4
|
exports.addE2eCiTargetDefaults = addE2eCiTargetDefaults;
|
|
@@ -61,7 +28,7 @@ async function addE2eCiTargetDefaults(tree, e2ePlugin, buildTarget, pathToE2ECon
|
|
|
61
28
|
if (!e2ePluginRegistrations.length) {
|
|
62
29
|
return;
|
|
63
30
|
}
|
|
64
|
-
const resolvedE2ePlugin = await
|
|
31
|
+
const resolvedE2ePlugin = await import(e2ePlugin);
|
|
65
32
|
const e2ePluginGlob = resolvedE2ePlugin.createNodesV2?.[0] ?? resolvedE2ePlugin.createNodes?.[0];
|
|
66
33
|
let foundPluginForApplication;
|
|
67
34
|
for (let i = 0; i < e2ePluginRegistrations.length; i++) {
|
|
@@ -3,4 +3,3 @@ import type { Tree } from 'nx/src/devkit-exports';
|
|
|
3
3
|
* Utility to act on all files in a tree that are not ignored by git.
|
|
4
4
|
*/
|
|
5
5
|
export declare function visitNotIgnoredFiles(tree: Tree, dirPath: string, visitor: (path: string) => void): void;
|
|
6
|
-
//# sourceMappingURL=visit-not-ignored-files.d.ts.map
|
|
@@ -8,4 +8,3 @@ import { PackageManager, Tree } from 'nx/src/devkit-exports';
|
|
|
8
8
|
* unless install already ran this generator cycle.
|
|
9
9
|
*/
|
|
10
10
|
export declare function installPackagesTask(tree: Tree, ensureInstall?: boolean, cwd?: string, packageManager?: PackageManager): void;
|
|
11
|
-
//# sourceMappingURL=install-packages-task.d.ts.map
|
|
@@ -11,4 +11,3 @@ export declare function addPlugin<PluginOptions>(tree: Tree, graph: ProjectGraph
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function addPluginV1<PluginOptions>(tree: Tree, graph: ProjectGraph, pluginName: string, createNodesTuple: CreateNodesV2<PluginOptions>, options: Partial<Record<keyof PluginOptions, PluginOptions[keyof PluginOptions][]>>, shouldUpdatePackageJsonScripts: boolean): Promise<void>;
|
|
13
13
|
export declare function generateCombinations<T>(input: Record<string, T[]>): Record<string, T>[];
|
|
14
|
-
//# sourceMappingURL=add-plugin.d.ts.map
|
|
@@ -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
|
+
}
|
|
@@ -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
|
package/migrations.json
CHANGED