@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.
@@ -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 --client-project my-app --universal-project server-app
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(black, 0.35);
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 {
@@ -14,7 +14,7 @@ import { Component, OnInit<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }
14
14
  display: block;
15
15
  }
16
16
  `<% } %>
17
- ],<% } else { %>
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
- + '\nMigration will terminate as some rules might conflict.');
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.0",
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.0",
18
- "@angular-devkit/schematics": "9.1.0"
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.0',
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.0',
22
- DevkitBuildNgPackagr: '~0.901.0',
23
- DevkitBuildWebpack: '~0.901.0',
21
+ DevkitBuildAngular: '~0.901.4',
22
+ DevkitBuildNgPackagr: '~0.901.4',
23
+ DevkitBuildWebpack: '~0.901.4',
24
24
  ngPackagr: '^9.0.0',
25
25
  };
@@ -33,7 +33,7 @@
33
33
  "codelyzer": "^5.1.2",
34
34
  "jasmine-core": "~3.5.0",
35
35
  "jasmine-spec-reporter": "~4.2.1",
36
- "karma": "~4.4.1",
36
+ "karma": "~5.0.0",
37
37
  "karma-chrome-launcher": "~3.1.0",
38
38
  "karma-coverage-istanbul-reporter": "~2.1.0",
39
39
  "karma-jasmine": "~3.0.1",