Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .nvmrc to use latest LTS release #220

Merged
merged 1 commit into from
May 18, 2021
Merged

Update .nvmrc to use latest LTS release #220

merged 1 commit into from
May 18, 2021

Conversation

aduth
Copy link
Member

@aduth aduth commented May 18, 2021

Why:

  • Fix Federalist builds, which no longer support Node 10
  • Avoid pinning to a specific version to reduce future maintenance overhead
  • Use a version of Node which hasn't fallen outside the maintenance calendar, to avoid missing critical bug fixes or encountering other conflicts

See: https://nodejs.org/en/about/releases/

We may also want to consider bumping engines in package.json:

https://github.com/18F/identity-style-guide/blob/9d919460b4c3cf03c24e5b7573348df7d3fdff1a/package.json#L53-L56

...but this means a different thing, as it prescribes the version of Node expected to be present in consuming projects. And since the IDP indirectly supports >=12, it would be a mismatch to set this higher at >=14. And, strictly speaking, since the code is transpiled, it may be reasonable to expect that it runs in older versions.

**Why**:

- Fix Federalist builds, which no longer support Node 10
- Avoid pinning to a specific version to reduce future maintenance overhead
- Use a version of Node which hasn't fallen outside the maintenance calendar, to avoid missing critical bug fixes or encountering other conflicts

See: https://nodejs.org/en/about/releases/
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aduth aduth merged commit 879c339 into main May 18, 2021
@aduth aduth deleted the aduth-update-node branch May 18, 2021 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants