@nx/workspace
Advanced tools
Comparing version 19.5.0-canary.20240711-2c4c2ae to 19.5.0-canary.20240712-0b0db78
@@ -83,4 +83,17 @@ { | ||
} | ||
}, | ||
"19.5.1": { | ||
"version": "19.5.0-beta.1", | ||
"x-prompt": "Do you want to update to TypeScript v5.5?", | ||
"requires": { | ||
"typescript": ">=5.4.0 <5.5.0" | ||
}, | ||
"packages": { | ||
"typescript": { | ||
"version": "~5.5.2", | ||
"alwaysAddToPackageJson": false | ||
} | ||
} | ||
} | ||
} | ||
} |
{ | ||
"name": "@nx/workspace", | ||
"version": "19.5.0-canary.20240711-2c4c2ae", | ||
"version": "19.5.0-canary.20240712-0b0db78", | ||
"private": false, | ||
@@ -64,3 +64,3 @@ "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.", | ||
"dependencies": { | ||
"@nx/devkit": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/devkit": "19.5.0-canary.20240712-0b0db78", | ||
"chalk": "^4.1.0", | ||
@@ -70,4 +70,4 @@ "enquirer": "~2.3.6", | ||
"yargs-parser": "21.1.1", | ||
"nx": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nrwl/workspace": "19.5.0-canary.20240711-2c4c2ae" | ||
"nx": "19.5.0-canary.20240712-0b0db78", | ||
"@nrwl/workspace": "19.5.0-canary.20240712-0b0db78" | ||
}, | ||
@@ -74,0 +74,0 @@ "publishConfig": { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.batchCounter = void 0; | ||
exports.default = counter; | ||
exports.batchCounter = batchCounter; | ||
const os_1 = require("os"); | ||
@@ -18,3 +19,2 @@ async function wait() { | ||
} | ||
exports.default = counter; | ||
async function batchCounter(taskGraph, inputs) { | ||
@@ -41,2 +41,1 @@ const result = {}; | ||
} | ||
exports.batchCounter = batchCounter; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ciWorkflowGenerator = void 0; | ||
exports.ciWorkflowGenerator = ciWorkflowGenerator; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -18,3 +18,2 @@ const default_base_1 = require("../../utilities/default-base"); | ||
} | ||
exports.ciWorkflowGenerator = ciWorkflowGenerator; | ||
function normalizeOptions(options, tree) { | ||
@@ -21,0 +20,0 @@ const { name: workflowName, fileName: workflowFileName } = (0, devkit_1.names)(options.name); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.monorepoGenerator = void 0; | ||
exports.monorepoGenerator = monorepoGenerator; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -52,3 +52,2 @@ const move_1 = require("../move/move"); | ||
} | ||
exports.monorepoGenerator = monorepoGenerator; | ||
exports.default = monorepoGenerator; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.convertToNxProjectGenerator = exports.validateSchema = void 0; | ||
exports.validateSchema = validateSchema; | ||
exports.convertToNxProjectGenerator = convertToNxProjectGenerator; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -26,3 +27,2 @@ const path_1 = require("path"); | ||
} | ||
exports.validateSchema = validateSchema; | ||
async function convertToNxProjectGenerator(host, schema) { | ||
@@ -79,3 +79,2 @@ const configName = host.exists('angular.json') | ||
} | ||
exports.convertToNxProjectGenerator = convertToNxProjectGenerator; | ||
exports.default = convertToNxProjectGenerator; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.checkDestination = void 0; | ||
exports.checkDestination = checkDestination; | ||
/** | ||
@@ -21,2 +21,1 @@ * Checks whether the destination folder is valid | ||
} | ||
exports.checkDestination = checkDestination; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createProjectConfigurationInNewDestination = void 0; | ||
exports.createProjectConfigurationInNewDestination = createProjectConfigurationInNewDestination; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -54,2 +54,1 @@ function createProjectConfigurationInNewDestination(tree, schema, projectConfig) { | ||
} | ||
exports.createProjectConfigurationInNewDestination = createProjectConfigurationInNewDestination; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.maybeMigrateEslintConfigIfRootProject = exports.maybeExtractJestConfigBase = exports.maybeExtractTsConfigBase = void 0; | ||
exports.maybeExtractTsConfigBase = maybeExtractTsConfigBase; | ||
exports.maybeExtractJestConfigBase = maybeExtractJestConfigBase; | ||
exports.maybeMigrateEslintConfigIfRootProject = maybeMigrateEslintConfigIfRootProject; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -16,3 +18,2 @@ function maybeExtractTsConfigBase(tree) { | ||
} | ||
exports.maybeExtractTsConfigBase = maybeExtractTsConfigBase; | ||
async function maybeExtractJestConfigBase(tree) { | ||
@@ -29,3 +30,2 @@ let jestInitGenerator; | ||
} | ||
exports.maybeExtractJestConfigBase = maybeExtractJestConfigBase; | ||
function maybeMigrateEslintConfigIfRootProject(tree, rootProject) { | ||
@@ -45,2 +45,1 @@ let migrateConfigToMonorepoStyle; | ||
} | ||
exports.maybeMigrateEslintConfigIfRootProject = maybeMigrateEslintConfigIfRootProject; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.moveProjectFiles = void 0; | ||
exports.moveProjectFiles = moveProjectFiles; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -57,2 +57,1 @@ const path_1 = require("path"); | ||
} | ||
exports.moveProjectFiles = moveProjectFiles; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.normalizeSchema = void 0; | ||
exports.normalizeSchema = normalizeSchema; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -18,3 +18,2 @@ const enquirer_1 = require("enquirer"); | ||
} | ||
exports.normalizeSchema = normalizeSchema; | ||
async function determineProjectNameAndRootOptions(tree, options, projectConfiguration) { | ||
@@ -21,0 +20,0 @@ if (!options.projectNameAndRootFormat && |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.runAngularPlugin = void 0; | ||
exports.runAngularPlugin = runAngularPlugin; | ||
async function runAngularPlugin(tree, schema) { | ||
@@ -19,2 +19,1 @@ let move; | ||
} | ||
exports.runAngularPlugin = runAngularPlugin; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateBuildTargets = void 0; | ||
exports.updateBuildTargets = updateBuildTargets; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -27,3 +27,2 @@ /** | ||
} | ||
exports.updateBuildTargets = updateBuildTargets; | ||
function updateJsonValue(config, callback) { | ||
@@ -30,0 +29,0 @@ function recur(obj, key, value) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateCypressConfig = void 0; | ||
exports.updateCypressConfig = updateCypressConfig; | ||
const path = require("path"); | ||
@@ -40,2 +40,1 @@ /** | ||
} | ||
exports.updateCypressConfig = updateCypressConfig; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateDefaultProject = void 0; | ||
exports.updateDefaultProject = updateDefaultProject; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -20,2 +20,1 @@ /** | ||
} | ||
exports.updateDefaultProject = updateDefaultProject; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateEslintConfig = void 0; | ||
exports.updateEslintConfig = updateEslintConfig; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -33,2 +33,1 @@ /** | ||
} | ||
exports.updateEslintConfig = updateEslintConfig; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateImplicitDependencies = void 0; | ||
exports.updateImplicitDependencies = updateImplicitDependencies; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -19,2 +19,1 @@ /** | ||
} | ||
exports.updateImplicitDependencies = updateImplicitDependencies; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateImports = void 0; | ||
exports.updateImports = updateImports; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -108,3 +108,2 @@ const path_1 = require("path"); | ||
} | ||
exports.updateImports = updateImports; | ||
function ensureTrailingSlash(path) { | ||
@@ -111,0 +110,0 @@ return path.endsWith('/') ? path : `${path}/`; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateJestConfig = void 0; | ||
exports.updateJestConfig = updateJestConfig; | ||
const path = require("path"); | ||
@@ -49,2 +49,1 @@ const jest_config_1 = require("../../utils/jest-config"); | ||
} | ||
exports.updateJestConfig = updateJestConfig; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updatePackageJson = void 0; | ||
exports.updatePackageJson = updatePackageJson; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -24,2 +24,1 @@ const path = require("path"); | ||
} | ||
exports.updatePackageJson = updatePackageJson; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateFilesForNonRootProjects = exports.updateFilesForRootProjects = exports.updateProjectRootFiles = void 0; | ||
exports.updateProjectRootFiles = updateProjectRootFiles; | ||
exports.updateFilesForRootProjects = updateFilesForRootProjects; | ||
exports.updateFilesForNonRootProjects = updateFilesForNonRootProjects; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -25,3 +27,2 @@ const path = require("path"); | ||
} | ||
exports.updateProjectRootFiles = updateProjectRootFiles; | ||
function updateFilesForRootProjects(tree, schema, project) { | ||
@@ -56,3 +57,2 @@ // Skip updating "path" and "extends" for tsconfig files since they are mostly | ||
} | ||
exports.updateFilesForRootProjects = updateFilesForRootProjects; | ||
function updateFilesForNonRootProjects(tree, schema, project) { | ||
@@ -89,2 +89,1 @@ const newRelativeRoot = path | ||
} | ||
exports.updateFilesForNonRootProjects = updateFilesForNonRootProjects; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateReadme = void 0; | ||
exports.updateReadme = updateReadme; | ||
const path_1 = require("path"); | ||
@@ -21,2 +21,1 @@ /** | ||
} | ||
exports.updateReadme = updateReadme; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateStorybookConfig = void 0; | ||
exports.updateStorybookConfig = updateStorybookConfig; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -30,3 +30,2 @@ const path = require("path"); | ||
} | ||
exports.updateStorybookConfig = updateStorybookConfig; | ||
function updateRecursively(tree, dir, oldRoot, newRoot) { | ||
@@ -33,0 +32,0 @@ for (const child of tree.children(dir)) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.normalizePathSlashes = exports.getNewProjectName = exports.getDestination = void 0; | ||
exports.getDestination = getDestination; | ||
exports.getNewProjectName = getNewProjectName; | ||
exports.normalizePathSlashes = normalizePathSlashes; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -21,3 +23,2 @@ /** | ||
} | ||
exports.getDestination = getDestination; | ||
/** | ||
@@ -36,3 +37,2 @@ * Joins path segments replacing slashes with dashes | ||
} | ||
exports.getNewProjectName = getNewProjectName; | ||
/** | ||
@@ -51,2 +51,1 @@ * Normalizes slashes (removes duplicates) | ||
} | ||
exports.normalizePathSlashes = normalizePathSlashes; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.moveGeneratorInternal = exports.moveGenerator = void 0; | ||
exports.moveGenerator = moveGenerator; | ||
exports.moveGeneratorInternal = moveGeneratorInternal; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -28,3 +29,2 @@ const check_destination_1 = require("./lib/check-destination"); | ||
} | ||
exports.moveGenerator = moveGenerator; | ||
async function moveGeneratorInternal(tree, rawSchema) { | ||
@@ -63,3 +63,2 @@ let projectConfig = (0, devkit_1.readProjectConfiguration)(tree, rawSchema.projectName); | ||
} | ||
exports.moveGeneratorInternal = moveGeneratorInternal; | ||
exports.default = moveGenerator; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generatePreset = exports.addPresetDependencies = void 0; | ||
exports.addPresetDependencies = addPresetDependencies; | ||
exports.generatePreset = generatePreset; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -15,3 +16,2 @@ const presets_1 = require("../utils/presets"); | ||
} | ||
exports.addPresetDependencies = addPresetDependencies; | ||
function generatePreset(host, opts) { | ||
@@ -75,3 +75,2 @@ const parsedArgs = yargsParser(process.argv, { | ||
} | ||
exports.generatePreset = generatePreset; | ||
function getPresetDependencies({ preset, presetVersion, bundler, e2eTestRunner, }) { | ||
@@ -78,0 +77,0 @@ switch (preset) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generateWorkspaceFiles = void 0; | ||
exports.generateWorkspaceFiles = generateWorkspaceFiles; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -36,3 +36,2 @@ const versions_1 = require("../../utils/versions"); | ||
} | ||
exports.generateWorkspaceFiles = generateWorkspaceFiles; | ||
function setPresetProperty(tree, options) { | ||
@@ -39,0 +38,0 @@ (0, devkit_1.updateJson)(tree, (0, path_1.join)(options.directory, 'nx.json'), (json) => { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.newGenerator = void 0; | ||
exports.newGenerator = newGenerator; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -32,3 +32,2 @@ const path_1 = require("path"); | ||
} | ||
exports.newGenerator = newGenerator; | ||
exports.default = newGenerator; | ||
@@ -35,0 +34,0 @@ function validateOptions(options, host) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.npmPackageGeneratorInternal = exports.npmPackageGenerator = void 0; | ||
exports.npmPackageGenerator = npmPackageGenerator; | ||
exports.npmPackageGeneratorInternal = npmPackageGeneratorInternal; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -39,3 +40,2 @@ const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils"); | ||
} | ||
exports.npmPackageGenerator = npmPackageGenerator; | ||
async function npmPackageGeneratorInternal(tree, _options) { | ||
@@ -54,2 +54,1 @@ const options = await normalizeOptions(tree, _options); | ||
} | ||
exports.npmPackageGeneratorInternal = npmPackageGeneratorInternal; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.presetGenerator = void 0; | ||
exports.presetGenerator = presetGenerator; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -15,3 +15,2 @@ const presets_1 = require("../utils/presets"); | ||
} | ||
exports.presetGenerator = presetGenerator; | ||
exports.default = presetGenerator; | ||
@@ -18,0 +17,0 @@ async function createPreset(tree, options) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.checkDependencies = void 0; | ||
exports.checkDependencies = checkDependencies; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -23,2 +23,1 @@ /** | ||
} | ||
exports.checkDependencies = checkDependencies; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.checkProjectIsSafeToRemove = void 0; | ||
exports.checkProjectIsSafeToRemove = checkProjectIsSafeToRemove; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -25,2 +25,1 @@ const path_1 = require("path"); | ||
} | ||
exports.checkProjectIsSafeToRemove = checkProjectIsSafeToRemove; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.checkTargets = void 0; | ||
exports.checkTargets = checkTargets; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -50,3 +50,2 @@ /** | ||
} | ||
exports.checkTargets = checkTargets; | ||
function checkIfProjectIsUsed(config, callback) { | ||
@@ -53,0 +52,0 @@ function recur(obj, key, value) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.removeProjectReferencesInConfig = void 0; | ||
exports.removeProjectReferencesInConfig = removeProjectReferencesInConfig; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -21,2 +21,1 @@ function removeProjectReferencesInConfig(tree, schema) { | ||
} | ||
exports.removeProjectReferencesInConfig = removeProjectReferencesInConfig; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.removeProject = void 0; | ||
exports.removeProject = removeProject; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -14,2 +14,1 @@ /** | ||
} | ||
exports.removeProject = removeProject; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateJestConfig = void 0; | ||
exports.updateJestConfig = updateJestConfig; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -76,2 +76,1 @@ const get_source_nodes_1 = require("../../../utilities/typescript/get-source-nodes"); | ||
} | ||
exports.updateJestConfig = updateJestConfig; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updateTsconfig = void 0; | ||
exports.updateTsconfig = updateTsconfig; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -31,2 +31,1 @@ const ts_config_1 = require("../../../utilities/ts-config"); | ||
} | ||
exports.updateTsconfig = updateTsconfig; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.removeGenerator = void 0; | ||
exports.removeGenerator = removeGenerator; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -25,3 +25,2 @@ const check_project_is_safe_to_remove_1 = require("./lib/check-project-is-safe-to-remove"); | ||
} | ||
exports.removeGenerator = removeGenerator; | ||
exports.default = removeGenerator; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.runCommandsGenerator = void 0; | ||
exports.runCommandsGenerator = runCommandsGenerator; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -24,3 +24,2 @@ async function runCommandsGenerator(host, schema) { | ||
} | ||
exports.runCommandsGenerator = runCommandsGenerator; | ||
exports.default = runCommandsGenerator; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getNpmPackageVersion = void 0; | ||
exports.getNpmPackageVersion = getNpmPackageVersion; | ||
function getNpmPackageVersion(packageName, packageVersion) { | ||
@@ -21,2 +21,1 @@ try { | ||
} | ||
exports.getNpmPackageVersion = getNpmPackageVersion; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.insertImport = void 0; | ||
exports.insertImport = insertImport; | ||
const insert_statement_1 = require("./insert-statement"); | ||
@@ -47,2 +47,1 @@ const devkit_1 = require("@nx/devkit"); | ||
} | ||
exports.insertImport = insertImport; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.insertStatement = void 0; | ||
exports.insertStatement = insertStatement; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -33,2 +33,1 @@ const typescript_1 = require("../../utilities/typescript"); | ||
} | ||
exports.insertStatement = insertStatement; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findRootJestConfig = void 0; | ||
exports.findRootJestConfig = findRootJestConfig; | ||
function findRootJestConfig(tree) { | ||
@@ -13,2 +13,1 @@ if (tree.exists('jest.config.js')) { | ||
} | ||
exports.findRootJestConfig = findRootJestConfig; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = replacePackage; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -9,2 +10,1 @@ const replace_package_1 = require("@nx/devkit/src/utils/replace-package"); | ||
} | ||
exports.default = replacePackage; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = update; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -41,2 +42,1 @@ function update(tree) { | ||
} | ||
exports.default = update; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -28,3 +29,2 @@ // nx-ignore-next-line | ||
} | ||
exports.default = default_1; | ||
async function moveWorkspaceGeneratorsToLocalPlugin(tree) { | ||
@@ -31,0 +31,0 @@ const tasks = []; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.deduceDefaultBase = void 0; | ||
exports.deduceDefaultBase = deduceDefaultBase; | ||
const child_process_1 = require("child_process"); | ||
@@ -15,2 +15,1 @@ function deduceDefaultBase() { | ||
} | ||
exports.deduceDefaultBase = deduceDefaultBase; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.renameSync = exports.copyFile = exports.updateJsonFile = exports.createDirectory = exports.isRelativePath = exports.directoryExists = exports.fileExists = void 0; | ||
exports.createDirectory = exports.isRelativePath = exports.directoryExists = exports.fileExists = void 0; | ||
exports.updateJsonFile = updateJsonFile; | ||
exports.copyFile = copyFile; | ||
exports.renameSync = renameSync; | ||
const fs_1 = require("fs"); | ||
@@ -24,3 +27,2 @@ const path_1 = require("path"); | ||
} | ||
exports.updateJsonFile = updateJsonFile; | ||
function copyFile(file, target) { | ||
@@ -33,3 +35,2 @@ const f = (0, path_1.basename)(file); | ||
} | ||
exports.copyFile = copyFile; | ||
function renameSync(from, to, cb) { | ||
@@ -53,2 +54,1 @@ try { | ||
} | ||
exports.renameSync = renameSync; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getNpmScope = exports.getImportPath = void 0; | ||
exports.getImportPath = getImportPath; | ||
exports.getNpmScope = getNpmScope; | ||
const json_1 = require("nx/src/generators/utils/json"); | ||
@@ -11,3 +12,2 @@ function getImportPath(tree, projectDirectory) { | ||
} | ||
exports.getImportPath = getImportPath; | ||
function getNpmScope(tree) { | ||
@@ -21,2 +21,1 @@ const { name } = tree.exists('package.json') | ||
} | ||
exports.getNpmScope = getNpmScope; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findNodes = exports.getRootTsConfigFileName = exports.getRelativePathToRootTsConfig = exports.getRootTsConfigPathInTree = exports.readTsConfig = void 0; | ||
exports.readTsConfig = readTsConfig; | ||
exports.getRootTsConfigPathInTree = getRootTsConfigPathInTree; | ||
exports.getRelativePathToRootTsConfig = getRelativePathToRootTsConfig; | ||
exports.getRootTsConfigFileName = getRootTsConfigFileName; | ||
exports.findNodes = findNodes; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -16,3 +20,2 @@ const fs_1 = require("fs"); | ||
} | ||
exports.readTsConfig = readTsConfig; | ||
function getRootTsConfigPathInTree(tree) { | ||
@@ -26,7 +29,5 @@ for (const path of ['tsconfig.base.json', 'tsconfig.json']) { | ||
} | ||
exports.getRootTsConfigPathInTree = getRootTsConfigPathInTree; | ||
function getRelativePathToRootTsConfig(tree, targetPath) { | ||
return (0, devkit_1.offsetFromRoot)(targetPath) + getRootTsConfigPathInTree(tree); | ||
} | ||
exports.getRelativePathToRootTsConfig = getRelativePathToRootTsConfig; | ||
function getRootTsConfigFileName() { | ||
@@ -41,3 +42,2 @@ for (const tsConfigName of ['tsconfig.base.json', 'tsconfig.json']) { | ||
} | ||
exports.getRootTsConfigFileName = getRootTsConfigFileName; | ||
function findNodes(node, kind, max = Infinity) { | ||
@@ -70,2 +70,1 @@ if (!node || max == 0) { | ||
} | ||
exports.findNodes = findNodes; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ensureTypescript = exports.resolveModuleByImport = exports.getSourceNodes = exports.compileTypeScript = void 0; | ||
exports.getSourceNodes = exports.compileTypeScript = void 0; | ||
exports.resolveModuleByImport = resolveModuleByImport; | ||
exports.ensureTypescript = ensureTypescript; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -45,3 +47,2 @@ const path_1 = require("path"); | ||
} | ||
exports.resolveModuleByImport = resolveModuleByImport; | ||
function getCompilerHost(tsConfigPath) { | ||
@@ -56,2 +57,1 @@ const options = readTsConfigOptions(tsConfigPath); | ||
} | ||
exports.ensureTypescript = ensureTypescript; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.compileTypeScriptWatcher = exports.compileTypeScript = void 0; | ||
exports.compileTypeScript = compileTypeScript; | ||
exports.compileTypeScriptWatcher = compileTypeScriptWatcher; | ||
const devkit_1 = require("@nx/devkit"); | ||
@@ -17,3 +18,2 @@ const fs_1 = require("fs"); | ||
} | ||
exports.compileTypeScript = compileTypeScript; | ||
function compileTypeScriptWatcher(options, callback) { | ||
@@ -47,3 +47,2 @@ if (!tsModule) { | ||
} | ||
exports.compileTypeScriptWatcher = compileTypeScriptWatcher; | ||
function mergeCustomTransformers(originalCustomTransformers, consumerCustomTransformers) { | ||
@@ -50,0 +49,0 @@ if (!consumerCustomTransformers) |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getSourceNodes = void 0; | ||
exports.getSourceNodes = getSourceNodes; | ||
/** | ||
@@ -21,2 +21,1 @@ * @deprecated This function will be removed from @nx/workspace in version 17. Prefer importing from @nx/js. | ||
} | ||
exports.getSourceNodes = getSourceNodes; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serializeTarget = exports.editTarget = exports.parseTarget = exports.getWorkspacePath = void 0; | ||
exports.getWorkspacePath = getWorkspacePath; | ||
exports.parseTarget = parseTarget; | ||
exports.editTarget = editTarget; | ||
exports.serializeTarget = serializeTarget; | ||
/** | ||
@@ -11,3 +14,2 @@ * @deprecated Nx no longer supports workspace.json | ||
} | ||
exports.getWorkspacePath = getWorkspacePath; | ||
function parseTarget(targetString) { | ||
@@ -21,3 +23,2 @@ const [project, target, config] = targetString.split(':'); | ||
} | ||
exports.parseTarget = parseTarget; | ||
function editTarget(targetString, callback) { | ||
@@ -27,3 +28,2 @@ const parsedTarget = parseTarget(targetString); | ||
} | ||
exports.editTarget = editTarget; | ||
/** | ||
@@ -35,2 +35,1 @@ * @deprecated use the utility from nx/src/utils instead | ||
} | ||
exports.serializeTarget = serializeTarget; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.projectRootDir = exports.ProjectType = void 0; | ||
exports.ProjectType = void 0; | ||
exports.projectRootDir = projectRootDir; | ||
var ProjectType; | ||
@@ -17,2 +18,1 @@ (function (ProjectType) { | ||
} | ||
exports.projectRootDir = projectRootDir; |
export declare const nxVersion: any; | ||
export declare const typescriptVersion = "~5.4.2"; | ||
export declare const angularCliVersion = "~18.0.0"; | ||
export declare const typescriptVersion = "~5.5.2"; | ||
export declare const angularCliVersion = "~18.1.0"; |
@@ -5,5 +5,5 @@ "use strict"; | ||
exports.nxVersion = require('../../package.json').version; | ||
exports.typescriptVersion = '~5.4.2'; | ||
exports.typescriptVersion = '~5.5.2'; | ||
// TODO: remove when preset generation is reworked and | ||
// deps are not installed from workspace | ||
exports.angularCliVersion = '~18.0.0'; | ||
exports.angularCliVersion = '~18.1.0'; |
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
213495
4690
+ Added@nrwl/devkit@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nrwl/tao@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nrwl/workspace@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/devkit@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-darwin-arm64@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-darwin-x64@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-freebsd-x64@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-linux-arm-gnueabihf@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-linux-arm64-gnu@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-linux-arm64-musl@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-linux-x64-gnu@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-linux-x64-musl@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-win32-arm64-msvc@19.5.0-canary.20240712-0b0db78(transitive)
+ Added@nx/nx-win32-x64-msvc@19.5.0-canary.20240712-0b0db78(transitive)
+ Addednx@19.5.0-canary.20240712-0b0db78(transitive)
- Removed@nrwl/devkit@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nrwl/tao@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nrwl/workspace@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/devkit@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-darwin-arm64@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-darwin-x64@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-freebsd-x64@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-linux-arm-gnueabihf@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-linux-arm64-gnu@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-linux-arm64-musl@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-linux-x64-gnu@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-linux-x64-musl@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-win32-arm64-msvc@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nx/nx-win32-x64-msvc@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removednx@19.5.0-canary.20240711-2c4c2ae(transitive)