@schematics/angular 13.1.0-next.0 → 13.1.0-next.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.
|
@@ -366,6 +366,12 @@
|
|
|
366
366
|
<svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
|
|
367
367
|
</a>
|
|
368
368
|
|
|
369
|
+
<a class="card" target="_blank" rel="noopener" href="https://material.angular.io">
|
|
370
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="margin-right: 8px" width="21.813" height="23.453" viewBox="0 0 21.813 23.453"><path d="M4099.584,972.736h0l-10.882,3.9,1.637,14.4,9.245,5.153,9.245-5.153,1.686-14.4Z" transform="translate(-4088.702 -972.736)" fill="#808080"/><path d="M4181.516,972.736v23.453l9.245-5.153,1.686-14.4Z" transform="translate(-4170.633 -972.736)" fill="#808080"/><path d="M4137.529,1076.127l-7.7-3.723,4.417-2.721,7.753,3.723Z" transform="translate(-4125.003 -1058.315)" fill="#ffe0b2"/><path d="M4137.529,1051.705l-7.7-3.723,4.417-2.721,7.753,3.723Z" transform="translate(-4125.003 -1036.757)" fill="#fff3e0"/><path d="M4137.529,1027.283l-7.7-3.723,4.417-2.721,7.753,3.723Z" transform="translate(-4125.003 -1015.199)" fill="#fff"/></svg>
|
|
371
|
+
<span>Angular Material</span>
|
|
372
|
+
<svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
|
|
373
|
+
</a>
|
|
374
|
+
|
|
369
375
|
<a class="card" target="_blank" rel="noopener" href="https://blog.angular.io/">
|
|
370
376
|
<svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04 0 2.65-2.15 4.8-4.8 4.8z"/></svg>
|
|
371
377
|
<span>Angular Blog</span>
|
|
@@ -430,29 +436,6 @@
|
|
|
430
436
|
|
|
431
437
|
<!-- Links -->
|
|
432
438
|
<div class="card-container">
|
|
433
|
-
<a class="circle-link" title="Animations" href="https://angular.io/guide/animations" target="_blank" rel="noopener">
|
|
434
|
-
<svg id="Group_20" data-name="Group 20" xmlns="http://www.w3.org/2000/svg" width="21.813" height="23.453" viewBox="0 0 21.813 23.453">
|
|
435
|
-
<path id="Path_15" data-name="Path 15" d="M4099.584,972.736h0l-10.882,3.9,1.637,14.4,9.245,5.153,9.245-5.153,1.686-14.4Z" transform="translate(-4088.702 -972.736)" fill="#ffa726"/>
|
|
436
|
-
<path id="Path_16" data-name="Path 16" d="M4181.516,972.736v23.453l9.245-5.153,1.686-14.4Z" transform="translate(-4170.633 -972.736)" fill="#fb8c00"/>
|
|
437
|
-
<path id="Path_17" data-name="Path 17" d="M4137.529,1076.127l-7.7-3.723,4.417-2.721,7.753,3.723Z" transform="translate(-4125.003 -1058.315)" fill="#ffe0b2"/>
|
|
438
|
-
<path id="Path_18" data-name="Path 18" d="M4137.529,1051.705l-7.7-3.723,4.417-2.721,7.753,3.723Z" transform="translate(-4125.003 -1036.757)" fill="#fff3e0"/>
|
|
439
|
-
<path id="Path_19" data-name="Path 19" d="M4137.529,1027.283l-7.7-3.723,4.417-2.721,7.753,3.723Z" transform="translate(-4125.003 -1015.199)" fill="#fff"/>
|
|
440
|
-
</svg>
|
|
441
|
-
</a>
|
|
442
|
-
|
|
443
|
-
<a class="circle-link" title="CLI" href="https://cli.angular.io/" target="_blank" rel="noopener">
|
|
444
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="21.762" height="23.447" viewBox="0 0 21.762 23.447">
|
|
445
|
-
<title>Angular CLI Logo</title>
|
|
446
|
-
<g id="Group_21" data-name="Group 21" transform="translate(0)">
|
|
447
|
-
<path id="Path_20" data-name="Path 20" d="M2660.313,313.618h0l-10.833,3.9,1.637,14.4,9.2,5.152,9.244-5.152,1.685-14.4Z" transform="translate(-2649.48 -313.618)" fill="#37474f"/>
|
|
448
|
-
<path id="Path_21" data-name="Path 21" d="M2741.883,313.618v23.447l9.244-5.152,1.685-14.4Z" transform="translate(-2731.05 -313.618)" fill="#263238"/>
|
|
449
|
-
<path id="Path_22" data-name="Path 22" d="M2692.293,379.169h11.724V368.618h-11.724Zm11.159-.6h-10.608v-9.345h10.621v9.345Z" transform="translate(-2687.274 -362.17)" fill="#fff"/>
|
|
450
|
-
<path id="Path_23" data-name="Path 23" d="M2709.331,393.688l.4.416,2.265-2.28-2.294-2.294-.4.4,1.893,1.893Z" transform="translate(-2702.289 -380.631)" fill="#fff"/>
|
|
451
|
-
<rect id="Rectangle_12" data-name="Rectangle 12" width="3.517" height="0.469" transform="translate(9.709 13.744)" fill="#fff"/>
|
|
452
|
-
</g>
|
|
453
|
-
</svg>
|
|
454
|
-
</a>
|
|
455
|
-
|
|
456
439
|
<a class="circle-link" title="Find a Local Meetup" href="https://www.meetup.com/find/?keywords=angular" target="_blank" rel="noopener">
|
|
457
440
|
<svg xmlns="http://www.w3.org/2000/svg" width="24.607" height="23.447" viewBox="0 0 24.607 23.447">
|
|
458
441
|
<title>Meetup Logo</title>
|
|
@@ -12,9 +12,16 @@ const json_file_1 = require("../../utility/json-file");
|
|
|
12
12
|
const workspace_1 = require("../../utility/workspace");
|
|
13
13
|
function* visit(directory) {
|
|
14
14
|
for (const path of directory.subfiles) {
|
|
15
|
-
if (path === '
|
|
16
|
-
|
|
15
|
+
if (path === 'package.json') {
|
|
16
|
+
const entry = directory.file(path);
|
|
17
|
+
if ((entry === null || entry === void 0 ? void 0 : entry.content.toString().includes('ngPackage')) !== true) {
|
|
18
|
+
continue;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
else if (path !== 'ng-package.json') {
|
|
22
|
+
continue;
|
|
17
23
|
}
|
|
24
|
+
yield (0, core_1.join)(directory.path, path);
|
|
18
25
|
}
|
|
19
26
|
for (const path of directory.subdirs) {
|
|
20
27
|
if (path === 'node_modules' || path.startsWith('.')) {
|
|
@@ -30,8 +37,11 @@ function default_1() {
|
|
|
30
37
|
['lib', 'umdModuleIds'],
|
|
31
38
|
['lib', 'amdId'],
|
|
32
39
|
['lib', 'umdId'],
|
|
40
|
+
['ngPackage', 'lib', 'umdModuleIds'],
|
|
41
|
+
['ngPackage', 'lib', 'amdId'],
|
|
42
|
+
['ngPackage', 'lib', 'umdId'],
|
|
33
43
|
];
|
|
34
|
-
return async (tree) => {
|
|
44
|
+
return async (tree, context) => {
|
|
35
45
|
const workspace = await (0, workspace_1.getWorkspace)(tree);
|
|
36
46
|
const librariesTsConfig = new Set();
|
|
37
47
|
const ngPackagrConfig = new Set();
|
|
@@ -45,7 +55,15 @@ function default_1() {
|
|
|
45
55
|
librariesTsConfig.add(options.tsConfig);
|
|
46
56
|
}
|
|
47
57
|
if (typeof options.project === 'string') {
|
|
48
|
-
|
|
58
|
+
if (options.project.endsWith('.json')) {
|
|
59
|
+
ngPackagrConfig.add(options.project);
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
context.logger
|
|
63
|
+
.warn(core_1.tags.stripIndent `Expected a JSON configuration file but found "${options.project}".
|
|
64
|
+
You may need to adjust the configuration file to remove invalid options.
|
|
65
|
+
For more information, see the breaking changes section within the release notes: https://github.com/ng-packagr/ng-packagr/releases/tag/v13.0.0/.`);
|
|
66
|
+
}
|
|
49
67
|
}
|
|
50
68
|
}
|
|
51
69
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "13.1.0-next.
|
|
3
|
+
"version": "13.1.0-next.1",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"homepage": "https://github.com/angular/angular-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
],
|
|
16
16
|
"schematics": "./collection.json",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@angular-devkit/core": "13.1.0-next.
|
|
19
|
-
"@angular-devkit/schematics": "13.1.0-next.
|
|
18
|
+
"@angular-devkit/core": "13.1.0-next.1",
|
|
19
|
+
"@angular-devkit/schematics": "13.1.0-next.1",
|
|
20
20
|
"jsonc-parser": "3.0.0"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
@@ -13,7 +13,7 @@ exports.latestVersions = {
|
|
|
13
13
|
// but ts_library doesn't support JSON inputs.
|
|
14
14
|
...require('./latest-versions/package.json')['dependencies'],
|
|
15
15
|
// As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
|
|
16
|
-
Angular: '~13.0.0
|
|
16
|
+
Angular: '~13.0.0',
|
|
17
17
|
// Since @angular-devkit/build-angular and @schematics/angular are always
|
|
18
18
|
// published together from the same monorepo, and they are both
|
|
19
19
|
// non-experimental, they will always have the same version.
|