@schematics/angular 17.1.0 → 17.2.0-next.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematics/angular",
3
- "version": "17.1.0",
3
+ "version": "17.2.0-next.0",
4
4
  "description": "Schematics specific to Angular",
5
5
  "homepage": "https://github.com/angular/angular-cli",
6
6
  "keywords": [
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "schematics": "./collection.json",
25
25
  "dependencies": {
26
- "@angular-devkit/core": "17.1.0",
27
- "@angular-devkit/schematics": "17.1.0",
28
- "jsonc-parser": "3.2.0"
26
+ "@angular-devkit/core": "17.2.0-next.0",
27
+ "@angular-devkit/schematics": "17.2.0-next.0",
28
+ "jsonc-parser": "3.2.1"
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  "karma-jasmine-html-reporter": "~2.1.0",
16
16
  "karma-jasmine": "~5.1.0",
17
17
  "karma": "~6.4.0",
18
- "ng-packagr": "^17.1.0",
18
+ "ng-packagr": "^17.1.0-next.0",
19
19
  "protractor": "~7.0.0",
20
20
  "rxjs": "~7.8.0",
21
21
  "tslib": "^2.3.0",
@@ -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: '^17.1.0',
17
- DevkitBuildAngular: '^17.1.0',
18
- AngularSSR: '^17.1.0',
16
+ Angular: '^17.2.0-next.0',
17
+ DevkitBuildAngular: '^17.2.0-next.0',
18
+ AngularSSR: '^17.2.0-next.0',
19
19
  };
@@ -166,9 +166,8 @@ function addProvidersExpressionToAppConfig(tree, appConfig, expression) {
166
166
  // If there's a `providers` property, we can add the provider
167
167
  // to it, otherwise we need to declare it ourselves.
168
168
  if (providersLiteral) {
169
- const hasTrailingComma = providersLiteral.elements.hasTrailingComma;
170
169
  (0, util_1.applyChangesToFile)(tree, filePath, [
171
- (0, ast_utils_1.insertAfterLastOccurrence)(providersLiteral.elements, (hasTrailingComma || providersLiteral.elements.length === 0 ? '' : ', ') + expression, filePath, providersLiteral.getStart() + 1),
170
+ (0, ast_utils_1.insertAfterLastOccurrence)(providersLiteral.elements, (providersLiteral.elements.length === 0 ? '' : ', ') + expression, filePath, providersLiteral.getStart() + 1),
172
171
  ]);
173
172
  }
174
173
  else {