@schematics/angular 20.0.2 → 20.0.3

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.
@@ -49,6 +49,7 @@ function default_1(options) {
49
49
  routingScope: 'Root',
50
50
  path: sourceDir,
51
51
  project: options.name,
52
+ typeSeparator: undefined,
52
53
  }),
53
54
  (0, schematics_1.schematic)('component', {
54
55
  name: 'app',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematics/angular",
3
- "version": "20.0.2",
3
+ "version": "20.0.3",
4
4
  "description": "Schematics specific to Angular",
5
5
  "homepage": "https://github.com/angular/angular-cli",
6
6
  "keywords": [
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "schematics": "./collection.json",
24
24
  "dependencies": {
25
- "@angular-devkit/core": "20.0.2",
26
- "@angular-devkit/schematics": "20.0.2",
25
+ "@angular-devkit/core": "20.0.3",
26
+ "@angular-devkit/schematics": "20.0.3",
27
27
  "jsonc-parser": "3.3.1"
28
28
  },
29
29
  "repository": {
package/server/index.js CHANGED
@@ -95,6 +95,14 @@ function updateConfigFileApplicationBuilder(options) {
95
95
  function updateTsConfigFile(tsConfigPath) {
96
96
  return (host) => {
97
97
  const json = new json_file_1.JSONFile(host, tsConfigPath);
98
+ // Skip adding the files entry if the server entry would already be included.
99
+ const include = json.get(['include']);
100
+ if (!Array.isArray(include) || !include.includes('src/**/*.ts')) {
101
+ const filesPath = ['files'];
102
+ const files = new Set(json.get(filesPath) ?? []);
103
+ files.add('src/' + serverMainEntryName);
104
+ json.modify(filesPath, [...files]);
105
+ }
98
106
  const typePath = ['compilerOptions', 'types'];
99
107
  const types = new Set(json.get(typePath) ?? []);
100
108
  types.add('node');
@@ -16,7 +16,7 @@ exports.latestVersions = {
16
16
  // As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
17
17
  Angular: '^20.0.0',
18
18
  NgPackagr: '^20.0.0',
19
- DevkitBuildAngular: '^20.0.2',
20
- AngularBuild: '^20.0.2',
21
- AngularSSR: '^20.0.2',
19
+ DevkitBuildAngular: '^20.0.3',
20
+ AngularBuild: '^20.0.3',
21
+ AngularSSR: '^20.0.3',
22
22
  };