Skip to content

chore: upgrade TypeScript to ^6.0.2#42

Merged
chenjiahan merged 2 commits intomainfrom
codex/upgrade-typescript-6-0-2
Mar 29, 2026
Merged

chore: upgrade TypeScript to ^6.0.2#42
chenjiahan merged 2 commits intomainfrom
codex/upgrade-typescript-6-0-2

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

@chenjiahan chenjiahan commented Mar 29, 2026

Summary

  • upgrade TypeScript to ^6.0.2 and update the repo tsconfig
  • keep the fixture path aliases working under TypeScript 6 without using ignoreDeprecations, and declare CSS side-effect imports in the test app

Testing

  • pnpm build
  • pnpm test

Related Links

@chenjiahan chenjiahan changed the title fix: support TypeScript 6 fixture builds chore: upgrade TypeScript to ^6.0.2 Mar 29, 2026
@chenjiahan chenjiahan merged commit e75c3e0 into main Mar 29, 2026
5 checks passed
@chenjiahan chenjiahan deleted the codex/upgrade-typescript-6-0-2 branch March 29, 2026 01:45
Copy link
Copy Markdown

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

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: 933187d65a

ℹ️ 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 on lines 2 to +5
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"baseUrl": "./",
"target": "ES2020",
"target": "ES2023",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore strict type checking in root tsconfig

The root TypeScript config no longer sets strict: true, which disables key safety checks (such as noImplicitAny and strictNullChecks) for the plugin source. This makes it easier for type regressions to pass CI and leak into published declaration output, which is a maintainability regression not required for the TypeScript 6 migration itself.

Useful? React with 👍 / 👎.

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