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

chore(commonjs): switch to fdir for fewer dependencies #1741

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

benmccann
Copy link
Contributor

Rollup Plugin Name: @rollup/plugin-commonjs

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

Description

Note that this incorporates #1740

glob pulls in 27 dependencies: https://npmgraph.js.org/?q=glob
fdir pulls in none: https://npmgraph.js.org/?q=fdir

@benmccann benmccann added 🔌 plugin-commonjs dependencies Pull requests that update a dependency file labels Jun 27, 2024
@benmccann benmccann changed the title switch to fdir for fewer dependencies chore(commonjs): switch to fdir for fewer dependencies Jun 27, 2024
Copy link

@kytta kytta left a comment

Choose a reason for hiding this comment

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

Hey there! Please note that I am not a Rollup contributor, and I don't have write access to this repository. Nevertheless, I am interested in this PR being merged, so I voluntarily reviewed it.

As stated in the comments, I can imagine the sudden PNPM version switch to be a problem for the maintainers. As such, I advise you to use an older PNPM version, so that this PR focuses explicitly on the glob -> fdir transition 😄

package.json Outdated Show resolved Hide resolved
packages/commonjs/package.json Outdated Show resolved Hide resolved
@kytta
Copy link

kytta commented Aug 15, 2024

Okay, I'm embarrassed that I haven't read the PR description properly 🤦🏻‍♂️ I didn't realise this includes a different PR which would update PNPM to v9 ... Ignore that part of my review, then :D

BREAKING CHANGES: directories listed in dynamicRequireTargets now require a trailing slash
@shellscape shellscape merged commit c2a05eb into rollup:master Sep 23, 2024
5 checks passed
@benmccann benmccann deleted the fdir branch September 23, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file 🔌 plugin-commonjs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants