Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 20
- name: Use Node.js 24
uses: actions/setup-node@v4
with:
node-version: 20.19.0
node-version: 24.21.0
cache: 'npm'

# middlewareNode
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ This is an educational platform combining chess instruction with STEM learning,

## Development Environment Setup

To run the platform, you’ll need **Node.js v18** installed. **Nodemon** is optional and can be used to automatically restart servers when code changes, which is convenient during development.
To run the platform, you’ll need **Node.js v24** installed. **Nodemon** is optional and can be used to automatically restart servers when code changes, which is convenient during development.

### Node.js

---

This project requires **Node.js v18.20.8**. Using a version manager ensures consistent Node versions across contributors.
This project requires **Node.js v24.21.0**. Using a version manager ensures consistent Node versions across contributors.

#### Option 1: Using [Volta](https://volta.sh) (recommended)

Expand All @@ -28,7 +28,7 @@ source ~/.bashrc # or ~/.zshrc
* **Windows**
Download and run the installer from [volta.sh](https://volta.sh).

Volta will automatically install and use **Node.js v18.20.8** when you cd into the project.
Volta will automatically install and use **Node.js v24.21.0** when you cd into the project.

#### Option 2: Using [nvm](https://github.com/nvm-sh/nvm)

Expand All @@ -39,17 +39,17 @@ If you prefer nvm:
```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.nvm/nvm.sh
nvm install 18.20.8
nvm use 18.20.8
nvm alias default 18.20.8 # optional
nvm install 24.21.0
nvm use 24.21.0
nvm alias default 24.21.0 # optional
```

* **Windows**
Use [nvm-windows](https://github.com/coreybutler/nvm-windows/releases).

```powershell
nvm install 18.20.8
nvm use 18.20.8
nvm install 24.21.0
nvm use 24.21.0
```

### Nodemon (Optional)
Expand Down
2 changes: 1 addition & 1 deletion chessServer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:alpine
FROM node:24.21.0-alpine

WORKDIR /usr/src/app

Expand Down
3 changes: 3 additions & 0 deletions chessServer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion chessServer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"supertest": "^7.0.0"
},
"volta": {
"node": "20.19.0"
"node": "24.21.0"
},
"engines": {
"node": ">=24 <25"
}
}
2 changes: 1 addition & 1 deletion middlewareNode/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:alpine
FROM node:24.21.0-alpine

WORKDIR /app

Expand Down
3 changes: 3 additions & 0 deletions middlewareNode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion middlewareNode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@
"author": "",
"license": "ISC",
"volta": {
"node": "20.19.0"
"node": "24.21.0"
},
"devDependencies": {
"jest": "^30.3.0",
"mongodb-memory-server": "^11.2.0",
"supertest": "^7.2.2"
},
"engines": {
"node": ">=24 <25"
}
}
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"socket.io": "^4.8.1"
},
"volta": {
"node": "20.19.0"
"node": "24.21.0"
},
"engines": {
"node": ">=24 <25"
}
}
4 changes: 2 additions & 2 deletions react-ystemandchess/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.20.8-alpine AS build
FROM node:24.21.0-alpine AS build

WORKDIR /app

Expand All @@ -22,7 +22,7 @@ ENV REACT_APP_AGORA_APP_ID=$REACT_APP_AGORA_APP_ID

RUN npm run build

FROM node:18.20.8-alpine
FROM node:24.21.0-alpine

WORKDIR /app

Expand Down
3 changes: 3 additions & 0 deletions react-ystemandchess/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion react-ystemandchess/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
"yaml": "^2.8.3"
},
"volta": {
"node": "20.19.0"
"node": "24.21.0"
},
"engines": {
"node": ">=24 <25"
}
}
2 changes: 1 addition & 1 deletion stockfishServer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:alpine
FROM node:24.21.0-alpine

WORKDIR /usr/src/app

Expand Down
3 changes: 3 additions & 0 deletions stockfishServer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion stockfishServer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@
"stockfish": "^11.0.0"
},
"volta": {
"node": "20.19.0"
"node": "24.21.0"
},
"devDependencies": {
"jest": "^30.0.4",
"nodemon": "^3.1.10",
"socket.io-client": "^4.8.1",
"supertest": "^7.2.2"
},
"engines": {
"node": ">=24 <25"
}
}
Loading