Skip to content

Commit 526c2e4

Browse files
committed
feat: upgrade to Node.js 24
1 parent 8029e9b commit 526c2e4

File tree

7 files changed

+21
-9
lines changed

7 files changed

+21
-9
lines changed

frontend/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2

frontend/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dist
1313
dist-ssr
1414
*.local
1515
.env
16+
.yarn/
1617

1718
# Editor directories and files
1819
.vscode/*

frontend/.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v24.13

frontend/README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,26 @@ To run on windows, use docker.
1010
2. Run `docker compose up -d`
1111
3. Navigate to http://localhost:8000/
1212

13-
Note: If you change your environment variables in .env, you will have to rebuild the container to see the changes using the `docker compose up --build -d` command.
13+
> [!NOTE]
14+
>
15+
> The port in step should match the `VITE_PORT` value in your `.env` file.
1416
15-
To see the logs directly in your console, you can remove the -d flag. Otherwise, you can view output in Docker Desktop.
17+
18+
> [!TIP]
19+
>
20+
> If you change your environment variables in `.env`, you will have to rebuild the container to see the changes using
21+
> the `docker compose up --build -d` command.
22+
23+
To see the logs directly in your console, you can remove the `-d` flag. Otherwise, you can view output in Docker Desktop.
1624

1725
## Update locale files
1826

1927
Pull key:value from google sheets to create json file.
2028
`https://docs.google.com/spreadsheets/d/1Kk8OIOhXxzyMA3ZgyiIiQtdwJNBJvGaUTNsarYHcFsM/`
2129

22-
> **IMPORTANT** Please create a new google sheet for each new project. Do not use this one for one of your projects
30+
> [!IMPORTANT]
31+
>
32+
> Please create a new Google Sheet for each new project. Do not use this one for one of your projects
2333
2434
Run `yarn sheet2i18n` to update your local keys with what is in the spreadsheet.
2535

frontend/docker-compose.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
version: "3.4"
1+
# please change the name so it matches your project name
2+
name: web-react-skeleton
23
services:
3-
vite_docker:
4-
image: node:20.11.1
5-
container_name: vite_docker
4+
vite:
5+
image: node:24.13-slim
66
env_file:
77
- .env
88
entrypoint: /srv/app/entrypoint.sh
99
ports:
10-
- 8000:8000
10+
- "${VITE_PORT:-8000}:${VITE_PORT:-8000}"
1111
working_dir: /srv/app
1212
volumes:
1313
- type: bind
1414
source: ./
1515
target: /srv/app
16-
tty: true

frontend/entrypoint.sh

100644100755
File mode changed.

frontend/example.env

100755100644
File mode changed.

0 commit comments

Comments
 (0)