Skip to content

build: update to TypeScript 4.8 final #25536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration/harness-e2e-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"karma-jasmine-html-reporter": "~1.7.0",
"selenium-webdriver": "3.6.0",
"ts-node": "~10.7.0",
"typescript": "~4.7.2",
"typescript": "file:../../node_modules/typescript",
"wait-on": "^6.0.0"
}
}
6 changes: 2 additions & 4 deletions integration/harness-e2e-cli/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7700,10 +7700,8 @@ typed-assert@^1.0.8:
resolved "https://registry.yarnpkg.com/typed-assert/-/typed-assert-1.0.8.tgz#4bf9f1ce7f3f974d09c3afd7c68d12e1391a233c"
integrity sha512-5NkbXZUlmCE73Fs7gvkp1XXJWHYetPkg60QnQ2NXQmBYNFxbBr2zA8GCtaH4K2s2WhOmSlgiSTmrjrcm5tnM5g==

typescript@~4.7.2:
version "4.7.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235"
integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==
"typescript@file:../../node_modules/typescript":
version "4.8.2"

ua-parser-js@^0.7.30:
version "0.7.31"
Expand Down
2 changes: 1 addition & 1 deletion integration/ng-add-standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.7.2"
"typescript": "file:../../node_modules/typescript"
}
}
6 changes: 2 additions & 4 deletions integration/ng-add-standalone/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7682,10 +7682,8 @@ typed-assert@^1.0.8:
resolved "https://registry.yarnpkg.com/typed-assert/-/typed-assert-1.0.8.tgz#4bf9f1ce7f3f974d09c3afd7c68d12e1391a233c"
integrity sha512-5NkbXZUlmCE73Fs7gvkp1XXJWHYetPkg60QnQ2NXQmBYNFxbBr2zA8GCtaH4K2s2WhOmSlgiSTmrjrcm5tnM5g==

typescript@~4.7.2:
version "4.7.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235"
integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==
"typescript@file:../../node_modules/typescript":
version "4.8.2"

ua-parser-js@^0.7.28:
version "0.7.28"
Expand Down
2 changes: 1 addition & 1 deletion integration/ng-add/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.7.2"
"typescript": "file:../../node_modules/typescript"
}
}
6 changes: 2 additions & 4 deletions integration/ng-add/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7388,10 +7388,8 @@ typed-assert@^1.0.8:
resolved "https://registry.yarnpkg.com/typed-assert/-/typed-assert-1.0.8.tgz#4bf9f1ce7f3f974d09c3afd7c68d12e1391a233c"
integrity sha512-5NkbXZUlmCE73Fs7gvkp1XXJWHYetPkg60QnQ2NXQmBYNFxbBr2zA8GCtaH4K2s2WhOmSlgiSTmrjrcm5tnM5g==

typescript@~4.7.2:
version "4.7.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235"
integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==
"typescript@file:../../node_modules/typescript":
version "4.8.2"

ua-parser-js@^0.7.28:
version "0.7.28"
Expand Down
2 changes: 1 addition & 1 deletion integration/ng-update-v13/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.7.2"
"typescript": "file:../../node_modules/typescript"
}
}
6 changes: 2 additions & 4 deletions integration/ng-update-v13/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7398,10 +7398,8 @@ typed-assert@^1.0.8:
resolved "https://registry.yarnpkg.com/typed-assert/-/typed-assert-1.0.8.tgz#4bf9f1ce7f3f974d09c3afd7c68d12e1391a233c"
integrity sha512-5NkbXZUlmCE73Fs7gvkp1XXJWHYetPkg60QnQ2NXQmBYNFxbBr2zA8GCtaH4K2s2WhOmSlgiSTmrjrcm5tnM5g==

typescript@~4.7.2:
version "4.7.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235"
integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==
"typescript@file:../../node_modules/typescript":
version "4.8.2"

ua-parser-js@^0.7.28:
version "0.7.28"
Expand Down
786 changes: 0 additions & 786 deletions integration/yarn-pnp-compat/.yarn/releases/yarn-3.2.1.cjs

This file was deleted.

783 changes: 783 additions & 0 deletions integration/yarn-pnp-compat/.yarn/releases/yarn-3.2.3.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion integration/yarn-pnp-compat/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: pnp

yarnPath: .yarn/releases/yarn-3.2.1.cjs
yarnPath: .yarn/releases/yarn-3.2.3.cjs
4 changes: 2 additions & 2 deletions integration/yarn-pnp-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.7.2"
"typescript": "file:../../node_modules/typescript"
},
"packageManager": "[email protected].1"
"packageManager": "[email protected].3"
}
26 changes: 13 additions & 13 deletions integration/yarn-pnp-compat/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10890,23 +10890,23 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:~4.7.2":
version: 4.7.4
resolution: "typescript@npm:4.7.4"
"typescript@file:../../node_modules/typescript::locator=yarn-pnp-compat%40workspace%3A.":
version: 4.8.2
resolution: "typescript@file:../../node_modules/typescript#../../node_modules/typescript::hash=028f88&locator=yarn-pnp-compat%40workspace%3A."
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 5750181b1cd7e6482c4195825547e70f944114fb47e58e4aa7553e62f11b3f3173766aef9c281783edfd881f7b8299cf35e3ca8caebe73d8464528c907a164df
tsc: ./bin/tsc
tsserver: ./bin/tsserver
checksum: 6f49363af8af2fe480da1d5fa68712644438785208b06690a3cbe5e7365fd652c3a0f1e587bc8684d78fb69de3dde4de185c0bad7bb4f3664ddfc813ce8caad6
languageName: node
linkType: hard

"typescript@patch:typescript@~4.7.2#~builtin<compat/typescript>":
version: 4.7.4
resolution: "typescript@patch:typescript@npm%3A4.7.4#~builtin<compat/typescript>::version=4.7.4&hash=7ad353"
"typescript@patch:typescript@file%3A../../node_modules/typescript#~builtin<compat/typescript>":
version: 4.8.2
resolution: "typescript@patch:typescript@file%3A../../node_modules/typescript%23../../node_modules/typescript%3A%3Ahash=028f88&locator=yarn-pnp-compat%2540workspace%253A.#~builtin<compat/typescript>::version=4.8.2&hash=7ad353"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 9096d8f6c16cb80ef3bf96fcbbd055bf1c4a43bd14f3b7be45a9fbe7ada46ec977f604d5feed3263b4f2aa7d4c7477ce5f9cd87de0d6feedec69a983f3a4f93e
tsc: ./bin/tsc
tsserver: ./bin/tsserver
checksum: 6f49363af8af2fe480da1d5fa68712644438785208b06690a3cbe5e7365fd652c3a0f1e587bc8684d78fb69de3dde4de185c0bad7bb4f3664ddfc813ce8caad6
languageName: node
linkType: hard

