Skip to content

feat(toolchain): upgrade to TypeScript 7, enforce erasable syntax, and emit lint declarations - #454

Merged
jangtrinh merged 1 commit into
mainfrom
chore/typescript-7-toolchain
Nov 16, 2026
Merged

jangtrinh merged 1 commit into
mainfrom
chore/typescript-7-toolchain

Conversation

@jangtrinh

Copy link
Copy Markdown
Owner

Summary

  • Upgrade typescript to ^7.0.2 across root, a11y, and recall workspaces (plus npm run typecheck:workspaces).
  • Modernize tsconfig.json, a11y/cli/tsconfig.json, and recall/cli/tsconfig.json to ES2023, erasableSyntaxOnly: true, and noUncheckedSideEffectImports: true, converting all 29 constructor parameter properties across 21 files to standard class fields.
  • Emit dist/types/lint.d.ts via native TypeScript 7 (tsc -p tsconfig.dts.json) during npm run build, expose exports["./lint"].types, and add tests/lint-package-types.test.ts exercising NodeNext resolution with skipLibCheck: false and a TS2345 red probe.
  • Migrate npm run lint from TS6-locked typescript-eslint to oxlint (^1.93.0), keeping @typescript/typescript6 in devDependencies solely for the two AST oracle test suites while guarding src/ against importing typescript, typescript/*, or @typescript/*.

…d emit lint declarations

- Upgrade typescript to ^7.0.2 across root, a11y, and recall workspaces
- Target ES2023 and enable erasableSyntaxOnly and noUncheckedSideEffectImports across all tsconfigs
- Convert all 29 constructor parameter properties across 21 files to standard class fields
- Emit dist/types/lint.d.ts via native TypeScript 7 tsc and expose types in package.json exports['./lint']
- Add ease-design/lint NodeNext consumer types contract test (positive + TS2345 red probe)
- Migrate lint script from TS6-locked typescript-eslint to oxlint (^1.93.0) while retaining @typescript/typescript6 solely for AST test oracles
@jangtrinh
jangtrinh merged commit d6ed74e into main Nov 16, 2026
4 checks passed
@jangtrinh
jangtrinh deleted the chore/typescript-7-toolchain branch November 16, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant