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

Support use-node-version from .npmrc #402

Open
NullVoxPopuli opened this issue Oct 2, 2024 · 1 comment
Open

Support use-node-version from .npmrc #402

NullVoxPopuli opened this issue Oct 2, 2024 · 1 comment

Comments

@NullVoxPopuli
Copy link

Documented here: https://pnpm.io/npmrc#use-node-version

example:

use-node-version=22.9.0

since .npmrc is not a leagcy file, it should be supported out of the box, with no flags, no .tool-versions required.

@1oglop1
Copy link

1oglop1 commented Dec 4, 2024

How do you imagine this could work?
use-node-version is specific to pnpm and .npmrc isn't defined as standard.
There would be a collision of who is supposed to manage the node version. It is up to you to decide if you are going to commit to asdf or pnpm. Combining both to manage the node version doesn't sound like a good idea to me.

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

2 participants