@angular/cli 14.2.6 → 14.2.7
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/bin/ng.js +10 -0
- package/lib/init.js +3 -1
- package/package.json +11 -11
package/bin/ng.js
CHANGED
|
@@ -20,6 +20,16 @@ try {
|
|
|
20
20
|
process.title = 'ng';
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
const rawCommandName = process.argv[2];
|
|
24
|
+
|
|
25
|
+
if (rawCommandName === '--get-yargs-completions' || rawCommandName === 'completion') {
|
|
26
|
+
// Skip Node.js supported checks when running ng completion.
|
|
27
|
+
// A warning at this stage could cause a broken source action (`source <(ng completion script)`) when in the shell init script.
|
|
28
|
+
require('./bootstrap');
|
|
29
|
+
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
|
|
23
33
|
// This node version check ensures that extremely old versions of node are not used.
|
|
24
34
|
// These may not support ES2015 features such as const/let/async/await/etc.
|
|
25
35
|
// These would then crash with a hard to diagnose error message.
|
package/lib/init.js
CHANGED
|
@@ -99,7 +99,9 @@ let forceExit = false;
|
|
|
99
99
|
console.error('Version mismatch check skipped. Unable to compare local version: ' + error);
|
|
100
100
|
}
|
|
101
101
|
// When using the completion command, don't show the warning as otherwise this will break completion.
|
|
102
|
-
if (isGlobalGreater &&
|
|
102
|
+
if (isGlobalGreater &&
|
|
103
|
+
rawCommandName !== '--get-yargs-completions' &&
|
|
104
|
+
rawCommandName !== 'completion') {
|
|
103
105
|
// If using the update command and the global version is greater, use the newer update command
|
|
104
106
|
// This allows improvements in update to be used in older versions that do not have bootstrapping
|
|
105
107
|
if (rawCommandName === 'update' &&
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.7",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/angular/angular-cli",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@angular-devkit/architect": "0.1402.
|
|
29
|
-
"@angular-devkit/core": "14.2.
|
|
30
|
-
"@angular-devkit/schematics": "14.2.
|
|
31
|
-
"@schematics/angular": "14.2.
|
|
28
|
+
"@angular-devkit/architect": "0.1402.7",
|
|
29
|
+
"@angular-devkit/core": "14.2.7",
|
|
30
|
+
"@angular-devkit/schematics": "14.2.7",
|
|
31
|
+
"@schematics/angular": "14.2.7",
|
|
32
32
|
"@yarnpkg/lockfile": "1.1.0",
|
|
33
33
|
"ansi-colors": "4.1.3",
|
|
34
34
|
"debug": "4.3.4",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"ng-update": {
|
|
50
50
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
51
51
|
"packageGroup": {
|
|
52
|
-
"@angular/cli": "14.2.
|
|
53
|
-
"@angular-devkit/architect": "0.1402.
|
|
54
|
-
"@angular-devkit/build-angular": "14.2.
|
|
55
|
-
"@angular-devkit/build-webpack": "0.1402.
|
|
56
|
-
"@angular-devkit/core": "14.2.
|
|
57
|
-
"@angular-devkit/schematics": "14.2.
|
|
52
|
+
"@angular/cli": "14.2.7",
|
|
53
|
+
"@angular-devkit/architect": "0.1402.7",
|
|
54
|
+
"@angular-devkit/build-angular": "14.2.7",
|
|
55
|
+
"@angular-devkit/build-webpack": "0.1402.7",
|
|
56
|
+
"@angular-devkit/core": "14.2.7",
|
|
57
|
+
"@angular-devkit/schematics": "14.2.7"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|