From 6b588af07d2fda31a33cacfe904d5e1937607f2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Wed, 22 Oct 2025 14:43:28 +0200 Subject: [PATCH] Clarify CONTRIBUTING.md (#3742) --- .github/CONTRIBUTING.md | 7 +++---- package.json | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index f5a5d0c97..d5c6f5a21 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -54,10 +54,9 @@ 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: >= 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 + +- [Node.js](https://nodejs.org/en) (see "engines" in `package.json`) +- [Bun](https://bun.sh/) (see "packageManager" in `package.json`) ##### Setup steps: diff --git a/package.json b/package.json index 4d9be922b..2baf43e0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,9 @@ { "name": "gitbook", "version": "0.1.0", + "engines": { + "node": "^22.3.0" + }, "devDependencies": { "@biomejs/biome": "^1.9.4", "@changesets/cli": "^2.29.7",