From 8a6fa4ed877f3e39a7456305d77de5b846607dd9 Mon Sep 17 00:00:00 2001 From: Doug Parker Date: Sat, 18 Feb 2023 13:42:12 -0800 Subject: [PATCH] Bumps to latest Node version as supported by `@rules_nodejs`. 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. --- .nvmrc | 2 +- package.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.nvmrc b/.nvmrc index 3027af39..b460d6f2 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.10.0 +18.12.1 diff --git a/package.json b/package.json index aecb026a..405009f4 100644 --- a/package.json +++ b/package.json @@ -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",