Skip to content

Commit 5737ddd

Browse files
authored
Vite + React Router → Next.js (#512)
Vite, React Router から Next.js に移行 (Express はそのまま)
1 parent 3c8d155 commit 5737ddd

File tree

128 files changed

+4668
-3184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+4668
-3184
lines changed

.cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"**/data.json",
4646
"**/Cargo.*",
4747
"scraper/target",
48-
"**/rust-toolchain.toml"
48+
"**/rust-toolchain.toml",
49+
"web/out"
4950
]
5051
}

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ on:
77

88
env:
99
DATABASE_URL: ${{ secrets.DATABASE_URL_FOR_PRISMA_SQL_GENERATION }}
10+
NEXT_PUBLIC_API_ENDPOINT: "sample"
11+
NEXT_PUBLIC_FIREBASE_API_KEY: "sample"
12+
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: "sample"
13+
NEXT_PUBLIC_FIREBASE_PROJECT_ID: "sample"
14+
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: "sample"
15+
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: "sample"
16+
NEXT_PUBLIC_FIREBASE_APP_ID: "sample"
17+
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID: "sample"
1018
jobs:
1119
build:
1220
name: Build

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ copy-common-to-server:
166166
@ if [ -d server/src/common ]; then rm -r server/src/common; fi
167167
@ cp -r common server/src/common
168168
copy-common-to-web:
169-
@ if [ -d web/src/common ]; then rm -r web/src/common; fi
170-
@ cp -r common web/src/common
169+
@ if [ -d web/common ]; then rm -r web/common; fi
170+
@ cp -r common web/common
171171

172172
.PHONY: test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ make docker-watch
6464

6565
web:
6666
```sh
67-
VITE_ALLOW_ANY_MAIL_ADDR=true # optional
67+
NEXT_PUBLIC_ALLOW_ANY_MAIL_ADDR=true # optional
6868
make prepare-deploy-web`
6969
# serve ./web/dist
7070
```

biome.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@
1010
"useIgnoreFile": true
1111
},
1212
"files": {
13-
"ignore": ["bun.lockb", "server/target", "data.json", "scraper/target"]
13+
"ignore": [
14+
"bun.lockb",
15+
"server/target",
16+
"data.json",
17+
"scraper/target",
18+
".next",
19+
"next-env.d.ts",
20+
"out",
21+
"package-lock.json"
22+
]
1423
}
1524
}

bun.lockb

55 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)