From 401d4dfc91a48a31110f844e11c58e339acfd21b Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 11:40:37 +0000 Subject: [PATCH] Align Node.js version prerequisites with CLI reference (v22+) --- .github/scripts/system-prompt.md | 4 ++-- README.md | 4 ++-- fern/products/docs/pages/developer-tools/gitlab.mdx | 2 +- .../docs/pages/preview-publish/preview-changes-locally.mdx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/scripts/system-prompt.md b/.github/scripts/system-prompt.md index 3727f4383..ed85da711 100644 --- a/.github/scripts/system-prompt.md +++ b/.github/scripts/system-prompt.md @@ -39,7 +39,7 @@ Follow these key principles from Fern's contribution guide: - Include error handling examples #### Tutorial Content -- Begin with prerequisites and setup requirements (following Fern's pattern: Node.js 16+, npm, Fern CLI) +- Begin with prerequisites and setup requirements (following Fern's pattern: Node.js 22+, npm, Fern CLI) - Break complex processes into logical steps - Include verification steps to confirm success - Provide troubleshooting for common issues @@ -102,7 +102,7 @@ Before finalizing content, ensure: Remember that Fern documentation: - Is built using the Fern CLI (`fern docs dev` for local development) -- Requires Node.js 16+ and npm +- Requires Node.js 22+ and npm - Uses Fern's documentation component system - Follows a specific file structure and organization - Is currently live at buildwithfern.com/learn diff --git a/README.md b/README.md index ac0a33864..8652d36e3 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ Welcome to the Fern documentation! This repository contains the source code for ### Prerequisites Before you begin, make sure you have the following installed: -- [Node.js](https://nodejs.org/) (version 16 or higher) -- [npm](https://www.npmjs.com/) (comes with Node.js) +- [Node.js](https://nodejs.org/) (version 22 or higher) +- [npm](https://www.npmjs.com/) version 10.0.0 or higher (comes with Node.js 22) ### Installation diff --git a/fern/products/docs/pages/developer-tools/gitlab.mdx b/fern/products/docs/pages/developer-tools/gitlab.mdx index 5c3a2f58d..4772a57d4 100644 --- a/fern/products/docs/pages/developer-tools/gitlab.mdx +++ b/fern/products/docs/pages/developer-tools/gitlab.mdx @@ -7,7 +7,7 @@ description: Set up GitLab CI/CD to automatically publish your Fern docs when ch Use GitLab CI/CD to automatically generate preview links on merge requests, publish your Fern docs when changes are merged to `main`, and delete preview links after merge. -- Node.js version 18 or higher +- Node.js version 22 or higher - [The Fern CLI](/learn/cli-api-reference/cli-reference/overview#install-fern-cli) installed locally - A Fern project with a `fern` folder ([quickstart](/learn/docs/getting-started/quickstart)) diff --git a/fern/products/docs/pages/preview-publish/preview-changes-locally.mdx b/fern/products/docs/pages/preview-publish/preview-changes-locally.mdx index aedf64738..a894d3f72 100644 --- a/fern/products/docs/pages/preview-publish/preview-changes-locally.mdx +++ b/fern/products/docs/pages/preview-publish/preview-changes-locally.mdx @@ -11,7 +11,7 @@ Fern offers two ways to preview documentation changes: Install the following: -- Node.js version 18 or higher +- Node.js version 22 or higher - [The Fern CLI](/learn/cli-api-reference/cli-reference/overview#install-fern-cli)