@schematics/angular 10.0.2 → 10.0.6

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.
@@ -349,7 +349,7 @@ function default_1(options) {
349
349
  ]), schematics_1.MergeStrategy.Overwrite),
350
350
  tsconfig_1.addTsConfigProjectReferences([
351
351
  core_1.join(appDir, 'tsconfig.app.json'),
352
- core_1.join(appDir, 'tsconfig.spec.json'),
352
+ ...options.minimal ? [] : [core_1.join(appDir, 'tsconfig.spec.json')],
353
353
  ]),
354
354
  options.minimal ? schematics_1.noop() : schematics_1.schematic('e2e', e2eOptions),
355
355
  options.skipPackageJson ? schematics_1.noop() : addDependenciesToPackageJson(options),
package/e2e/index.js CHANGED
@@ -52,9 +52,6 @@ function default_1(options) {
52
52
  }),
53
53
  schematics_1.move(root),
54
54
  ])),
55
- tsconfig_1.addTsConfigProjectReferences([
56
- e2eTsConfig,
57
- ]),
58
55
  ]);
59
56
  };
60
57
  }
@@ -37,13 +37,18 @@ function default_1() {
37
37
  }
38
38
  // Check for @angular-devkit/schematics and @angular-devkit/core
39
39
  for (const name of ['@angular-devkit/schematics', '@angular-devkit/core']) {
40
- const current = dependencies_1.getPackageJsonDependency(host, name);
41
- if (current) {
40
+ if (dependencies_1.getPackageJsonDependency(host, name)) {
42
41
  context.logger.info(`Package "${name}" found in the workspace package.json. ` +
43
42
  'This package typically does not need to be installed manually. ' +
44
43
  'If it is not being used by project code, it can be removed from the package.json.');
45
44
  }
46
45
  }
46
+ if (dependencies_1.getPackageJsonDependency(host, 'rxjs-compat')) {
47
+ context.logger.info(`Package "rxjs-compat" found in the workspace package.json. ` +
48
+ 'This package typically was used during migration from RxJs version 5 to 6 during the Angular 5 ' +
49
+ 'timeframe and may no longer be needed.\n' +
50
+ 'Read more about this: https://rxjs-dev.firebaseapp.com/guide/v6/migration');
51
+ }
47
52
  };
48
53
  }
49
54
  exports.default = default_1;
@@ -1,6 +1,6 @@
1
1
  import { NgModule } from '@angular/core';
2
- import { Routes, RouterModule } from '@angular/router';
3
- <% if (lazyRoute) { %>
2
+ import { Routes, RouterModule } from '@angular/router';<% if (lazyRoute) { %>
3
+
4
4
  import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';<% } %>
5
5
 
6
6
  const routes: Routes = [<% if (lazyRoute) { %>{ path: '', component: <%= classify(name) %>Component }<% } %>];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematics/angular",
3
- "version": "10.0.2",
3
+ "version": "10.0.6",
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": "10.0.2",
18
- "@angular-devkit/schematics": "10.0.2"
17
+ "@angular-devkit/core": "10.0.6",
18
+ "@angular-devkit/schematics": "10.0.6"
19
19
  },
20
20
  "repository": {
21
21
  "type": "git",
@@ -14,7 +14,8 @@
14
14
  "/*.js"
15
15
  ]
16
16
  }
17
- }, {
17
+ },
18
+ {
18
19
  "name": "assets",
19
20
  "installMode": "lazy",
20
21
  "updateMode": "prefetch",
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.latestVersions = void 0;
11
11
  exports.latestVersions = {
12
12
  // These versions should be kept up to date with latest Angular peer dependencies.
13
- Angular: '~10.0.3',
13
+ Angular: '~10.0.9',
14
14
  RxJs: '~6.5.5',
15
15
  ZoneJs: '~0.10.3',
16
16
  TypeScript: '~3.9.5',
@@ -19,8 +19,8 @@ exports.latestVersions = {
19
19
  // For our e2e tests, these versions must match the latest tag present on the branch.
20
20
  // During RC periods they will not match the latest RC until there's a new git tag, and
21
21
  // should not be updated.
22
- DevkitBuildAngular: '~0.1000.2',
23
- DevkitBuildNgPackagr: '~0.1000.2',
24
- DevkitBuildWebpack: '~0.1000.2',
22
+ DevkitBuildAngular: '~0.1000.6',
23
+ DevkitBuildNgPackagr: '~0.1000.6',
24
+ DevkitBuildWebpack: '~0.1000.6',
25
25
  ngPackagr: '^10.0.0',
26
26
  };