Skip to content

Commit 93914f9

Browse files
Align Node.js version prerequisites with CLI reference (v22+)
(#5118) Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 4a58750 commit 93914f9

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/scripts/system-prompt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Follow these key principles from Fern's contribution guide:
3939
- Include error handling examples
4040

4141
#### Tutorial Content
42-
- Begin with prerequisites and setup requirements (following Fern's pattern: Node.js 16+, npm, Fern CLI)
42+
- Begin with prerequisites and setup requirements (following Fern's pattern: Node.js 22+, npm, Fern CLI)
4343
- Break complex processes into logical steps
4444
- Include verification steps to confirm success
4545
- Provide troubleshooting for common issues
@@ -102,7 +102,7 @@ Before finalizing content, ensure:
102102

103103
Remember that Fern documentation:
104104
- Is built using the Fern CLI (`fern docs dev` for local development)
105-
- Requires Node.js 16+ and npm
105+
- Requires Node.js 22+ and npm
106106
- Uses Fern's documentation component system
107107
- Follows a specific file structure and organization
108108
- Is currently live at buildwithfern.com/learn

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Welcome to the Fern documentation! This repository contains the source code for
77
### Prerequisites
88

99
Before you begin, make sure you have the following installed:
10-
- [Node.js](https://nodejs.org/) (version 16 or higher)
11-
- [npm](https://www.npmjs.com/) (comes with Node.js)
10+
- [Node.js](https://nodejs.org/) (version 22 or higher)
11+
- [npm](https://www.npmjs.com/) version 10.0.0 or higher (comes with Node.js 22)
1212

1313
### Installation
1414

fern/products/docs/pages/developer-tools/gitlab.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Set up GitLab CI/CD to automatically publish your Fern docs when ch
77
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.
88

99
<Info title="Prerequisites">
10-
- Node.js version 18 or higher
10+
- Node.js version 22 or higher
1111
- [The Fern CLI](/learn/cli-api-reference/cli-reference/overview#install-fern-cli) installed locally
1212
- A Fern project with a `fern` folder ([quickstart](/learn/docs/getting-started/quickstart))
1313
</Info>

fern/products/docs/pages/preview-publish/preview-changes-locally.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Fern offers two ways to preview documentation changes:
1111

1212
<Info title="Prerequisites">
1313
Install the following:
14-
- Node.js version 18 or higher
14+
- Node.js version 22 or higher
1515
- [The Fern CLI](/learn/cli-api-reference/cli-reference/overview#install-fern-cli)
1616
</Info>
1717

0 commit comments

Comments
 (0)