@schematics/angular 9.1.0 → 9.1.4
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/app-shell/app-shell-long.md +2 -2
- package/application/other-files/app.component.html.template +1 -1
- package/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template +1 -1
- package/migrations/update-10/update-tslint.js +2 -2
- package/package.json +3 -3
- package/utility/latest-versions.js +4 -4
- package/workspace/files/package.json.template +1 -1
|
@@ -7,7 +7,7 @@ Use this command with a routing app that is accompanied by a Universal server-si
|
|
|
7
7
|
To create an app shell, use the following command.
|
|
8
8
|
|
|
9
9
|
<code-example format="." language="bash">
|
|
10
|
-
ng generate app-shell
|
|
10
|
+
ng generate app-shell my-app
|
|
11
11
|
</code-example>
|
|
12
12
|
|
|
13
13
|
* `my-app` is the name of your client application
|
|
@@ -44,4 +44,4 @@ To verify the that the app has been built with the default shell content:
|
|
|
44
44
|
|
|
45
45
|
1. Open `dist/app-shell/index.html` in your browser.
|
|
46
46
|
|
|
47
|
-
The default text "app-shell works!" verifies that the app-shell route was rendered as part of the output.
|
|
47
|
+
The default text "app-shell works!" verifies that the app-shell route was rendered as part of the output.
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
|
|
121
121
|
.card-container .card:not(.highlight-card):hover {
|
|
122
122
|
transform: translateY(-3px);
|
|
123
|
-
box-shadow: 0 4px 17px rgba(
|
|
123
|
+
box-shadow: 0 4px 17px rgba(0, 0, 0, 0.35);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.card-container .card:not(.highlight-card):hover .material-icons path {
|
package/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template
CHANGED
|
@@ -14,7 +14,7 @@ import { Component, OnInit<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }
|
|
|
14
14
|
display: block;
|
|
15
15
|
}
|
|
16
16
|
`<% } %>
|
|
17
|
-
]
|
|
17
|
+
]<% } else { %>
|
|
18
18
|
styleUrls: ['./<%= dasherize(name) %><%= type ? '.' + dasherize(type): '' %>.<%= style %>']<% } %><% if(!!viewEncapsulation) { %>,
|
|
19
19
|
encapsulation: ViewEncapsulation.<%= viewEncapsulation %><% } if (changeDetection !== 'Default') { %>,
|
|
20
20
|
changeDetection: ChangeDetectionStrategy.<%= changeDetection %><% } %>
|
|
@@ -108,8 +108,8 @@ function default_1() {
|
|
|
108
108
|
if (!extendsAst ||
|
|
109
109
|
(extendsAst.kind === 'string' && extendsAst.value !== 'tslint:recommended') ||
|
|
110
110
|
(extendsAst.kind === 'array' && extendsAst.elements.some(e => e.value !== 'tslint:recommended'))) {
|
|
111
|
-
logger.warn(`tslint configuration does not extend "tslint:recommended".`
|
|
112
|
-
+ '\
|
|
111
|
+
logger.warn(`tslint configuration does not extend "tslint:recommended" or it extends multiple configurations.`
|
|
112
|
+
+ '\nSkipping rule changes as some rules might conflict.');
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
115
|
for (const [name, value] of Object.entries(RULES_TO_ADD)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.4",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
],
|
|
15
15
|
"schematics": "./collection.json",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@angular-devkit/core": "9.1.
|
|
18
|
-
"@angular-devkit/schematics": "9.1.
|
|
17
|
+
"@angular-devkit/core": "9.1.4",
|
|
18
|
+
"@angular-devkit/schematics": "9.1.4"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.latestVersions = {
|
|
11
11
|
// These versions should be kept up to date with latest Angular peer dependencies.
|
|
12
|
-
Angular: '~9.1.
|
|
12
|
+
Angular: '~9.1.4',
|
|
13
13
|
RxJs: '~6.5.4',
|
|
14
14
|
ZoneJs: '~0.10.2',
|
|
15
15
|
TypeScript: '~3.8.3',
|
|
@@ -18,8 +18,8 @@ exports.latestVersions = {
|
|
|
18
18
|
// For our e2e tests, these versions must match the latest tag present on the branch.
|
|
19
19
|
// During RC periods they will not match the latest RC until there's a new git tag, and
|
|
20
20
|
// should not be updated.
|
|
21
|
-
DevkitBuildAngular: '~0.901.
|
|
22
|
-
DevkitBuildNgPackagr: '~0.901.
|
|
23
|
-
DevkitBuildWebpack: '~0.901.
|
|
21
|
+
DevkitBuildAngular: '~0.901.4',
|
|
22
|
+
DevkitBuildNgPackagr: '~0.901.4',
|
|
23
|
+
DevkitBuildWebpack: '~0.901.4',
|
|
24
24
|
ngPackagr: '^9.0.0',
|
|
25
25
|
};
|