Skip to content

Commit 8ad60ce

Browse files
committed
build: update to TypeScript 4.9
Updates the project to TypeScript 4.9.
1 parent fbfbca5 commit 8ad60ce

File tree

17 files changed

+12017
-10309
lines changed

17 files changed

+12017
-10309
lines changed

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,22 @@
6565
},
6666
"devDependencies": {
6767
"@ampproject/remapping": "2.2.0",
68-
"@angular/animations": "15.0.4",
68+
"@angular/animations": "15.1.0-next.3",
6969
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#98ed19ad0bc7e985718d240aac9c9f56f5fbcd4c",
70-
"@angular/cdk": "15.0.3",
71-
"@angular/common": "15.0.4",
72-
"@angular/compiler": "15.0.4",
73-
"@angular/compiler-cli": "15.0.4",
74-
"@angular/core": "15.0.4",
75-
"@angular/forms": "15.0.4",
76-
"@angular/localize": "15.0.4",
77-
"@angular/material": "15.0.3",
70+
"@angular/cdk": "15.1.0-next.2",
71+
"@angular/common": "15.1.0-next.3",
72+
"@angular/compiler": "15.1.0-next.3",
73+
"@angular/compiler-cli": "15.1.0-next.3",
74+
"@angular/core": "15.1.0-next.3",
75+
"@angular/forms": "15.1.0-next.3",
76+
"@angular/localize": "15.1.0-next.3",
77+
"@angular/material": "15.1.0-next.2",
7878
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#129bcb4ba466d2f122e20bd97645d328e587eb01",
79-
"@angular/platform-browser": "15.0.4",
80-
"@angular/platform-browser-dynamic": "15.0.4",
81-
"@angular/platform-server": "15.0.4",
82-
"@angular/router": "15.0.4",
83-
"@angular/service-worker": "15.0.4",
79+
"@angular/platform-browser": "15.1.0-next.3",
80+
"@angular/platform-browser-dynamic": "15.1.0-next.3",
81+
"@angular/platform-server": "15.1.0-next.3",
82+
"@angular/router": "15.1.0-next.3",
83+
"@angular/service-worker": "15.1.0-next.3",
8484
"@babel/core": "7.20.5",
8585
"@babel/generator": "7.20.5",
8686
"@babel/helper-annotate-as-pure": "7.18.6",
@@ -172,7 +172,7 @@
172172
"magic-string": "0.27.0",
173173
"mini-css-extract-plugin": "2.7.2",
174174
"minimatch": "5.1.1",
175-
"ng-packagr": "15.0.3",
175+
"ng-packagr": "15.1.0-next.0",
176176
"node-fetch": "^2.2.0",
177177
"npm": "^8.11.0",
178178
"npm-package-arg": "10.1.0",
@@ -208,7 +208,7 @@
208208
"tree-kill": "1.2.2",
209209
"ts-node": "^10.0.0",
210210
"tslib": "2.4.1",
211-
"typescript": "4.8.4",
211+
"typescript": "4.9.3",
212212
"verdaccio": "5.18.0",
213213
"verdaccio-auth-memory": "^10.0.0",
214214
"webpack": "5.75.0",

packages/angular/cli/src/analytics/analytics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async function getAnalyticsUserIdForLevel(
128128
}
129129

130130
const workspace = await getWorkspace(level);
131-
const analyticsConfig: string | undefined | null | { uid?: string } =
131+
const analyticsConfig: string | undefined | null | { uid?: string } | boolean =
132132
workspace?.getCli()?.['analytics'];
133133

134134
if (analyticsConfig === false) {

packages/angular/pwa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"parse5-html-rewriting-stream": "6.0.1"
1818
},
1919
"peerDependencies": {
20-
"@angular/cli": "^15.0.0-next"
20+
"@angular/cli": "^15.0.0-next || ^15.1.0-next"
2121
},
2222
"peerDependenciesMeta": {
2323
"@angular/cli": {

packages/angular_devkit/build_angular/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@
7070
"esbuild": "0.16.7"
7171
},
7272
"peerDependencies": {
73-
"@angular/compiler-cli": "^15.0.0-next",
74-
"@angular/localize": "^15.0.0-next",
75-
"@angular/platform-server": "^15.0.0-next",
76-
"@angular/service-worker": "^15.0.0-next",
73+
"@angular/compiler-cli": "^15.0.0-next || ^15.1.0-next",
74+
"@angular/localize": "^15.0.0-next || ^15.1.0-next",
75+
"@angular/platform-server": "^15.0.0-next || ^15.1.0-next",
76+
"@angular/service-worker": "^15.0.0-next || ^15.1.0-next",
7777
"karma": "^6.3.0",
78-
"ng-packagr": "^15.0.0-next",
78+
"ng-packagr": "^15.0.0-next || ^15.1.0-next",
7979
"protractor": "^7.0.0",
8080
"tailwindcss": "^2.0.0 || ^3.0.0",
81-
"typescript": "~4.8.2"
81+
"typescript": ">=4.8.2 <5.0"
8282
},
8383
"peerDependenciesMeta": {
8484
"@angular/localize": {

packages/angular_devkit/schematics_cli/blank/project-files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dependencies": {
1616
"@angular-devkit/core": "^<%= coreVersion %>",
1717
"@angular-devkit/schematics": "^<%= schematicsVersion %>",
18-
"typescript": "~4.7.2"
18+
"typescript": "~4.9.3"
1919
},
2020
"devDependencies": {
2121
"@types/node": "^14.15.0",

packages/angular_devkit/schematics_cli/schematic/files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dependencies": {
1616
"@angular-devkit/core": "^<%= coreVersion %>",
1717
"@angular-devkit/schematics": "^<%= schematicsVersion %>",
18-
"typescript": "~4.7.2"
18+
"typescript": "~4.9.3"
1919
},
2020
"devDependencies": {
2121
"@types/node": "^14.15.0",

packages/ngtools/webpack/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"homepage": "https://github.com/angular/angular-cli/tree/main/packages/ngtools/webpack",
2323
"dependencies": {},
2424
"peerDependencies": {
25-
"@angular/compiler-cli": "^15.0.0-next",
26-
"typescript": "~4.8.2",
25+
"@angular/compiler-cli": "^15.0.0-next || ^15.1.0-next",
26+
"typescript": ">=4.8.2 <5.0",
2727
"webpack": "^5.54.0"
2828
},
2929
"devDependencies": {
3030
"@angular-devkit/core": "0.0.0-PLACEHOLDER",
31-
"@angular/compiler": "15.0.4",
32-
"@angular/compiler-cli": "15.0.4",
33-
"typescript": "4.8.4",
31+
"@angular/compiler": "15.1.0-next.3",
32+
"@angular/compiler-cli": "15.1.0-next.3",
33+
"typescript": "4.9.4",
3434
"webpack": "5.75.0"
3535
}
3636
}

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

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

33
# files fetched on 2022-09-01 from
4-
# https://github.com/microsoft/TypeScript/releases/tag/v4.8.2
4+
# https://github.com/microsoft/TypeScript/releases/tag/v4.9.3
55

66
# Commands to download:
7-
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v4.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/v4.8.2/lib/typescript.js -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
7+
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v4.9.3/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/v4.9.3/lib/typescript.js -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
99

1010
licenses(["notice"]) # Apache 2.0
1111

0 commit comments

Comments
 (0)