Skip to content

Commit 6d40517

Browse files
authored
build: update to TypeScript 5.2 and Angular 17 (#27792)
Updates the repo to TS 5.2 and Angular 17.
1 parent 39ff379 commit 6d40517

File tree

19 files changed

+6559
-4286
lines changed

19 files changed

+6559
-4286
lines changed

integration/ng-add-standalone/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ node_integration_test(
2525

2626
# Generate a new standalone project with the default options.
2727
# Skip installation since we installed the dependencies already.
28-
"yarn ng new --defaults --standalone --skip-install --style=scss --name=%s" % APP_NAME,
28+
"yarn ng new --defaults --standalone --skip-install --style=scss --skip-git --name=%s" % APP_NAME,
2929
# Delete the package.json that the CLI generated since we want to use the existing one.
3030
"rm -f %s/package.json" % APP_NAME,
3131
# Delete the Karma config since we need to use a headless browser.

integration/ng-add-standalone/_angular.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
"prefix": "app",
2323
"architect": {
2424
"build": {
25-
"builder": "@angular-devkit/build-angular:browser",
25+
"builder": "@angular-devkit/build-angular:application",
2626
"options": {
2727
"outputPath": "dist/ng-add-standalone",
2828
"index": "src/index.html",
29-
"main": "src/main.ts",
29+
"browser": "src/main.ts",
3030
"polyfills": ["zone.js"],
3131
"tsConfig": "tsconfig.app.json",
3232
"inlineStyleLanguage": "scss",
@@ -51,12 +51,9 @@
5151
"outputHashing": "all"
5252
},
5353
"development": {
54-
"buildOptimizer": false,
5554
"optimization": false,
56-
"vendorChunk": true,
5755
"extractLicenses": false,
58-
"sourceMap": true,
59-
"namedChunks": true
56+
"sourceMap": true
6057
}
6158
},
6259
"defaultConfiguration": "production"

integration/ng-add-standalone/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@
1010
},
1111
"private": true,
1212
"dependencies": {
13-
"@angular/animations": "^16.0.0-next.7",
13+
"@angular/animations": "^17.0.0-next.4",
1414
"@angular/cdk": "file:../../dist/releases/cdk",
15-
"@angular/common": "^16.0.0-next.7",
16-
"@angular/compiler": "^16.0.0-next.7",
17-
"@angular/core": "^16.0.0-next.7",
18-
"@angular/forms": "^16.0.0-next.7",
15+
"@angular/common": "^17.0.0-next.4",
16+
"@angular/compiler": "^17.0.0-next.4",
17+
"@angular/core": "^17.0.0-next.4",
18+
"@angular/forms": "^17.0.0-next.4",
1919
"@angular/material": "file:../../dist/releases/material",
20-
"@angular/platform-browser": "^16.0.0-next.7",
21-
"@angular/platform-browser-dynamic": "^16.0.0-next.7",
22-
"@angular/router": "^16.0.0-next.7",
20+
"@angular/platform-browser": "^17.0.0-next.4",
21+
"@angular/platform-browser-dynamic": "^17.0.0-next.4",
22+
"@angular/router": "^17.0.0-next.4",
2323
"rxjs": "~7.8.0",
2424
"tslib": "^2.3.0",
2525
"zone.js": "~0.13.0"
2626
},
2727
"devDependencies": {
28-
"@angular-devkit/build-angular": "^16.0.0-next.7",
29-
"@angular/cli": "~16.0.0-next.7",
30-
"@angular/compiler-cli": "^16.0.0-next.7",
28+
"@angular-devkit/build-angular": "^17.0.0-next.4",
29+
"@angular/cli": "^17.0.0-next.4",
30+
"@angular/compiler-cli": "^17.0.0-next.4",
3131
"@types/jasmine": "~4.3.0",
3232
"jasmine-core": "~4.6.0",
3333
"karma": "~6.4.0",

0 commit comments

Comments
 (0)