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

chore: update default nodejs version to 16 #3107

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Conversation

alexeagle
Copy link
Collaborator

As of 2021-10-26, v16 has entered LTS, so it's the most appropriate default.
Also, it provides darwin_arm releases (apple silicon) which many developers now expect.

BREAKING CHANGE:
The default nodejs version is now 16.12.0. To go back to the previous default, put this in your WORKSPACE:

load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")

node_repositories(
    node_version = "14.17.5",
)

Fixes #3101

As of 2021-10-26, v16 has entered LTS, so it's the most appropriate default.
Also, it provides darwin_arm releases (apple silicon) which many developers now expect.

BREAKING CHANGE:
The default nodejs version is now 16.12.0.
To go back to the previous default, put this in your WORKSPACE:

```starlark
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")

node_repositories(
    node_version = "14.17.5",
)
```

Fixes #3101
@alexeagle alexeagle force-pushed the node_default_version branch from c9258c8 to c75b002 Compare December 2, 2021 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants