@angular/cli
Advanced tools
Comparing version 18.2.0-next.0 to 18.2.0-next.1
{ | ||
"name": "@angular/cli", | ||
"version": "18.2.0-next.0", | ||
"version": "18.2.0-next.1", | ||
"description": "CLI tool for Angular", | ||
@@ -28,8 +28,8 @@ "main": "lib/cli/index.js", | ||
"dependencies": { | ||
"@angular-devkit/architect": "0.1802.0-next.0", | ||
"@angular-devkit/core": "18.2.0-next.0", | ||
"@angular-devkit/schematics": "18.2.0-next.0", | ||
"@inquirer/prompts": "5.1.2", | ||
"@angular-devkit/architect": "0.1802.0-next.1", | ||
"@angular-devkit/core": "18.2.0-next.1", | ||
"@angular-devkit/schematics": "18.2.0-next.1", | ||
"@inquirer/prompts": "5.1.3", | ||
"@listr2/prompt-adapter-inquirer": "2.0.13", | ||
"@schematics/angular": "18.2.0-next.0", | ||
"@schematics/angular": "18.2.0-next.1", | ||
"@yarnpkg/lockfile": "1.1.0", | ||
@@ -43,3 +43,3 @@ "ini": "4.1.3", | ||
"resolve": "1.22.8", | ||
"semver": "7.6.2", | ||
"semver": "7.6.3", | ||
"symbol-observable": "4.0.0", | ||
@@ -51,10 +51,10 @@ "yargs": "17.7.2" | ||
"packageGroup": { | ||
"@angular/cli": "18.2.0-next.0", | ||
"@angular/build": "18.2.0-next.0", | ||
"@angular/ssr": "18.2.0-next.0", | ||
"@angular-devkit/architect": "0.1802.0-next.0", | ||
"@angular-devkit/build-angular": "18.2.0-next.0", | ||
"@angular-devkit/build-webpack": "0.1802.0-next.0", | ||
"@angular-devkit/core": "18.2.0-next.0", | ||
"@angular-devkit/schematics": "18.2.0-next.0" | ||
"@angular/cli": "18.2.0-next.1", | ||
"@angular/build": "18.2.0-next.1", | ||
"@angular/ssr": "18.2.0-next.1", | ||
"@angular-devkit/architect": "0.1802.0-next.1", | ||
"@angular-devkit/build-angular": "18.2.0-next.1", | ||
"@angular-devkit/build-webpack": "0.1802.0-next.1", | ||
"@angular-devkit/core": "18.2.0-next.1", | ||
"@angular-devkit/schematics": "18.2.0-next.1" | ||
} | ||
@@ -61,0 +61,0 @@ }, |
@@ -209,4 +209,6 @@ "use strict"; | ||
} | ||
const choices = definition.items?.map((item) => { | ||
return typeof item == 'string' | ||
answers[definition.id] = await (definition.multiselect ? prompts.checkbox : prompts.select)({ | ||
message: definition.message, | ||
default: definition.default, | ||
choices: definition.items?.map((item) => typeof item == 'string' | ||
? { | ||
@@ -219,11 +221,6 @@ name: item, | ||
value: item.value, | ||
}; | ||
}), | ||
}); | ||
answers[definition.id] = await (definition.multiselect ? prompts.checkbox : prompts.select)({ | ||
message: definition.message, | ||
default: definition.default, | ||
choices, | ||
}); | ||
break; | ||
case 'input': | ||
case 'input': { | ||
let finalValue; | ||
@@ -268,2 +265,3 @@ answers[definition.id] = await prompts.input({ | ||
break; | ||
} | ||
} | ||
@@ -270,0 +268,0 @@ } |
@@ -12,2 +12,5 @@ "use strict"; | ||
const color_1 = require("../../utilities/color"); | ||
function removeLeadingSlash(value) { | ||
return value[0] === '/' ? value.slice(1) : value; | ||
} | ||
function subscribeToWorkflow(workflow, logger) { | ||
@@ -19,8 +22,7 @@ const files = new Set(); | ||
// Strip leading slash to prevent confusion. | ||
const eventPath = event.path.charAt(0) === '/' ? event.path.substring(1) : event.path; | ||
const eventPath = removeLeadingSlash(event.path); | ||
switch (event.kind) { | ||
case 'error': | ||
error = true; | ||
const desc = event.description == 'alreadyExist' ? 'already exists' : 'does not exist'; | ||
logger.error(`ERROR! ${eventPath} ${desc}.`); | ||
logger.error(`ERROR! ${eventPath} ${event.description == 'alreadyExist' ? 'already exists' : 'does not exist'}.`); | ||
break; | ||
@@ -40,4 +42,3 @@ case 'update': | ||
case 'rename': | ||
const eventToPath = event.to.charAt(0) === '/' ? event.to.substring(1) : event.to; | ||
logs.push(`${color_1.colors.blue('RENAME')} ${eventPath} => ${eventToPath}`); | ||
logs.push(`${color_1.colors.blue('RENAME')} ${eventPath} => ${removeLeadingSlash(event.to)}`); | ||
files.add(eventPath); | ||
@@ -44,0 +45,0 @@ break; |
@@ -28,3 +28,3 @@ "use strict"; | ||
// TODO(bazel): Convert this to use build-time version stamping after flipping the build script to use bazel | ||
// export const VERSION = new Version('18.2.0-next.0'); | ||
// export const VERSION = new Version('18.2.0-next.1'); | ||
exports.VERSION = new Version(JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, '../../package.json'), 'utf-8')).version); |
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
634904
15485
+ Added@angular-devkit/architect@0.1802.0-next.1(transitive)
+ Added@angular-devkit/core@18.2.0-next.1(transitive)
+ Added@angular-devkit/schematics@18.2.0-next.1(transitive)
+ Added@inquirer/core@9.1.0(transitive)
+ Added@inquirer/figures@1.0.5(transitive)
+ Added@inquirer/prompts@5.1.3(transitive)
+ Added@inquirer/type@1.5.3(transitive)
+ Added@npmcli/package-json@5.2.0(transitive)
+ Added@schematics/angular@18.2.0-next.1(transitive)
+ Added@types/node@22.5.4(transitive)
+ Addedajv@8.17.1(transitive)
+ Addedfast-uri@3.0.1(transitive)
+ Addedsemver@7.6.3(transitive)
- Removed@angular-devkit/architect@0.1802.0-next.0(transitive)
- Removed@angular-devkit/core@18.2.0-next.0(transitive)
- Removed@angular-devkit/schematics@18.2.0-next.0(transitive)
- Removed@inquirer/core@9.2.1(transitive)
- Removed@inquirer/figures@1.0.6(transitive)
- Removed@inquirer/prompts@5.1.2(transitive)
- Removed@inquirer/type@1.5.52.0.0(transitive)
- Removed@npmcli/package-json@5.2.1(transitive)
- Removed@schematics/angular@18.2.0-next.0(transitive)
- Removed@types/node@22.5.5(transitive)
- Removedajv@8.16.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedsemver@7.6.2(transitive)
- Removeduri-js@4.4.1(transitive)
Updated@inquirer/prompts@5.1.3
Updatedsemver@7.6.3