Skip to content

Commit 5256f95

Browse files
committed
build: update to TypeScript 5.9 beta
Updates the repo to the TypeScript 5.9 beta and widens the peer dependency ranges.
1 parent 51272f7 commit 5256f95

File tree

9 files changed

+9695
-8418
lines changed

9 files changed

+9695
-8418
lines changed

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ http_archive(
204204
load("@aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies")
205205

206206
rules_ts_dependencies(
207-
# Obtained by: curl --silent https://registry.npmjs.org/typescript/5.8.3 | jq -r '.dist.integrity'
208-
ts_integrity = "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
207+
# Obtained by: curl --silent https://registry.npmjs.org/typescript/5.9.0-beta | jq -r '.dist.integrity'
208+
ts_integrity = "sha512-p91qoTdwWKj9YEBYavmGiBn0DF4OBElzw4pW4oPbK4HeCfr/SDz9+yviVWshZXGvGvFCJ3AVQ+J7F1UZXc23QQ==",
209209
ts_version_from = "//:package.json",
210210
)
211211

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@
4646
},
4747
"homepage": "https://github.com/angular/angular-cli",
4848
"devDependencies": {
49-
"@angular/animations": "20.2.0-next.0",
49+
"@angular/animations": "20.2.0-next.1",
5050
"@angular/cdk": "20.1.0-rc.0",
51-
"@angular/common": "20.2.0-next.0",
52-
"@angular/compiler": "20.2.0-next.0",
53-
"@angular/compiler-cli": "20.2.0-next.0",
54-
"@angular/core": "20.2.0-next.0",
55-
"@angular/forms": "20.2.0-next.0",
56-
"@angular/localize": "20.2.0-next.0",
51+
"@angular/common": "20.2.0-next.1",
52+
"@angular/compiler": "20.2.0-next.1",
53+
"@angular/compiler-cli": "20.2.0-next.1",
54+
"@angular/core": "20.2.0-next.1",
55+
"@angular/forms": "20.2.0-next.1",
56+
"@angular/localize": "20.2.0-next.1",
5757
"@angular/material": "20.1.0-rc.0",
5858
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#7cdb4cce7349f791492eee3ac1f84e2a0e243287",
59-
"@angular/platform-browser": "20.2.0-next.0",
60-
"@angular/platform-server": "20.2.0-next.0",
61-
"@angular/router": "20.2.0-next.0",
62-
"@angular/service-worker": "20.2.0-next.0",
59+
"@angular/platform-browser": "20.2.0-next.1",
60+
"@angular/platform-server": "20.2.0-next.1",
61+
"@angular/router": "20.2.0-next.1",
62+
"@angular/service-worker": "20.2.0-next.1",
6363
"@bazel/bazelisk": "1.26.0",
6464
"@bazel/buildifier": "8.2.1",
6565
"@eslint/compat": "1.3.1",
@@ -140,7 +140,7 @@
140140
"tar": "^7.0.0",
141141
"ts-node": "^10.9.1",
142142
"tslib": "2.8.1",
143-
"typescript": "5.8.3",
143+
"typescript": "5.9.0-beta",
144144
"undici": "7.11.0",
145145
"unenv": "^1.10.0",
146146
"verdaccio": "6.1.5",
@@ -173,6 +173,6 @@
173173
}
174174
},
175175
"resolutions": {
176-
"typescript": "5.8.3"
176+
"typescript": "5.9.0-beta"
177177
}
178178
}

packages/angular/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"postcss": "^8.4.0",
7474
"tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0",
7575
"tslib": "^2.3.0",
76-
"typescript": ">=5.8 <5.9",
76+
"typescript": ">=5.8 <6.0",
7777
"vitest": "^3.1.1"
7878
},
7979
"peerDependenciesMeta": {

packages/angular_devkit/build_angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"ng-packagr": "0.0.0-NG-PACKAGR-PEER-DEP",
8888
"protractor": "^7.0.0",
8989
"tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0",
90-
"typescript": ">=5.8 <5.9"
90+
"typescript": ">=5.8 <6.0"
9191
},
9292
"peerDependenciesMeta": {
9393
"@angular/core": {

packages/ngtools/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"homepage": "https://github.com/angular/angular-cli/tree/main/packages/ngtools/webpack",
2323
"peerDependencies": {
2424
"@angular/compiler-cli": "0.0.0-ANGULAR-FW-PEER-DEP",
25-
"typescript": ">=5.8 <5.9",
25+
"typescript": ">=5.8 <6.0",
2626
"webpack": "^5.54.0"
2727
},
2828
"devDependencies": {

packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/BUILD.bazel

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
load("//tools:defaults.bzl", "ts_project")
22

3-
# files fetched on 2025-03-03 from
4-
# https://github.com/microsoft/TypeScript/releases/tag/v5.8.2
3+
# files fetched on 2025-07-18
54

6-
# Commands to download:
7-
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.8.2/lib/typescript.d.ts -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts
8-
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.8.2/lib/typescript.js -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
5+
# Commands to update from node_modules:
6+
# cp node_modules/typescript/lib/typescript.d.ts packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts
7+
# cp node_modules/typescript/lib/typescript.js packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
98

109
licenses(["notice"]) # Apache 2.0
1110

0 commit comments

Comments
 (0)