@angular-devkit/schematics-cli 17.2.3 → 17.3.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/blank/factory.js +3 -2
- package/blank/project-files/package.json +1 -1
- package/package.json +4 -4
- package/schematic/factory.js +3 -1
- package/schematic/files/package.json +1 -1
- /package/blank/project-files/{__dot__gitignore → .gitignore.template} +0 -0
- /package/blank/project-files/{__dot__npmignore → .npmignore.template} +0 -0
- /package/blank/schematic-files/src/__name@dasherize__/{index.ts → index.ts.template} +0 -0
- /package/blank/schematic-files/src/__name@dasherize__/{index_spec.ts → index_spec.ts.template} +0 -0
- /package/schematic/files/{__dot__gitignore → .gitignore.template} +0 -0
- /package/schematic/files/{__dot__npmignore → .npmignore.template} +0 -0
package/blank/factory.js
CHANGED
|
@@ -40,7 +40,7 @@ function default_1(options) {
|
|
|
40
40
|
}
|
|
41
41
|
catch { }
|
|
42
42
|
let source = (0, schematics_1.apply)((0, schematics_1.url)('./schematic-files'), [
|
|
43
|
-
(0, schematics_1.
|
|
43
|
+
(0, schematics_1.applyTemplates)({
|
|
44
44
|
...options,
|
|
45
45
|
coreVersion,
|
|
46
46
|
schematicsVersion,
|
|
@@ -53,7 +53,8 @@ function default_1(options) {
|
|
|
53
53
|
if (!collectionPath) {
|
|
54
54
|
collectionPath = (0, core_1.normalize)('/' + options.name + '/src/collection.json');
|
|
55
55
|
source = (0, schematics_1.apply)((0, schematics_1.url)('./project-files'), [
|
|
56
|
-
(0, schematics_1.template)
|
|
56
|
+
(0, schematics_1.move)('package.json', 'package.json.template'),
|
|
57
|
+
(0, schematics_1.applyTemplates)({
|
|
57
58
|
...options,
|
|
58
59
|
coreVersion,
|
|
59
60
|
schematicsVersion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/schematics-cli",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.0",
|
|
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": "17.
|
|
25
|
-
"@angular-devkit/schematics": "17.
|
|
24
|
+
"@angular-devkit/core": "17.3.0",
|
|
25
|
+
"@angular-devkit/schematics": "17.3.0",
|
|
26
26
|
"ansi-colors": "4.1.3",
|
|
27
|
-
"inquirer": "9.2.
|
|
27
|
+
"inquirer": "9.2.15",
|
|
28
28
|
"symbol-observable": "4.0.0",
|
|
29
29
|
"yargs-parser": "21.1.1"
|
|
30
30
|
},
|
package/schematic/factory.js
CHANGED
|
@@ -16,7 +16,9 @@ function default_1(options) {
|
|
|
16
16
|
return (_, context) => {
|
|
17
17
|
context.addTask(new tasks_1.NodePackageInstallTask(options.name));
|
|
18
18
|
return (0, schematics_1.mergeWith)((0, schematics_1.apply)((0, schematics_1.url)('./files'), [
|
|
19
|
-
|
|
19
|
+
// The `package.json` name is kept to allow renovate to update the dependency versions
|
|
20
|
+
(0, schematics_1.move)('package.json', 'package.json.template'),
|
|
21
|
+
(0, schematics_1.partitionApplyMerge)((p) => !/\/src\/.*?\/files\//.test(p), (0, schematics_1.applyTemplates)({
|
|
20
22
|
...options,
|
|
21
23
|
coreVersion,
|
|
22
24
|
schematicsVersion,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/blank/schematic-files/src/__name@dasherize__/{index_spec.ts → index_spec.ts.template}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|