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
[v2.0.0] Bundle acorn, allow node ESM import fo Rollup, update dependencies #3391
Conversation
Thank you for your contribution! ❤️You can try out this pull request locally via
or load it into the REPL: |
Codecov Report
@@ Coverage Diff @@
## release-2.0.0 #3391 +/- ##
=================================================
- Coverage 94.23% 94.23% -0.01%
=================================================
Files 173 172 -1
Lines 5949 5948 -1
Branches 1756 1756
=================================================
- Hits 5606 5605 -1
Misses 190 190
Partials 153 153
Continue to review full report at Codecov.
|
f7e8356
to
1ec5f8e
Compare
…encies (#3391) * Support Node ESM * Bundle acorn again, adjust directory structure and support Node ESM * Update dependencies * Collect licenses from all artifacts * Switch to colorette instead of turbocolor * Support Node ESM through conditional exports * Fix test
…encies (#3391) * Support Node ESM * Bundle acorn again, adjust directory structure and support Node ESM * Update dependencies * Collect licenses from all artifacts * Switch to colorette instead of turbocolor * Support Node ESM through conditional exports * Fix test
…encies (#3391) * Support Node ESM * Bundle acorn again, adjust directory structure and support Node ESM * Update dependencies * Collect licenses from all artifacts * Switch to colorette instead of turbocolor * Support Node ESM through conditional exports * Fix test
…encies (#3391) * Support Node ESM * Bundle acorn again, adjust directory structure and support Node ESM * Update dependencies * Collect licenses from all artifacts * Switch to colorette instead of turbocolor * Support Node ESM through conditional exports * Fix test
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Resolves #3385
Description
As apparently acorn plugins can now be configured to use the passed in acorn instance, this release will finally bundle acorn again, solving quite a few issues.
Not that this will break compatibility with acorn plugins that have not been updated to support this. See acornjs/acorn#870 (comment) for what needs to be done to make a plugin compatible.
Also this version of Rollup can now be experimentally imported in Node 13.8 as an ES module. This supports
import {rollup} from 'rollup'
via conditional exports. All Rollup artifacts can still be accessed via direct import fromrollup/dist/...
.However, the directory structure and file names for ES artifacts has been changed slightly as they are all places in an
es
subfolder now:Furthermore this updates dependencies and switches from the deprecated turbocolor to colorette.