From 75543b140f1d7d5d7b15085e77cbdf6d0c45eb89 Mon Sep 17 00:00:00 2001 From: Brett Jephson Date: Tue, 14 Oct 2025 11:13:26 +0100 Subject: [PATCH] Update Node version to work with globalThis.process.getBuiltinModule (#3725) --- .changeset/rare-crabs-bake.md | 5 +++++ .github/CONTRIBUTING.md | 2 +- .nvmrc | 2 +- README.md | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/rare-crabs-bake.md diff --git a/.changeset/rare-crabs-bake.md b/.changeset/rare-crabs-bake.md new file mode 100644 index 000000000..b3475990d --- /dev/null +++ b/.changeset/rare-crabs-bake.md @@ -0,0 +1,5 @@ +--- +"gitbook": patch +--- + +Update minimum Node version in .npmrc diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 6fe349387..f5a5d0c97 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -54,7 +54,7 @@ After forking this repository, you'll want to [create a branch](https://docs.git #### 3. Install dependencies and run the project locally ##### Prerequisites: -- Node.js (Version: >=20.6) +- Node.js (Version: >= 22.3) - Use `nvm` for easy Node management - [Bun](https://bun.sh/) (Version: >=1.2.15) - We use a text-based lockfile which isn't supported below 1.2.15 diff --git a/.nvmrc b/.nvmrc index 74d9acee8..e9c9b2aa6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.6 +v22.3 diff --git a/README.md b/README.md index 6772abe21..3f8ca2a38 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ To run a local version of this project, please follow these simple steps. ### Prerequisites -- Node.js (Version: >=20.6) +- Node.js (Version: >= 22.3) - Use nvm for easy Node management - [Bun](https://bun.sh/) (Version: >=1.2.15) - We use a text-based lockfile which isn't supported below 1.2.15