Skip to content

Commit

Permalink
Bumps to latest Node version as supported by @rules_nodejs.
Browse files Browse the repository at this point in the history
The currently used `@rules_nodejs` dependency [supports up to Node v18.12.1](https://github.com/bazelbuild/rules_nodejs/blob/9ebbd867c123bea5853be7c1922669976fd2b579/nodejs/private/node_versions.bzl#L2211-L2218). We're only one patch behind on `@rules_nodejs`, so this is effectively the latest supported version of `@aspect_rules_js`. Node itself is currently at v18.14.1, so we're a little behind there, but not too bad.

Also updated the `engines` field and widened it to support the current major.
  • Loading branch information
dgp1130 committed Feb 18, 2023
1 parent 66988ba commit 8a6fa4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.10.0
18.12.1
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"main": "./packages/rules_prerender/index.js",
"typings": "./packages/rules_prerender/index.d.ts",
"engines": {
"node": "16.10.0",
"npm": "7.24.0"
"node": "^18.12.1",
"npm": "^8.19.1",
"pnpm": "^7.27.1"
},
"scripts": {
"bazel": "bazel",
Expand Down

0 comments on commit 8a6fa4e

Please sign in to comment.