Skip to content

Conversation

@timothyis
Copy link
Member

@timothyis timothyis commented Dec 23, 2025

This PR stops compiling the package to CJS. This was meant to be in 2.0 of #5, however, it's far easier to implement as ESM only than figuring how how to implement react-compiler with bunchee.

@timothyis timothyis linked an issue Dec 23, 2025 that may be closed by this pull request
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the vaul package to ESM-only by removing CommonJS (CJS) build support and upgrading the bundler (bunchee) from version 5.x to 6.x.

  • Upgrades bunchee from ^5.1.5 to ^6.6.2, which brings ESM-only build capabilities
  • Removes CJS exports from package.json, keeping only ESM entry points
  • Updates lock file with new dependencies for bunchee 6.x (nanospinner, tinyglobby) and removes ora-related dependencies

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 4 comments.

File Description
packages/vaul/package.json Updates package configuration to ESM-only by removing module, require exports, and CJS-related configuration; upgrades bunchee to 6.6.2
pnpm-lock.yaml Updates dependency tree with bunchee 6.6.2 and its new dependencies (@rollup/[email protected], nanospinner), removes ora and related packages
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@timothyis
Copy link
Member Author

Closing for now, as we don't want breaking changes in the first release

@timothyis timothyis closed this Dec 24, 2025
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.

Move the package to ESM only

2 participants