Skip to content

Do not warn when "bun" is used in "engines" in package.json#9214

Open
Jarred-Sumner wants to merge 1 commit intoyarnpkg:masterfrom
Jarred-Sumner:jarred/add-bun-to-ignore-engine-list
Open

Do not warn when "bun" is used in "engines" in package.json#9214
Jarred-Sumner wants to merge 1 commit intoyarnpkg:masterfrom
Jarred-Sumner:jarred/add-bun-to-ignore-engine-list

Conversation

@Jarred-Sumner
Copy link
Copy Markdown

Currently, when "engines" of any package.json dependency includes "bun", yarn v1 prints the warning below:

image

This PR adds "bun" to the list of engines to ignore, so that yarn v1 doesn't print this warning. This will let npm packages that use the "engines" field specify they want to use the Bun runtime more easily.

malonehedges

This comment was marked as off-topic.

malonehedges

This comment was marked as off-topic.

@MikeMcC399
Copy link
Copy Markdown

@Jarred-Sumner

You didn't get any feedback here, however that's not totally surprising given the notice:

image

There hasn't been any new v1 release here since March 2024. The Yarn team is now working on Yarn 6, so even that notice is out of date, and https://github.com/yarnpkg/zpm is where new functionality is going in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants