Skip to content

Commit e367ea9

Browse files
committed
not 18 but 22./dev.sh
1 parent 0fdc09c commit e367ea9

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v4
3131

32-
- name: Setup Node.js 18
32+
- name: Setup Node.js 22
3333
uses: actions/setup-node@v3
3434
with:
35-
node-version: 18
35+
node-version: 22
3636

3737
- name: Install dependencies for cli
3838
run: yarn add eslint@^8.40.0 eslint-plugin-import@^2.29.0 eslint-plugin-prettier@^5.0.1 eslint-plugin-react@^7.29.4 eslint-plugin-unused-imports@^3.0.0 --dev

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Please follow the existing code style and conventions used in the project. If yo
2929
```
3030
pip install -r backend/dev-requirements.txt --upgrade
3131
```
32-
Also install the eslint for both `cli/` and `webserver/`. Please use node 18 for that
32+
Also install the eslint for both `cli/` and `webserver/`. Please use node 22 for that
3333
*NOTE*: If NVM is not installed, install using [nvm](https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating)
3434
```
35-
nvm install 18
36-
nvm use 18
35+
nvm install 22
36+
nvm use 22
3737
```
3838
```
3939
cd cli

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RUN apt-get update && \
6767
redis-server \
6868
supervisor \
6969
curl \
70-
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
70+
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
7171
&& apt-get install -y nodejs \
7272
&& mkdir -p /etc/cron.d && mv /app/setup_utils/cronjob.txt /etc/cron.d/cronjob \
7373
&& chmod +x /app/setup_utils/* \

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN mv /app/database-docker/db/ /app/ && rm -rf /app/database-docker/
4444
RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/15/main/pg_hba.conf
4545
RUN echo "listen_addresses='*'" >> /etc/postgresql/15/main/postgresql.conf
4646
RUN sed -i "s/^port = .*/port = ${DB_PORT}/" /etc/postgresql/15/main/postgresql.conf
47-
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
47+
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
4848
&& apt-get install -y nodejs \
4949
&& npm install --global yarn
5050
RUN mkdir -p /var/log/postgres

Dockerfile.prebuilt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1111
redis-server \
1212
supervisor \
1313
curl \
14-
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
14+
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
1515
&& apt-get install -y nodejs \
1616
&& curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/releases/download/v1.16.0/dbmate-linux-amd64 \
1717
&& chmod +x /usr/local/bin/dbmate \

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"bin": "dist/cli.js",
66
"engines": {
7-
"node": "^18.19.0"
7+
"node": "^22.x"
88
},
99
"type": "module",
1010
"scripts": {

web-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@
129129
"prettier": "^3.0.3"
130130
},
131131
"engines": {
132-
"node": "^18.19.0"
132+
"node": "^22.x"
133133
}
134134
}

0 commit comments

Comments
 (0)