asdf-nodejs icon indicating copy to clipboard operation
asdf-nodejs copied to clipboard

Support use-node-version from .npmrc

Open NullVoxPopuli opened this issue 1 year ago • 1 comments

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.

NullVoxPopuli avatar Oct 02 '24 15:10 NullVoxPopuli

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.

1oglop1 avatar Dec 04 '24 10:12 1oglop1