From c65da18b41fbed3e42776d2640038969c59a9e0c Mon Sep 17 00:00:00 2001 From: Brett Jephson Date: 2025年10月14日 09:25:12 +0100 Subject: [PATCH 1/2] Update Node version to work with globalThis.process.getBuiltinModule --- .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 0000000000..b3475990d4 --- /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 6fe349387f..8e590ca97a 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:>=20.16) - 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 74d9acee82..1d8e34389d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.6 +v20.16 diff --git a/README.md b/README.md index 6772abe21a..b6f6cb0daa 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:>=20.16) - 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 From 3573b598e5727ecd548698e51ba50dad714169b4 Mon Sep 17 00:00:00 2001 From: Brett Jephson Date: 2025年10月14日 11:00:27 +0100 Subject: [PATCH 2/2] use v22 instead --- .github/CONTRIBUTING.md | 2 +- .nvmrc | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 8e590ca97a..f5a5d0c975 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.16) +- 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 1d8e34389d..e9c9b2aa66 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.16 +v22.3 diff --git a/README.md b/README.md index b6f6cb0daa..3f8ca2a38a 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.16) +- 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

AltStyle によって変換されたページ (->オリジナル) /