Skip to content

Update dependency (vite,vitest)#1619

Open
Yang-33 wants to merge 2 commits into
masterfrom
resolve-dependency
Open

Update dependency (vite,vitest)#1619
Yang-33 wants to merge 2 commits into
masterfrom
resolve-dependency

Conversation

@Yang-33
Copy link
Copy Markdown
Contributor

@Yang-33 Yang-33 commented May 21, 2026

Changes

  • vitest ^3 → ^4.1
  • vitepress ^1 → ^2.0.0-alpha.17
    • Add oxc-minify (peer required by vitepress@2 when rolldown-vite is in use...)
  • vite override ^6 → ^8, drop esbuild override (no longer a transitive dep!)
  • Split tsconfig into IDE base / ESM build / CJS build
  • Drop scripts/workaround-for-rollup.mjs (no longer needed in vite v7+ !!)

Close #1617, #1579, #1435

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm happy to drop this, which was introduced by #793 as workaroud to support dual package in this repo

Comment thread tsconfig.cjs.json
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(for publishing cjs files)

Comment thread tsconfig.esm.json
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(for publishing esm files)

Comment thread tsconfig.json
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(for testing purpose, so noEmit: true, above 2 tsconfig emit cjs/esm files for publishing)

@Yang-33 Yang-33 changed the title Resolve dependency Update dependency (vite,vitest) May 21, 2026
@Yang-33 Yang-33 marked this pull request as ready for review May 21, 2026 05:17
@Yang-33 Yang-33 requested a review from a team May 21, 2026 05:17
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