Skip to content

chore: migrate to TypeScript 7 and oxlint/oxfmt - #306

Merged
Romakita merged 1 commit into
productionfrom
chore/typescript-7-oxc
Oct 3, 2026
Merged

Romakita merged 1 commit into
productionfrom
chore/typescript-7-oxc

Conversation

@Romakita

@Romakita Romakita commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade TypeScript to 7.0.2 across the root and all packages; remove options dropped in TS 7 (baseUrl, downlevelIteration, suppressImplicitAnyIndexErrors).
  • Keep strict disabled for now (TS 7 enables it by default and surfaces 23 errors) and load node types explicitly.
  • Replace eslint, prettier and ts-node with oxlint and oxfmt, aligned with tsedio/tsed (.oxlintrc.json, .oxfmtrc.json, workspace import guard, lint-staged).
  • Fix invalid syntax in docs/.vitepress/config.mts and a duplicate import in StdoutAppender.spec.ts.

Test plan

  • yarn test:lint
  • yarn format:check
  • yarn tsc -b
  • yarn build
  • yarn test:unit (94 tests pass)

🤖 Generated with Claude Code

@Romakita
Romakita force-pushed the chore/typescript-7-oxc branch from d099af7 to 901d18f Compare October 3, 2026 06:15

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d099af742f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .oxlintrc.json Resolved
@Romakita
Romakita force-pushed the chore/typescript-7-oxc branch from 901d18f to c5e8c6a Compare October 3, 2026 06:20
- upgrade typescript to 7.0.2 and drop options removed in TS 7
  (baseUrl, downlevelIteration, suppressImplicitAnyIndexErrors)
- keep strict disabled and load node types explicitly
- replace eslint, prettier and ts-node with oxlint and oxfmt
- add workspace import guard
- fix invalid syntax in docs vitepress config and duplicate spec import
@Romakita
Romakita force-pushed the chore/typescript-7-oxc branch from c5e8c6a to 7c3e07f Compare October 3, 2026 06:23
@Romakita
Romakita merged commit a3a042e into production Oct 3, 2026
10 checks passed
@Romakita
Romakita deleted the chore/typescript-7-oxc branch October 3, 2026 06:24
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