Skip to content

Update dependency (vite,vitest)#1619

Merged
Yang-33 merged 5 commits into
masterfrom
resolve-dependency
May 28, 2026
Merged

Update dependency (vite,vitest)#1619
Yang-33 merged 5 commits into
masterfrom
resolve-dependency

Conversation

@Yang-33

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

Copy link
Copy Markdown
Contributor

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

Comment thread scripts/workaround-for-rollup.mjs Outdated

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
Comment thread package.json
"typescript": "^5.5.4",
"vitepress": "^1.0.1",
"vitest": "^3.0.0"
"vitepress": "^2.0.0-alpha.17",

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.

Intentional. The stable release will be available soon, and for our usage there is no problem with using the alpha version.

@Yang-33 Yang-33 added this pull request to the merge queue May 28, 2026
Merged via the queue into master with commit cb593c7 May 28, 2026
10 checks passed
@Yang-33 Yang-33 deleted the resolve-dependency branch May 28, 2026 02:58
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.

2 participants