Skip to content

Commit ac01b8f

Browse files
committed
chore: update READMEs
1 parent 138233c commit ac01b8f

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

DEPLOYMENT.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ docker run -it --rm docker.pkg.github.com/lwjgl/lwjgl3-www/lwjgl-website sh
3636

3737
```shell
3838
git pull
39-
npm i
40-
npm run release
39+
pnpm i
40+
node --run release
4141
# to launch use:
42-
npm run test-production
42+
node --run test-production
4343
```
4444

4545
## Build Docker image locally
4646

4747
```shell
4848
git pull
49-
npm i
50-
npm run release
49+
pnpm i
50+
node --run release
5151
docker build --rm -t lwjgl/website:latest .
5252
# To test the production docker image:
5353
docker-compose up

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,23 @@ Build status icons are loaded directly from [travis-ci.org](https://travis-ci.or
3232

3333
## Prerequisites
3434

35-
- [Node.js v19+](https://nodejs.org/)
36-
- [NPM v9+](https://npmjs.com/)
35+
- [Node.js v22+](https://nodejs.org/)
36+
- [PNPM](https://pnpm.io/)
3737

3838
## Development
3939

4040
Install all required npm packages and build styles:
4141

4242
```shell
43-
npm i
44-
npm run build:styles
43+
#corepack enable
44+
pnpm i
45+
node --run build:styles
4546
```
4647

4748
Start the server in dev mode:
4849

4950
```shell
50-
npm -s start
51+
node --run start
5152
```
5253

5354
### CLI flags
@@ -82,14 +83,14 @@ To deploy LWJGL in production please read the separate guide: [DEPLOYMENT.md](./
8283

8384
```shell
8485
git pull
85-
npm i
86-
npm run release
86+
pnpm i
87+
node --run release
8788
```
8889

8990
You can run the production build locally:
9091

9192
```shell
92-
npm run dev:test-production
93+
node --run dev:test-production
9394
```
9495

9596
### Debugging production output

0 commit comments

Comments
 (0)