-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: make package an esModule, upgrade deps, update build path for cjs #340
feat!: make package an esModule, upgrade deps, update build path for cjs #340
Conversation
fe57dfb
to
08d3d39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest checking first with the OSS team first as a license being set is immutable. CC @ldez
08d3d39
to
9accd43
Compare
9accd43
to
1486333
Compare
6da5978
to
d16fb9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
As the PR title will become the title of the commit after the merge, I'd suggest rewording it to something like "feat!: make the project an ES Module, upgrade deps". WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👌
d16fb9e
to
93bebfb
Compare
🎉 This PR is included in version 7.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Transforms the project into an esmodule, forcing commonJs code to be named
.cjs
Main export is now esModule rather than commonJs.
Dependency changes
npx sb upgrade
. It is mandatory to be able to run the storybook from within an esmodule projectyarn link
Known bugs
Storybook dark mode dependency no longer applies dark mode to "doc" pages
Breaking changes
.cjs
extensionHow to test
npx @skypack/package-check
, check everything is validGood PR checkboxes
Good Review checkboxes
ℹ️ Copy the snippet and paste in the review field to fill it