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

How to allow future Node versions in engines #105

Open
bmish opened this issue Dec 16, 2024 · 0 comments
Open

How to allow future Node versions in engines #105

bmish opened this issue Dec 16, 2024 · 0 comments

Comments

@bmish
Copy link

bmish commented Dec 16, 2024

In the release-it package for example, we would like to support any future Node version under the package's Node engines:

Motivation: This makes it easier for consumers to install / run / test the package under all the latest / supported Node versions, without depending on every package to release an update to expand the range forward every six months.

This causes an error from installed-check:

Errors:

ava: Narrower "engines.node" is needed: ^18.18.0 || ^20.9.0 || ^22.0.0

Suggestions:

Combined "engines.node" needs to be narrower: ^18.18.0 || ^20.9.0 || ^22.0.0

Is there any way to disable this error? Does it make sense for us to disable this check? Are we using installed-check appropriately? Should the default behavior be relaxed?

Related:

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

No branches or pull requests

1 participant