Skip to content

Commit 8f051a4

Browse files
crisbetoalan-agius4
authored andcommitted
build: update all remaining places to TypeScript 5.6
Updates a few leftover places to the TypeScript 5.6 final version.
1 parent 7981dd2 commit 8f051a4

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

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": "~5.5.2"
18+
"typescript": "~5.6.2"
1919
},
2020
"devDependencies": {
2121
"@types/node": "^18.18.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": "~5.5.2"
18+
"typescript": "~5.6.2"
1919
},
2020
"devDependencies": {
2121
"@types/node": "^18.18.0",

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

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

3-
# files fetched on 2024-09-29 from
4-
# https://github.com/microsoft/TypeScript/releases/tag/v5.6-rc
3+
# files fetched on 2024-09-10 from
4+
# https://github.com/microsoft/TypeScript/releases/tag/v5.6.2
55

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

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

packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2263,7 +2263,7 @@ module.exports = __toCommonJS(typescript_exports);
22632263

22642264
// src/compiler/corePublic.ts
22652265
var versionMajorMinor = "5.6";
2266-
var version = "5.6.1-rc";
2266+
var version = "5.6.2";
22672267
var Comparison = /* @__PURE__ */ ((Comparison3) => {
22682268
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
22692269
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -49088,7 +49088,7 @@ function getModuleSpecifiersWithCacheInfo(moduleSymbol, checker, compilerOptions
4908849088
cache == null ? void 0 : cache.set(importingSourceFile.path, moduleSourceFile.path, userPreferences, options, result.kind, modulePaths, result.moduleSpecifiers);
4908949089
return result;
4909049090
}
49091-
function getLocalModuleSpecifierBetweenFileNames(importingFile, targetFileName, compilerOptions, host, options = {}) {
49091+
function getLocalModuleSpecifierBetweenFileNames(importingFile, targetFileName, compilerOptions, host, preferences, options = {}) {
4909249092
const info = getInfo(importingFile.fileName, host);
4909349093
const importMode = options.overrideImportMode ?? importingFile.impliedNodeFormat;
4909449094
return getLocalModuleSpecifier(
@@ -49097,7 +49097,7 @@ function getLocalModuleSpecifierBetweenFileNames(importingFile, targetFileName,
4909749097
compilerOptions,
4909849098
host,
4909949099
importMode,
49100-
getModuleSpecifierPreferences({}, host, compilerOptions, importingFile)
49100+
getModuleSpecifierPreferences(preferences, host, compilerOptions, importingFile)
4910149101
);
4910249102
}
4910349103
function computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFile, host, userPreferences, options = {}, forAutoImport) {
@@ -82667,6 +82667,7 @@ function createTypeChecker(host) {
8266782667
case 214 /* NewExpression */:
8266882668
case 211 /* PropertyAccessExpression */:
8266982669
case 229 /* YieldExpression */:
82670+
case 110 /* ThisKeyword */:
8267082671
return 3 /* Sometimes */;
8267182672
case 226 /* BinaryExpression */:
8267282673
switch (node.operatorToken.kind) {
@@ -155274,7 +155275,8 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre
155274155275
sourceFile,
155275155276
exportingFileName,
155276155277
compilerOptions,
155277-
createModuleSpecifierResolutionHost(program, host)
155278+
createModuleSpecifierResolutionHost(program, host),
155279+
preferences
155278155280
);
155279155281
const importKind = getImportKind(futureExportingSourceFile, exportKind, program);
155280155282
const addAsTypeOnly = getAddAsTypeOnly(

packages/schematics/angular/utility/latest-versions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"rxjs": "~7.8.0",
2424
"tslib": "^2.3.0",
2525
"ts-node": "~10.9.0",
26-
"typescript": "~5.5.2",
26+
"typescript": "~5.6.2",
2727
"zone.js": "~0.15.0"
2828
}
2929
}

0 commit comments

Comments
 (0)