Skip to content
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

build(devDeps): Update rollup and babel to latest packages #2131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pano9000
Copy link
Contributor

I've updated the devDependencies in package.json to the latest version, where possible.

This also made some changes necessary in the browser-build.js, as a few of the options have been renamed since v0.48
https://gist.github.com/Rich-Harris/d472c50732dab03efeb37472b08a3f32

I skipped updating eslint, as they are dropping Node 6 support since v5, while this project seems to still want to have support for Node 6, so for now we are stuck with eslint v4.

Fixes #2123

Checklist

  • PR contains only changes related; no stray files, etc.
  • [ ] README updated (where applicable)
  • [ ] Tests written (where applicable)

* changed `rollup-plugin-babel` (unmaintained) to `@rollup/plugin-babel` (maintained)
* options have been renamed in rollup
* babelHelpers: 'bundled' added explicitly to avoid rollup nagging about it not being set explicitly
@pano9000
Copy link
Contributor Author

looks like I overlooked, that rollup later also switched to to requiring a more modern Node installation, which is why all these tests are failing :-(

@WikiRik
Copy link
Member

WikiRik commented Dec 19, 2022

What might be a better approach is to build in Node 18 (latest LTS), upload the resulting artifact and download that to be used in the other Node versions. That way we can use new code/dependencies internally.

I'm not that sure if maintainers will merge this or that they'll prefer work on #1869

@pano9000 pano9000 added the 🧹 needs-update For PRs that need to be updated before landing label Jan 23, 2023
@rubiin
Copy link
Member

rubiin commented May 12, 2024

Lets follow this up on #2401 as it also has eslint changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 needs-update For PRs that need to be updated before landing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dependency Issue: Installation via npm fails
3 participants