@angular-devkit/schematics 20.2.0-rc.1 → 20.2.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/schematics",
|
|
3
|
-
"version": "20.2.0
|
|
3
|
+
"version": "20.2.0",
|
|
4
4
|
"description": "Angular Schematics - Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"tooling"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@angular-devkit/core": "20.2.0
|
|
21
|
+
"@angular-devkit/core": "20.2.0",
|
|
22
22
|
"jsonc-parser": "3.3.1",
|
|
23
23
|
"magic-string": "0.30.17",
|
|
24
24
|
"ora": "8.2.0",
|
|
@@ -153,7 +153,7 @@ function default_1(factoryOptions = {}) {
|
|
|
153
153
|
// Workaround for https://github.com/sindresorhus/ora/issues/136.
|
|
154
154
|
discardStdin: process.platform != 'win32',
|
|
155
155
|
}).start();
|
|
156
|
-
const childProcess = (0, node_child_process_1.spawn)(taskPackageManagerName
|
|
156
|
+
const childProcess = (0, node_child_process_1.spawn)(`${taskPackageManagerName} ${args.join(' ')}`, spawnOptions).on('close', (code) => {
|
|
157
157
|
if (code === 0) {
|
|
158
158
|
spinner.succeed('Packages installed successfully.');
|
|
159
159
|
spinner.stop();
|
|
@@ -65,7 +65,7 @@ function default_1(factoryOptions = {}) {
|
|
|
65
65
|
},
|
|
66
66
|
};
|
|
67
67
|
return new Promise((resolve, reject) => {
|
|
68
|
-
(0, node_child_process_1.spawn)(
|
|
68
|
+
(0, node_child_process_1.spawn)(`git ${args.join(' ')}`, spawnOptions).on('close', (code) => {
|
|
69
69
|
if (code === 0) {
|
|
70
70
|
resolve();
|
|
71
71
|
}
|