Tested with volta version: 2.0.2.
Would there be support for allowing an explicit declaration that the expected npm version is that bundled with the current node version?
Running volta pin npm@bundled doesn't seem to set anything in package.json:
$ volta pin npm@bundled && jq .volta package.json
success: set package.json to use bundled npm (currently 10.9.4)
{
"node": "22.21.1"
}
And setting .volta.npm to "bundled" in package.json doesn't seem to work:
$ jq .volta.npm package.json && npm i
"bundled"
Volta error: Could not parse version "bundled"
Please verify the intended version.
Would there be support for allowing explicitly declaring "bundled" as the expected version? It would help make it clearer to casual users what the expected version of npm is.
Related: #1682
Tested with volta version:
2.0.2.Would there be support for allowing an explicit declaration that the expected
npmversion is that bundled with the currentnodeversion?Running
volta pin npm@bundleddoesn't seem to set anything inpackage.json:And setting
.volta.npmto"bundled"inpackage.jsondoesn't seem to work:Would there be support for allowing explicitly declaring
"bundled"as the expected version? It would help make it clearer to casual users what the expected version ofnpmis.Related: #1682