Expand Down Expand Up @@ -11453,7 +11453,7 @@ __metadata:
karma-jasmine-html-reporter: ~1.7.0
rxjs: ~7.5.0
tslib: ^2.3.0
typescript: ~4.7.2
typescript: "file:../../node_modules/typescript"
zone.js: ~0.11.4
languageName: unknown
linkType: soft
Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
},
"version": "15.0.0-next.0",
"dependencies": {
"@angular/animations": "^14.2.0-rc.0",
"@angular/common": "^14.2.0-rc.0",
"@angular/compiler": "^14.2.0-rc.0",
"@angular/core": "^14.2.0-rc.0",
"@angular/forms": "^14.2.0-rc.0",
"@angular/platform-browser": "^14.2.0-rc.0",
"@angular/animations": "^14.2.0",
"@angular/common": "^14.2.0",
"@angular/compiler": "^14.2.0",
"@angular/core": "^14.2.0",
"@angular/forms": "^14.2.0",
"@angular/platform-browser": "^14.2.0",
"@types/google.maps": "^3.47.3",
"@types/youtube": "^0.0.46",
"rxjs": "^6.6.7",
Expand All @@ -71,18 +71,18 @@
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "^14.2.0-rc.0",
"@angular-devkit/core": "^14.2.0-rc.0",
"@angular-devkit/schematics": "^14.2.0-rc.0",
"@angular/bazel": "^14.2.0-rc.0",
"@angular-devkit/build-angular": "^14.2.0",
"@angular-devkit/core": "^14.2.0",
"@angular-devkit/schematics": "^14.2.0",
"@angular/bazel": "^14.2.0",
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#6a13e27f2109b241bf020d5f225e8f4cdeb8c0a5",
"@angular/cli": "^14.2.0-rc.0",
"@angular/compiler-cli": "^14.2.0-rc.0",
"@angular/localize": "^14.2.0-rc.0",
"@angular/cli": "^14.2.0",
"@angular/compiler-cli": "^14.2.0",
"@angular/localize": "^14.2.0",
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#da938be2693c1c05ad7ab74b5f6c0dedc2ffa5ca",
"@angular/platform-browser-dynamic": "^14.2.0-rc.0",
"@angular/platform-server": "^14.2.0-rc.0",
"@angular/router": "^14.2.0-rc.0",
"@angular/platform-browser-dynamic": "^14.2.0",
"@angular/platform-server": "^14.2.0",
"@angular/router": "^14.2.0",
"@axe-core/webdriverjs": "^4.3.2",
"@babel/core": "^7.16.12",
"@bazel/bazelisk": "1.12.1",
Expand Down Expand Up @@ -147,7 +147,7 @@
"@octokit/rest": "18.3.5",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@schematics/angular": "^14.2.0-rc.0",
"@schematics/angular": "^14.2.0",
"@types/babel__core": "^7.1.18",
"@types/browser-sync": "^2.26.3",
"@types/fs-extra": "^9.0.13",
Expand Down Expand Up @@ -218,17 +218,17 @@
"tsickle": "0.39.1",
"tslint": "^6.1.3",
"tsutils": "^3.21.0",
"typescript": "4.8.1-rc",
"typescript": "~4.8.2",
"vrsource-tslint-rules": "6.0.0",
"yaml": "^1.10.2",
"yargs": "^17.3.1",
"zx": "^6.2.4"
},
"resolutions": {
"@angular/build-tooling/typescript": "4.8.1-rc",
"@angular/ng-dev/typescript": "4.8.1-rc",
"@angular/build-tooling/typescript": "~4.8.2",
"@angular/ng-dev/typescript": "~4.8.2",
"browser-sync-client": "2.26.13",
"dgeni-packages/typescript": "4.8.1-rc",
"dgeni-packages/typescript": "~4.8.2",
"**/https-proxy-agent": "5.0.0"
}
}
2 changes: 1 addition & 1 deletion scripts/caretaking/firebase-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"firebase-functions": "^3.11.0"
},
"devDependencies": {
"typescript": "4.8.1-rc",
"typescript": "~4.8.2",
"firebase-tools": "^8.6.0"
},
"private": true
Expand Down
8 changes: 4 additions & 4 deletions scripts/caretaking/firebase-functions/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4547,10 +4547,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

[email protected].1-rc:
version "4.8.1-rc"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.1-rc.tgz#2baff2b14b916f06a97effbfcf59e46bab93e48a"
integrity sha512-ZoXadPUeEe1XOZe6CHG/QHZ6IFeRjrfzkpraRi9HOpGH0UOG/WaUrKvtSwDFigG8GuDA4zsDQHEZyqhmlCIyEw==
typescript@~4.8.2:
version "4.8.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.2.tgz#e3b33d5ccfb5914e4eeab6699cf208adee3fd790"
integrity sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==

unique-filename@^1.1.1:
version "1.1.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ export class HammerGesturesMigration extends DevkitMigration<null> {
const recorder = this.fileSystem.edit(filePath);
const providersField = getMetadataField(metadata[0] as Ts48MigrationAny, 'providers')[0];
const providerIdentifiers = providersField
? findMatchingChildNodes(providersField, ts.isIdentifier)
? findMatchingChildNodes(providersField as Ts48MigrationAny, ts.isIdentifier)
: null;
const gestureConfigExpr = this._importManager.addImportToSourceFile(
sourceFile,
Expand Down Expand Up @@ -844,7 +844,7 @@ export class HammerGesturesMigration extends DevkitMigration<null> {

const importsField = getMetadataField(metadata[0] as Ts48MigrationAny, 'imports')[0];
const importIdentifiers = importsField
? findMatchingChildNodes(importsField, ts.isIdentifier)
? findMatchingChildNodes(importsField as Ts48MigrationAny, ts.isIdentifier)
: null;
const recorder = this.fileSystem.edit(this.fileSystem.resolve(sourceFile.fileName));
const hammerModuleExpr = this._importManager.addImportToSourceFile(
Expand Down
3 changes: 1 addition & 2 deletions tools/integration.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ CLI_PROJECT_PACKAGES = [pkg.module_name for pkg in ANGULAR_PACKAGES] + [
"@angular/cli",
"@angular/compiler-cli",
"@angular-devkit/build-angular",
# TODO(crisbeto): temporarily disabled until TS 4.8 support lands in the CLI.
# "typescript",
"typescript",
"rxjs",
]

Expand Down
Loading