Since nvm v0.40.0 .nvmrc may contain comments
Since nvm v0.40.0 .nvmrc may contain comments.
[New] allow .nvmrc files to support comments
.nvmrc
# comment
20.16.0
This will not work anymore:
https://github.com/asdf-vm/asdf-nodejs/blob/c36e6f065d31437786e587de50f32c85b4972188/bin/parse-legacy-file#L8
Also, .nvmrc can just list the major version (e.g. 18), but this package doesn't support just being given the major version. Unless that's a limitation of asdf itself, but I don't remember it being...
Also,
.nvmrccan just list the major version (e.g.18), but this package doesn't support just being given the major version. Unless that's a limitation ofasdfitself, but I don't remember it being...
We do support partial versions inside .nvmrc check the README section about it