@angular/cli 12.1.0 → 12.1.1
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/commands/version-impl.js +10 -1
- package/package.json +11 -11
package/commands/version-impl.js
CHANGED
|
@@ -168,7 +168,16 @@ class VersionCommand extends command_1.Command {
|
|
|
168
168
|
async getPackageManager() {
|
|
169
169
|
try {
|
|
170
170
|
const manager = await package_manager_1.getPackageManager(this.context.root);
|
|
171
|
-
const version = child_process_1.execSync(`${manager} --version`, {
|
|
171
|
+
const version = child_process_1.execSync(`${manager} --version`, {
|
|
172
|
+
encoding: 'utf8',
|
|
173
|
+
stdio: ['ignore', 'pipe', 'ignore'],
|
|
174
|
+
env: {
|
|
175
|
+
...process.env,
|
|
176
|
+
// NPM updater notifier will prevents the child process from closing until it timeout after 3 minutes.
|
|
177
|
+
NO_UPDATE_NOTIFIER: '1',
|
|
178
|
+
NPM_CONFIG_UPDATE_NOTIFIER: 'false',
|
|
179
|
+
},
|
|
180
|
+
}).trim();
|
|
172
181
|
return `${manager} ${version}`;
|
|
173
182
|
}
|
|
174
183
|
catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.1",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/angular/angular-cli",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@angular-devkit/architect": "0.1201.
|
|
32
|
-
"@angular-devkit/core": "12.1.
|
|
33
|
-
"@angular-devkit/schematics": "12.1.
|
|
34
|
-
"@schematics/angular": "12.1.
|
|
31
|
+
"@angular-devkit/architect": "0.1201.1",
|
|
32
|
+
"@angular-devkit/core": "12.1.1",
|
|
33
|
+
"@angular-devkit/schematics": "12.1.1",
|
|
34
|
+
"@schematics/angular": "12.1.1",
|
|
35
35
|
"@yarnpkg/lockfile": "1.1.0",
|
|
36
36
|
"ansi-colors": "4.1.1",
|
|
37
37
|
"debug": "4.3.1",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"ng-update": {
|
|
52
52
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
53
53
|
"packageGroup": {
|
|
54
|
-
"@angular/cli": "12.1.
|
|
55
|
-
"@angular-devkit/architect": "0.1201.
|
|
56
|
-
"@angular-devkit/build-angular": "12.1.
|
|
57
|
-
"@angular-devkit/build-webpack": "0.1201.
|
|
58
|
-
"@angular-devkit/core": "12.1.
|
|
59
|
-
"@angular-devkit/schematics": "12.1.
|
|
54
|
+
"@angular/cli": "12.1.1",
|
|
55
|
+
"@angular-devkit/architect": "0.1201.1",
|
|
56
|
+
"@angular-devkit/build-angular": "12.1.1",
|
|
57
|
+
"@angular-devkit/build-webpack": "0.1201.1",
|
|
58
|
+
"@angular-devkit/core": "12.1.1",
|
|
59
|
+
"@angular-devkit/schematics": "12.1.1"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|