node-orb icon indicating copy to clipboard operation
node-orb copied to clipboard

feat: support .node-version file

Open totto2727 opened this issue 1 year ago • 0 comments

SEMVER Update Type:

  • [x] Major
  • [ ] Minor
  • [ ] Patch

Description:

support .node-version file

Motivation:

Most Node.js runtime managers support either .nvmrc or .node-version (nodenv etc...) or both (fnm, mise, asdf etc...) are supported.

However, currently only .nvmrc is supported.

Although it is preferable to use .nvmrc since we use nvm internally, both .nvmrc and .node-version are often in the same format.

It is possible that I am missing a specification, but I don't think it will be a problem in many cases.

Test

https://app.circleci.com/pipelines/github/totto2727/node-orb

Checklist:

  • [ ] All new jobs, commands, executors, parameters have descriptions.
  • [ ] Usage Example version numbers have been updated.
  • [ ] Changelog has been updated.

totto2727 avatar Jun 14 '24 11:06 totto2727