@angular-devkit/schematics-cli 14.0.0-next.5 → 14.0.0-next.8
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/schematics.js
CHANGED
|
@@ -9,7 +9,11 @@
|
|
|
9
9
|
*/
|
|
10
10
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11
11
|
if (k2 === undefined) k2 = k;
|
|
12
|
-
Object.
|
|
12
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
13
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
14
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
15
|
+
}
|
|
16
|
+
Object.defineProperty(o, k2, desc);
|
|
13
17
|
}) : (function(o, m, k, k2) {
|
|
14
18
|
if (k2 === undefined) k2 = k;
|
|
15
19
|
o[k2] = m[k];
|
|
@@ -179,7 +183,7 @@ async function main({ args, stdout = process.stdout, stderr = process.stderr, })
|
|
|
179
183
|
workflow.reporter.subscribe((event) => {
|
|
180
184
|
nothingDone = false;
|
|
181
185
|
// Strip leading slash to prevent confusion.
|
|
182
|
-
const eventPath = event.path.startsWith('/') ? event.path.
|
|
186
|
+
const eventPath = event.path.startsWith('/') ? event.path.slice(1) : event.path;
|
|
183
187
|
switch (event.kind) {
|
|
184
188
|
case 'error':
|
|
185
189
|
error = true;
|
|
@@ -196,7 +200,7 @@ async function main({ args, stdout = process.stdout, stderr = process.stderr, })
|
|
|
196
200
|
loggingQueue.push(`${colors.yellow('DELETE')} ${eventPath}`);
|
|
197
201
|
break;
|
|
198
202
|
case 'rename':
|
|
199
|
-
const eventToPath = event.to.startsWith('/') ? event.to.
|
|
203
|
+
const eventToPath = event.to.startsWith('/') ? event.to.slice(1) : event.to;
|
|
200
204
|
loggingQueue.push(`${colors.blue('RENAME')} ${eventPath} => ${eventToPath}`);
|
|
201
205
|
break;
|
|
202
206
|
}
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@angular-devkit/core": "^<%= coreVersion %>",
|
|
17
17
|
"@angular-devkit/schematics": "^<%= schematicsVersion %>",
|
|
18
|
-
"typescript": "~4.
|
|
18
|
+
"typescript": "~4.6.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "^14.15.0",
|
|
22
|
-
"@types/jasmine": "~
|
|
22
|
+
"@types/jasmine": "~4.0.0",
|
|
23
23
|
"jasmine": "^4.0.0"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/schematics-cli",
|
|
3
|
-
"version": "14.0.0-next.
|
|
3
|
+
"version": "14.0.0-next.8",
|
|
4
4
|
"description": "Angular Schematics - CLI",
|
|
5
5
|
"homepage": "https://github.com/angular/angular-cli",
|
|
6
6
|
"bin": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
],
|
|
22
22
|
"schematics": "./collection.json",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@angular-devkit/core": "14.0.0-next.
|
|
25
|
-
"@angular-devkit/schematics": "14.0.0-next.
|
|
24
|
+
"@angular-devkit/core": "14.0.0-next.8",
|
|
25
|
+
"@angular-devkit/schematics": "14.0.0-next.8",
|
|
26
26
|
"ansi-colors": "4.1.1",
|
|
27
|
-
"inquirer": "8.2.
|
|
27
|
+
"inquirer": "8.2.2",
|
|
28
28
|
"symbol-observable": "4.0.0",
|
|
29
29
|
"yargs-parser": "21.0.1"
|
|
30
30
|
},
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@angular-devkit/core": "^<%= coreVersion %>",
|
|
17
17
|
"@angular-devkit/schematics": "^<%= schematicsVersion %>",
|
|
18
|
-
"typescript": "~4.
|
|
18
|
+
"typescript": "~4.6.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "^14.15.0",
|
|
22
|
-
"@types/jasmine": "~
|
|
22
|
+
"@types/jasmine": "~4.0.0",
|
|
23
23
|
"jasmine": "~4.0.0"
|
|
24
24
|
}
|
|
25
25
|
}
|