Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
126ece2
chore(deps): upgrade typescript 5.9.2 to 6.0.3
davidfirst Apr 22, 2026
5c031ca
Merge branch 'master' into upgrade-typescript-6
davidfirst Apr 22, 2026
3e148a8
fix(typescript): restore TS 5 defaults for strict and noUncheckedSide…
davidfirst Apr 22, 2026
4a6123a
Merge remote-tracking branch 'origin/master' into upgrade-typescript-6
davidfirst Apr 24, 2026
9f88d1f
fix(typescript): seed default compilerOptions.types on TS 6
davidfirst Apr 24, 2026
d5c323d
Merge branch 'master' into upgrade-typescript-6
davidfirst Apr 28, 2026
eb32bb3
fix(typescript): address copilot review
davidfirst Apr 28, 2026
03fcd93
test(e2e): make permissive tsconfig fixture set strict explicitly
davidfirst Apr 30, 2026
e9be3ab
chore: revert pnpm-lock.yaml to match master
davidfirst Apr 30, 2026
54adc51
Merge branch 'master' into upgrade-typescript-6
davidfirst Apr 30, 2026
65a0c2d
chore(deps): align @types/jest to jest 29 major
davidfirst May 1, 2026
b9843d1
fix(typescript): preserve TS 5 strict default for inferred ts-server …
davidfirst May 11, 2026
e77c301
Merge remote-tracking branch 'origin' into upgrade-typescript-6
davidfirst May 11, 2026
40de25a
docs(typescript): clarify why 'mocha' isn't seeded in TS 6 types defa…
davidfirst May 13, 2026
6d1e4bc
docs(e2e): fix misleading TS 6 strict-default comment in fixture
davidfirst May 13, 2026
28795ff
fix(typescript): await tsserver start() before issuing requests in init
davidfirst May 13, 2026
e43c83d
Merge remote-tracking branch 'origin/master' into upgrade-typescript-6
davidfirst Jun 3, 2026
325d82f
fix(typescript): rethrow ts-server init() failures instead of silentl…
davidfirst Jun 3, 2026
3ca3c27
Merge remote-tracking branch 'origin' into upgrade-typescript-6
davidfirst Jun 16, 2026
3a9ce91
refactor(typescript): make ignoreDeprecations explicit per-file inste…
davidfirst Jun 16, 2026
fbd8b13
fix(typescript): move ts7-migration TODOs out of env tsconfig JSONs
davidfirst Jun 16, 2026
3ab3b28
fix(typescript): restore conditional ignoreDeprecations auto-injectio…
davidfirst Jun 16, 2026
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
8 changes: 8 additions & 0 deletions scopes/typescript/typescript/typescript.main.runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ export class TypescriptMain {
const configMutator = new TypescriptConfigMutator(options);
const transformerContext: TsConfigTransformContext = {};
const afterMutation = runTransformersWithContext(configMutator.clone(), transformers, transformerContext);
// TS 6 turns previously-silent deprecations (e.g. moduleResolution=node) into hard errors.
// Shipped env tsconfigs keep the legacy options for TS 5.x consumers, so inject the silencer
// only when the loaded compiler is actually TS 6+.
const tsMajor = parseInt(tsModule.version?.split('.')[0] || '0', 10);
const compilerOptions = afterMutation.raw.tsconfig?.compilerOptions;
if (tsMajor >= 6 && compilerOptions && !compilerOptions.ignoreDeprecations) {
compilerOptions.ignoreDeprecations = '6.0';
}
const afterMutationWithoutTsconfig = { ...afterMutation.raw, tsconfig: '' };

return new TypescriptCompiler(
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"strict": true,
"moduleResolution": "node",
"module": "commonjs",
"ignoreDeprecations": "6.0",
"noUncheckedSideEffectImports": false,
"types": ["node", "mocha", "chai", "jest"],
"target": "es2015",
"skipLibCheck": true,
"noImplicitAny": false,
Expand Down
4 changes: 2 additions & 2 deletions workspace.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@
"tippy.js": "6.2.7",
"ts-graphviz": "^2.1.6",
"type-coverage": "2.15.1",
Comment thread
davidfirst marked this conversation as resolved.
"typescript": "5.9.2",
"typescript": "6.0.3",
Comment thread
davidfirst marked this conversation as resolved.
"ua-parser-js": "0.7.40",
"uid-number": "0.0.6",
"uniqid": "5.3.0",
Expand Down Expand Up @@ -834,7 +834,7 @@
"buffer": "6.0.3",
"process": "0.11.10",
"react-router-dom": "6.3.0",
"typescript": "5.9.2",
"typescript": "6.0.3",
// @parcel/css, lightningcss, @swc/css are used by css-minimizer-webpack-plugin
// see this issue https://github.com/webpack-contrib/css-minimizer-webpack-plugin/issues/244
"@parcel/css": "^1.8.3",
Expand Down