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

Use package.json instead of node-version #975

Open
misogihagi opened this issue Nov 28, 2024 · 2 comments
Open

Use package.json instead of node-version #975

misogihagi opened this issue Nov 28, 2024 · 2 comments
Assignees

Comments

@misogihagi
Copy link

since setup-node v3.5, we can use nodejs version in package.json
so how can I say engines?

  "engines": {
    "node": "21.6.2"
  },
@draghtnight
Copy link

Duplicate of #

@ncalteen
Copy link
Collaborator

I support this in spirit, but the issue really boils down to the number of different Node.js version management tools there are (nvm, n, fnm, nodenv to name a few). The goal of this repo is to strike a balance between customizability and ease of setup. If there's a way to ensure that some of the popular node environment management tools support this as well, I'd welcome a PR :)

@ncalteen ncalteen self-assigned this Dec 11, 2024
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

3 participants