Skip to content

Commit ac704c3

Browse files
fix(docs): pin webpack to 5.96.1 and update Node/React versions in READMEs
1 parent 9d726f0 commit ac704c3

4 files changed

Lines changed: 2055 additions & 305 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Ensure that the "Enable CORS" option is turned on in your Rocket.Chat server. Yo
3737

3838
#### Prerequisites
3939

40-
- **Node.js**: Version 16.19.0 is required. Use [Node Version Manager (NVM)](https://github.com/nvm-sh/nvm) for easy switching between Node.js versions.
40+
- **Node.js**: Version 22 (LTS) is required. Use [Node Version Manager (NVM)](https://github.com/nvm-sh/nvm) for easy switching between Node.js versions.
4141

4242
To install and use the correct Node.js version, execute the following commands with the specific version number:
4343

packages/docs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ This is the official documentation website of EmbeddedChat.
44

55
> **Node.js Version Requirement**
66
>
7-
> The `docs/` folder requires **Node.js v18 or higher** to run correctly.
8-
> If you’re using a lower version (e.g., v16.19.0 from other parts of the monorepo), you may encounter errors.
7+
> The `docs/` folder requires **Node.js v22 or higher** to run correctly.
8+
> If you’re using a lower version (e.g., v18), you may encounter errors.
99
>
1010
> Use [NVM](https://github.com/nvm-sh/nvm) to install and switch to the correct version:
1111
>
1212
> ```bash
13-
> nvm install 18
14-
> nvm use 18
13+
> nvm install 22
14+
> nvm use 22
1515
> ```
1616
1717
### Installation

packages/docs/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
"last 5 safari version"
3939
]
4040
},
41+
"resolutions": {
42+
"webpack": "5.96.1"
43+
},
4144
"engines": {
42-
"node": ">=18.0"
45+
"node": ">=22.0"
4346
}
4447
}

0 commit comments

Comments
 (0)