fnm icon indicating copy to clipboard operation
fnm copied to clipboard

Look for node version in package.json

Open trymeouteh opened this issue 1 year ago • 0 comments

To be able to have fnm look for the node version to use in a directory from the package.json file

package.json using dependacies. Will use v18.20.4

{
    "dependencies": {
      "node": "18.20.4"
    }
}

package.json using dev dependacies. Will use v18.20.4 or any higher version that is installed

{
    "devDependencies": {
      "node": "^18.20.4"
    }
}

trymeouteh avatar Jul 23 '24 16:07 trymeouteh