@nx/devkit
Advanced tools
Comparing version 19.5.0-beta.0 to 19.5.0-beta.1
{ | ||
"name": "@nx/devkit", | ||
"version": "19.5.0-beta.0", | ||
"version": "19.5.0-beta.1", | ||
"private": false, | ||
@@ -39,3 +39,3 @@ "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.", | ||
"minimatch": "9.0.3", | ||
"@nrwl/devkit": "19.5.0-beta.0" | ||
"@nrwl/devkit": "19.5.0-beta.1" | ||
}, | ||
@@ -42,0 +42,0 @@ "peerDependencies": { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.targetToTargetString = exports.parseTargetString = void 0; | ||
exports.parseTargetString = parseTargetString; | ||
exports.targetToTargetString = targetToTargetString; | ||
const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
@@ -35,3 +36,2 @@ const devkit_internals_1 = require("nx/src/devkit-internals"); | ||
} | ||
exports.parseTargetString = parseTargetString; | ||
/** | ||
@@ -52,2 +52,1 @@ * Returns a string in the format "project:target[:configuration]" for the target | ||
} | ||
exports.targetToTargetString = targetToTargetString; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.readTargetOptions = void 0; | ||
exports.readTargetOptions = readTargetOptions; | ||
const path_1 = require("path"); | ||
@@ -25,2 +25,1 @@ const devkit_internals_1 = require("nx/src/devkit-internals"); | ||
} | ||
exports.readTargetOptions = readTargetOptions; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.addBuildTargetDefaults = void 0; | ||
exports.addBuildTargetDefaults = addBuildTargetDefaults; | ||
const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
@@ -17,2 +17,1 @@ function addBuildTargetDefaults(tree, executorName, buildTargetName = 'build') { | ||
} | ||
exports.addBuildTargetDefaults = addBuildTargetDefaults; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.setCwd = exports.getRelativeCwd = exports.determineArtifactNameAndDirectoryOptions = void 0; | ||
exports.determineArtifactNameAndDirectoryOptions = determineArtifactNameAndDirectoryOptions; | ||
exports.getRelativeCwd = getRelativeCwd; | ||
exports.setCwd = setCwd; | ||
const enquirer_1 = require("enquirer"); | ||
@@ -25,3 +27,2 @@ const path_1 = require("path"); | ||
} | ||
exports.determineArtifactNameAndDirectoryOptions = determineArtifactNameAndDirectoryOptions; | ||
async function determineFormat(formats, options) { | ||
@@ -233,3 +234,2 @@ if (!formats.derived) { | ||
} | ||
exports.getRelativeCwd = getRelativeCwd; | ||
/** | ||
@@ -241,3 +241,2 @@ * Function for setting cwd during testing | ||
} | ||
exports.setCwd = setCwd; | ||
function getCwd() { | ||
@@ -244,0 +243,0 @@ return process.env.INIT_CWD?.startsWith(devkit_exports_1.workspaceRoot) |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.forEachExecutorOptionsInGraph = exports.forEachExecutorOptions = void 0; | ||
exports.forEachExecutorOptions = forEachExecutorOptions; | ||
exports.forEachExecutorOptionsInGraph = forEachExecutorOptionsInGraph; | ||
const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
@@ -19,3 +20,2 @@ /** | ||
} | ||
exports.forEachExecutorOptions = forEachExecutorOptions; | ||
/** | ||
@@ -30,3 +30,2 @@ * Calls a function for each different options that an executor is configured with via the project graph | ||
} | ||
exports.forEachExecutorOptionsInGraph = forEachExecutorOptionsInGraph; | ||
function forEachProjectConfig(projects, executorName, callback) { | ||
@@ -33,0 +32,0 @@ for (const [projectName, project] of projects) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.formatFiles = void 0; | ||
exports.formatFiles = formatFiles; | ||
const path = require("path"); | ||
@@ -49,3 +49,2 @@ const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
} | ||
exports.formatFiles = formatFiles; | ||
function sortTsConfig(tree) { | ||
@@ -52,0 +51,0 @@ try { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generateFiles = exports.OverwriteStrategy = void 0; | ||
exports.OverwriteStrategy = void 0; | ||
exports.generateFiles = generateFiles; | ||
const fs_1 = require("fs"); | ||
@@ -82,3 +83,2 @@ const path = require("path"); | ||
} | ||
exports.generateFiles = generateFiles; | ||
function computePath(srcFolder, target, filePath, substitutions) { | ||
@@ -85,0 +85,0 @@ const relativeFromSrcFolder = path.relative(srcFolder, filePath); |
"use strict"; | ||
var _ExecutorToPluginMigrator_instances, _ExecutorToPluginMigrator_projectGraph, _ExecutorToPluginMigrator_executor, _ExecutorToPluginMigrator_pluginPath, _ExecutorToPluginMigrator_pluginOptionsBuilder, _ExecutorToPluginMigrator_postTargetTransformer, _ExecutorToPluginMigrator_skipTargetFilter, _ExecutorToPluginMigrator_skipProjectFilter, _ExecutorToPluginMigrator_specificProjectToMigrate, _ExecutorToPluginMigrator_nxJson, _ExecutorToPluginMigrator_targetDefaultsForExecutor, _ExecutorToPluginMigrator_targetAndProjectsToMigrate, _ExecutorToPluginMigrator_pluginToAddForTarget, _ExecutorToPluginMigrator_createNodes, _ExecutorToPluginMigrator_createNodesV2, _ExecutorToPluginMigrator_createNodesResultsForTargets, _ExecutorToPluginMigrator_skippedProjects, _ExecutorToPluginMigrator_init, _ExecutorToPluginMigrator_migrateTarget, _ExecutorToPluginMigrator_migrateProject, _ExecutorToPluginMigrator_mergeInputs, _ExecutorToPluginMigrator_getTargetAndProjectsToMigrate, _ExecutorToPluginMigrator_getTargetDefaultsForExecutor, _ExecutorToPluginMigrator_getCreatedTargetForProjectRoot, _ExecutorToPluginMigrator_getCreateNodesResults; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.migrateProjectExecutorsToPluginV1 = exports.migrateProjectExecutorsToPlugin = void 0; | ||
exports.migrateProjectExecutorsToPlugin = migrateProjectExecutorsToPlugin; | ||
exports.migrateProjectExecutorsToPluginV1 = migrateProjectExecutorsToPluginV1; | ||
const tslib_1 = require("tslib"); | ||
@@ -207,3 +208,2 @@ const minimatch_1 = require("minimatch"); | ||
} | ||
exports.migrateProjectExecutorsToPlugin = migrateProjectExecutorsToPlugin; | ||
async function migrateProjectExecutorsToPluginV1(tree, projectGraph, pluginPath, createNodes, defaultPluginOptions, migrations, specificProjectToMigrate) { | ||
@@ -213,3 +213,2 @@ const projects = await migrateProjects(tree, projectGraph, pluginPath, createNodes, undefined, defaultPluginOptions, migrations, specificProjectToMigrate); | ||
} | ||
exports.migrateProjectExecutorsToPluginV1 = migrateProjectExecutorsToPluginV1; | ||
async function migrateProjects(tree, projectGraph, pluginPath, createNodes, createNodesV2, defaultPluginOptions, migrations, specificProjectToMigrate) { | ||
@@ -216,0 +215,0 @@ const projects = new Map(); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.toProjectRelativePath = exports.processTargetOutputs = exports.deleteMatchingProperties = void 0; | ||
exports.deleteMatchingProperties = deleteMatchingProperties; | ||
exports.processTargetOutputs = processTargetOutputs; | ||
exports.toProjectRelativePath = toProjectRelativePath; | ||
const posix_1 = require("node:path/posix"); | ||
@@ -81,3 +83,2 @@ const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
} | ||
exports.deleteMatchingProperties = deleteMatchingProperties; | ||
function processTargetOutputs(target, renamedOutputOptions, inferredTarget, projectDetails) { | ||
@@ -110,3 +111,2 @@ const interpolatedInferredOutputs = (inferredTarget.outputs ?? []).map((output) => (0, devkit_internals_1.interpolate)(output, { | ||
} | ||
exports.processTargetOutputs = processTargetOutputs; | ||
function toProjectRelativePath(path, projectRoot) { | ||
@@ -121,3 +121,2 @@ if (projectRoot === '.') { | ||
} | ||
exports.toProjectRelativePath = toProjectRelativePath; | ||
function updateOutputRenamingOption(output, option, previousName) { | ||
@@ -124,0 +123,0 @@ const newOptionToken = `{options.${option}}`; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.setCwd = exports.determineProjectNameAndRootOptions = void 0; | ||
exports.determineProjectNameAndRootOptions = determineProjectNameAndRootOptions; | ||
exports.setCwd = setCwd; | ||
const enquirer_1 = require("enquirer"); | ||
@@ -25,3 +26,2 @@ const path_1 = require("path"); | ||
} | ||
exports.determineProjectNameAndRootOptions = determineProjectNameAndRootOptions; | ||
function validateName(name, projectNameAndRootFormat) { | ||
@@ -275,3 +275,2 @@ if (projectNameAndRootFormat === 'derived' && name.startsWith('@')) { | ||
} | ||
exports.setCwd = setCwd; | ||
function parseNameForAsProvided(rawName) { | ||
@@ -278,0 +277,0 @@ const directory = (0, devkit_exports_1.normalizePath)(rawName); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.runTasksInSerial = void 0; | ||
exports.runTasksInSerial = runTasksInSerial; | ||
/** | ||
@@ -16,2 +16,1 @@ * Run tasks in serial | ||
} | ||
exports.runTasksInSerial = runTasksInSerial; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.toJS = void 0; | ||
exports.toJS = toJS; | ||
const versions_1 = require("../utils/versions"); | ||
@@ -24,2 +24,1 @@ const package_json_1 = require("../utils/package-json"); | ||
} | ||
exports.toJS = toJS; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.insertImport = void 0; | ||
exports.insertImport = insertImport; | ||
function insertImport() { } | ||
exports.insertImport = insertImport; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.insertImport = void 0; | ||
exports.insertImport = insertImport; | ||
function insertImport() { } | ||
exports.insertImport = insertImport; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateTsConfigsToJs = void 0; | ||
exports.updateTsConfigsToJs = updateTsConfigsToJs; | ||
const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
@@ -47,3 +47,2 @@ function updateTsConfigsToJs(tree, options) { | ||
} | ||
exports.updateTsConfigsToJs = updateTsConfigsToJs; | ||
const uniq = (value) => [...new Set(value)]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.visitNotIgnoredFiles = void 0; | ||
exports.visitNotIgnoredFiles = visitNotIgnoredFiles; | ||
const ignore_1 = require("ignore"); | ||
@@ -38,5 +38,4 @@ const path_1 = require("path"); | ||
} | ||
exports.visitNotIgnoredFiles = visitNotIgnoredFiles; | ||
function normalizePathRelativeToRoot(path, root) { | ||
return (0, path_1.relative)(root, (0, path_1.join)(root, path)).split(path_1.sep).join('/'); | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = replacePackage; | ||
const format_files_1 = require("../../generators/format-files"); | ||
@@ -9,2 +10,1 @@ const replace_package_1 = require("../../utils/replace-package"); | ||
} | ||
exports.default = replacePackage; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.installPackagesTask = void 0; | ||
exports.installPackagesTask = installPackagesTask; | ||
const child_process_1 = require("child_process"); | ||
@@ -40,2 +40,1 @@ const path_1 = require("path"); | ||
} | ||
exports.installPackagesTask = installPackagesTask; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generateCombinations = exports.addPluginV1 = exports.addPlugin = void 0; | ||
exports.addPlugin = addPlugin; | ||
exports.addPluginV1 = addPluginV1; | ||
exports.generateCombinations = generateCombinations; | ||
const yargs = require("yargs-parser"); | ||
@@ -20,3 +22,2 @@ const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
} | ||
exports.addPlugin = addPlugin; | ||
/** | ||
@@ -36,3 +37,2 @@ * @deprecated Use `addPlugin` instead | ||
} | ||
exports.addPluginV1 = addPluginV1; | ||
async function _addPluginInternal(tree, graph, pluginName, pluginFactory, options, shouldUpdatePackageJsonScripts) { | ||
@@ -245,3 +245,2 @@ const graphNodes = Object.values(graph.nodes); | ||
} | ||
exports.generateCombinations = generateCombinations; | ||
/** | ||
@@ -248,0 +247,0 @@ * Generate all possible combinations of a 2-dimensional array. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.combineAsyncIterables = void 0; | ||
exports.combineAsyncIterables = combineAsyncIterables; | ||
async function* combineAsyncIterables(..._iterators) { | ||
@@ -46,3 +46,2 @@ // Convert iterables into iterators with next, return, throws methods. | ||
} | ||
exports.combineAsyncIterables = combineAsyncIterables; | ||
function getNextAsyncIteratorFactory(options) { | ||
@@ -49,0 +48,0 @@ return async (asyncIterator, index) => { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createAsyncIterable = void 0; | ||
exports.createAsyncIterable = createAsyncIterable; | ||
function createAsyncIterable(listener) { | ||
@@ -58,2 +58,1 @@ let done = false; | ||
} | ||
exports.createAsyncIterable = createAsyncIterable; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.mapAsyncIterable = void 0; | ||
exports.mapAsyncIterable = mapAsyncIterable; | ||
async function* mapAsyncIterable(data, transform) { | ||
@@ -18,2 +18,1 @@ async function* f() { | ||
} | ||
exports.mapAsyncIterable = mapAsyncIterable; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.tapAsyncIterable = void 0; | ||
exports.tapAsyncIterable = tapAsyncIterable; | ||
const map_async_iteratable_1 = require("./map-async-iteratable"); | ||
@@ -11,2 +11,1 @@ async function* tapAsyncIterable(data, fn) { | ||
} | ||
exports.tapAsyncIterable = tapAsyncIterable; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isBinaryPath = void 0; | ||
exports.isBinaryPath = isBinaryPath; | ||
const path_1 = require("path"); | ||
@@ -279,2 +279,1 @@ const binaryExtensions = new Set([ | ||
} | ||
exports.isBinaryPath = isBinaryPath; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.calculateHashForCreateNodes = void 0; | ||
exports.calculateHashForCreateNodes = calculateHashForCreateNodes; | ||
const path_1 = require("path"); | ||
@@ -16,2 +16,1 @@ const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
} | ||
exports.calculateHashForCreateNodes = calculateHashForCreateNodes; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.clearRequireCache = exports.getRootTsConfigFileName = exports.getRootTsConfigPath = exports.loadConfigFile = exports.dynamicImport = void 0; | ||
exports.dynamicImport = void 0; | ||
exports.loadConfigFile = loadConfigFile; | ||
exports.getRootTsConfigPath = getRootTsConfigPath; | ||
exports.getRootTsConfigFileName = getRootTsConfigFileName; | ||
exports.clearRequireCache = clearRequireCache; | ||
const path_1 = require("path"); | ||
@@ -37,3 +41,2 @@ const fs_1 = require("fs"); | ||
} | ||
exports.loadConfigFile = loadConfigFile; | ||
function getRootTsConfigPath() { | ||
@@ -43,3 +46,2 @@ const tsConfigFileName = getRootTsConfigFileName(); | ||
} | ||
exports.getRootTsConfigPath = getRootTsConfigPath; | ||
function getRootTsConfigFileName() { | ||
@@ -54,3 +56,2 @@ for (const tsConfigName of ['tsconfig.base.json', 'tsconfig.json']) { | ||
} | ||
exports.getRootTsConfigFileName = getRootTsConfigFileName; | ||
const packageInstallationDirectories = [ | ||
@@ -67,3 +68,2 @@ `${path_1.sep}node_modules${path_1.sep}`, | ||
} | ||
exports.clearRequireCache = clearRequireCache; | ||
/** | ||
@@ -70,0 +70,0 @@ * Load the module after ensuring that the require cache is cleared. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.convertNxExecutor = void 0; | ||
exports.convertNxExecutor = convertNxExecutor; | ||
const package_json_1 = require("./package-json"); | ||
@@ -53,3 +53,2 @@ const semver_1 = require("semver"); | ||
} | ||
exports.convertNxExecutor = convertNxExecutor; | ||
function toObservable(promiseOrAsyncIterator) { | ||
@@ -56,0 +55,0 @@ return new (require('rxjs').Observable)((subscriber) => { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getNamedInputs = void 0; | ||
exports.getNamedInputs = getNamedInputs; | ||
const path_1 = require("path"); | ||
@@ -25,2 +25,1 @@ const fs_1 = require("fs"); | ||
} | ||
exports.getNamedInputs = getNamedInputs; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.extractLayoutDirectory = exports.getWorkspaceLayout = void 0; | ||
exports.getWorkspaceLayout = getWorkspaceLayout; | ||
exports.extractLayoutDirectory = extractLayoutDirectory; | ||
const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
@@ -26,3 +27,2 @@ /** | ||
} | ||
exports.getWorkspaceLayout = getWorkspaceLayout; | ||
/** | ||
@@ -45,3 +45,2 @@ * Experimental | ||
} | ||
exports.extractLayoutDirectory = extractLayoutDirectory; | ||
function inOrderOfPreference(tree, selectedFolders, defaultChoice) { | ||
@@ -48,0 +47,0 @@ for (let i = 0; i < selectedFolders.length; ++i) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.convertNxGenerator = void 0; | ||
exports.convertNxGenerator = convertNxGenerator; | ||
const path_1 = require("path"); | ||
@@ -38,3 +38,2 @@ const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
} | ||
exports.convertNxGenerator = convertNxGenerator; | ||
/** | ||
@@ -41,0 +40,0 @@ * Create a Rule to invoke an Nx Generator |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.logShowProjectCommand = void 0; | ||
exports.logShowProjectCommand = logShowProjectCommand; | ||
const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
@@ -13,2 +13,1 @@ function logShowProjectCommand(projectName) { | ||
} | ||
exports.logShowProjectCommand = logShowProjectCommand; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.moveFilesToNewDirectory = void 0; | ||
exports.moveFilesToNewDirectory = moveFilesToNewDirectory; | ||
const path_1 = require("path"); | ||
@@ -27,2 +27,1 @@ const visit_not_ignored_files_1 = require("../generators/visit-not-ignored-files"); | ||
} | ||
exports.moveFilesToNewDirectory = moveFilesToNewDirectory; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.names = void 0; | ||
exports.names = names; | ||
/** | ||
@@ -24,3 +24,2 @@ * Util function to generate different strings based off the provided name. | ||
} | ||
exports.names = names; | ||
/** | ||
@@ -27,0 +26,0 @@ * Hyphenated to UpperCamelCase |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.offsetFromRoot = void 0; | ||
exports.offsetFromRoot = offsetFromRoot; | ||
const path_1 = require("path"); | ||
@@ -29,2 +29,1 @@ /** | ||
} | ||
exports.offsetFromRoot = offsetFromRoot; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NX_VERSION = exports.ensurePackage = exports.removeDependenciesFromPackageJson = exports.addDependenciesToPackageJson = void 0; | ||
exports.NX_VERSION = void 0; | ||
exports.addDependenciesToPackageJson = addDependenciesToPackageJson; | ||
exports.removeDependenciesFromPackageJson = removeDependenciesFromPackageJson; | ||
exports.ensurePackage = ensurePackage; | ||
const child_process_1 = require("child_process"); | ||
@@ -139,3 +142,2 @@ const module_1 = require("module"); | ||
} | ||
exports.addDependenciesToPackageJson = addDependenciesToPackageJson; | ||
/** | ||
@@ -193,3 +195,2 @@ * @returns The the incoming dependencies that are higher than the existing verions | ||
} | ||
exports.removeDependenciesFromPackageJson = removeDependenciesFromPackageJson; | ||
function sortObjectByKeys(obj) { | ||
@@ -340,3 +341,2 @@ if (!obj || typeof obj !== 'object' || Array.isArray(obj)) { | ||
} | ||
exports.ensurePackage = ensurePackage; | ||
/** | ||
@@ -343,0 +343,0 @@ * Generates necessary files needed for the package manager to work |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.replaceNrwlPackageWithNxPackage = void 0; | ||
exports.replaceNrwlPackageWithNxPackage = replaceNrwlPackageWithNxPackage; | ||
const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
@@ -14,3 +14,2 @@ const visit_not_ignored_files_1 = require("../generators/visit-not-ignored-files"); | ||
} | ||
exports.replaceNrwlPackageWithNxPackage = replaceNrwlPackageWithNxPackage; | ||
function replacePackageInDependencies(tree, oldPackageName, newPackageName) { | ||
@@ -17,0 +16,0 @@ (0, visit_not_ignored_files_1.visitNotIgnoredFiles)(tree, '.', (path) => { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.replaceProjectConfigurationsWithPlugin = void 0; | ||
exports.replaceProjectConfigurationsWithPlugin = replaceProjectConfigurationsWithPlugin; | ||
const devkit_exports_1 = require("nx/src/devkit-exports"); | ||
@@ -45,3 +45,2 @@ const devkit_internals_1 = require("nx/src/devkit-internals"); | ||
} | ||
exports.replaceProjectConfigurationsWithPlugin = replaceProjectConfigurationsWithPlugin; | ||
function removeConfigurationDefinedByPlugin(targetName, targetFromProjectConfig, targetFromCreateNodes, projectConfig) { | ||
@@ -48,0 +47,0 @@ // Executor |
"use strict"; | ||
// Remove this if https://github.com/benlesh/rxjs-for-await/issues/15 is addressed | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.nextValueFrom = exports.latestValueFrom = exports.bufferedValuesFrom = exports.eachValueFrom = exports.Deferred = void 0; | ||
exports.Deferred = void 0; | ||
exports.eachValueFrom = eachValueFrom; | ||
exports.bufferedValuesFrom = bufferedValuesFrom; | ||
exports.latestValueFrom = latestValueFrom; | ||
exports.nextValueFrom = nextValueFrom; | ||
class Deferred { | ||
@@ -104,3 +108,2 @@ constructor() { | ||
} | ||
exports.eachValueFrom = eachValueFrom; | ||
/** | ||
@@ -197,3 +200,2 @@ * Will subscribe to the `source` observable provided | ||
} | ||
exports.bufferedValuesFrom = bufferedValuesFrom; | ||
/** | ||
@@ -288,3 +290,2 @@ * Will subscribe to the provided `source` observable, | ||
} | ||
exports.latestValueFrom = latestValueFrom; | ||
/** | ||
@@ -366,2 +367,1 @@ * Subscribes to the provided `source` observable and allows | ||
} | ||
exports.nextValueFrom = nextValueFrom; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.checkAndCleanWithSemver = void 0; | ||
exports.checkAndCleanWithSemver = checkAndCleanWithSemver; | ||
const semver_1 = require("semver"); | ||
@@ -18,2 +18,1 @@ function checkAndCleanWithSemver(pkgName, version) { | ||
} | ||
exports.checkAndCleanWithSemver = checkAndCleanWithSemver; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.applyChangesToString = exports.ChangeType = void 0; | ||
exports.ChangeType = void 0; | ||
exports.applyChangesToString = applyChangesToString; | ||
var ChangeType; | ||
@@ -69,3 +70,2 @@ (function (ChangeType) { | ||
} | ||
exports.applyChangesToString = applyChangesToString; | ||
function assertChangesValid(changes) { | ||
@@ -72,0 +72,0 @@ for (const change of changes) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.featurePath = exports.group = exports.capitalize = exports.underscore = exports.classify = exports.camelize = exports.dasherize = exports.decamelize = void 0; | ||
exports.decamelize = decamelize; | ||
exports.dasherize = dasherize; | ||
exports.camelize = camelize; | ||
exports.classify = classify; | ||
exports.underscore = underscore; | ||
exports.capitalize = capitalize; | ||
exports.group = group; | ||
exports.featurePath = featurePath; | ||
/** | ||
@@ -33,3 +40,2 @@ * @license | ||
} | ||
exports.decamelize = decamelize; | ||
/** | ||
@@ -53,3 +59,2 @@ Replaces underscores, spaces, periods, or camelCase with dashes. | ||
} | ||
exports.dasherize = dasherize; | ||
/** | ||
@@ -77,3 +82,2 @@ Returns the lowerCamelCase form of a string. | ||
} | ||
exports.camelize = camelize; | ||
/** | ||
@@ -99,3 +103,2 @@ Returns the UpperCamelCase form of a string. | ||
} | ||
exports.classify = classify; | ||
/** | ||
@@ -122,3 +125,2 @@ More general than decamelize. Returns the lower\_case\_and\_underscored | ||
} | ||
exports.underscore = underscore; | ||
/** | ||
@@ -141,7 +143,5 @@ Returns the Capitalized form of a string | ||
} | ||
exports.capitalize = capitalize; | ||
function group(name, group) { | ||
return group ? `${group}/${name}` : name; | ||
} | ||
exports.group = group; | ||
function featurePath(group, flat, path, name) { | ||
@@ -153,2 +153,1 @@ if (group && !flat) { | ||
} | ||
exports.featurePath = featurePath; |
@@ -1,1 +0,1 @@ | ||
export declare const typescriptVersion = "~5.4.2"; | ||
export declare const typescriptVersion = "~5.5.2"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.typescriptVersion = void 0; | ||
exports.typescriptVersion = '~5.4.2'; | ||
exports.typescriptVersion = '~5.5.2'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
220484
5410
+ Added@nrwl/devkit@19.5.0-beta.1(transitive)
- Removed@nrwl/devkit@19.5.0-beta.0(transitive)
Updated@nrwl/devkit@19.5.0-beta.1