Skip to content

Commit 46b5481

Browse files
committed
build: update to TypeScript 6
Updates the repo to the TypeScript 6 beta in order to catch any breakages ahead of the final release.
1 parent 72498b4 commit 46b5481

File tree

17 files changed

+783
-694
lines changed

17 files changed

+783
-694
lines changed

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ use_repo(yq, "yq_toolchains")
4949
rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext")
5050
rules_ts_ext.deps(
5151
name = "components_npm_typescript",
52-
# Obtained by: curl --silent https://registry.npmjs.org/typescript/5.9.2 | jq -r '.dist.integrity'
53-
ts_integrity = "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==",
54-
ts_version = "5.9.2",
52+
# Obtained by: curl --silent https://registry.npmjs.org/typescript/6.0.0-beta | jq -r '.dist.integrity'
53+
ts_integrity = "sha512-CldZdztDpQRLM1HC6WDQjQkQN5Ub5zRau737a1diGh3lPmb9oRsaWHk1y5iqK0o7+1bNJ0oXfEGRkAogFZBL+Q==",
54+
ts_version = "6.0.0-beta",
5555
)
5656
use_repo(rules_ts_ext, **{"npm_typescript": "components_npm_typescript"})
5757

MODULE.bazel.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@
7878
"sass": "1.97.3",
7979
"shelljs": "^0.10.0",
8080
"ts-node": "10.9.2",
81-
"typescript": "~5.9.2"
81+
"typescript": "6.0.0-beta"
8282
}
8383
}

docs/src/assets/stackblitz/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"outDir": "./dist/out-tsc",
66
"sourceMap": true,
77
"declaration": false,
8-
"downlevelIteration": true,
98
"experimentalDecorators": true,
109
"moduleResolution": "bundler",
1110
"importHelpers": true,

docs/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"allowSyntheticDefaultImports": true,
77
"sourceMap": true,
88
"declaration": false,
9-
"downlevelIteration": true,
109
"experimentalDecorators": true,
1110
"module": "es2022",
1211
"moduleResolution": "bundler",

integration/ng-add-standalone/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"noFallthroughCasesInSwitch": true,
1111
"sourceMap": true,
1212
"declaration": false,
13-
"downlevelIteration": true,
1413
"experimentalDecorators": true,
1514
"moduleResolution": "bundler",
1615
"importHelpers": false,

integration/ng-add/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"noFallthroughCasesInSwitch": true,
1111
"sourceMap": true,
1212
"declaration": false,
13-
"downlevelIteration": true,
1413
"experimentalDecorators": true,
1514
"moduleResolution": "bundler",
1615
"importHelpers": false,

integration/yarn-pnp-compat/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"noFallthroughCasesInSwitch": true,
1212
"sourceMap": true,
1313
"declaration": false,
14-
"downlevelIteration": true,
1514
"experimentalDecorators": true,
1615
"moduleResolution": "bundler",
1716
"importHelpers": true,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@
145145
"tsickle": "0.46.3",
146146
"tslint": "^6.1.3",
147147
"tsutils": "^3.21.0",
148-
"typescript": "5.9.2",
148+
"typescript": "6.0.0-beta",
149149
"vrsource-tslint-rules": "6.0.0",
150150
"yaml": "^2.8.1",
151151
"yargs": "^18.0.0",
152152
"zx": "^8.0.0"
153153
},
154154
"pnpm": {
155155
"overrides": {
156-
"typescript": "5.9.2"
156+
"typescript": "6.0.0-beta"
157157
},
158158
"onlyBuiltDependencies": [],
159159
"packageExtensions": {

pnpm-lock.yaml

Lines changed: 739 additions & 658 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)