bud
bud copied to clipboard
[repo] can't upgrade to @yarnpkg/builder@^4.0.0
Agreement
- [X] This is not a duplicate of an existing issue
- [X] I have read the guidelines for Contributing to Roots Projects
- [X] This is not a personal support request that should be posted on the Roots Discourse community
Describe the issue
Repo cli (@bud) is a yarn plugin but the build fails using version 4.0.0 of @yarnpkg/builder.
Expected Behavior
After installing @yarnpkg/[email protected] running yarn install will build the @bud cli
Actual Behavior
The @bud cli build process fails.
Steps To Reproduce
- Run
yarn upgrade-interactive. - Select
@yarnpkg/builder(4.0.0-rc-46 -> 4.0.0)
version
0.0.0
Logs
Usage Error: This plugin cannot access the package referenced via node:fs which is neither a builtin, nor an exposed entry (when initializing @yarnpkg/plugin-bud, defined in /Users/kellymears/code/git/roots/bud/.yarnrc.yml)
Configuration
No response
Relevant .budfiles
No response
If I replace the node:* with the non namespaced equivalents manually, it works. I think @yarnpkg/builder might need to include node:* as externals.
I patched it with an esbuild plugin, which should do for now.
Updated the patch in #2527