diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-13 22:48:13 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-13 23:07:26 +0900 |
| commit | 9afeaacf7af41a3daac5fa7683043c0952af1250 (patch) | |
| tree | 712f588bcd457a3bb7d062a497740b6e692fc33f | |
| parent | 51c2a65ad13f96389997bff8c4db937f42a3b9b3 (diff) | |
| download | phperkaigi-2026-albatross-9afeaacf7af41a3daac5fa7683043c0952af1250.tar.gz phperkaigi-2026-albatross-9afeaacf7af41a3daac5fa7683043c0952af1250.tar.zst phperkaigi-2026-albatross-9afeaacf7af41a3daac5fa7683043c0952af1250.zip | |
refactor(frontend): replace React Router CLI with Vite in build scripts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| -rw-r--r-- | frontend/.dockerignore | 2 | ||||
| -rw-r--r-- | frontend/.gitignore | 3 | ||||
| -rw-r--r-- | frontend/package.json | 9 |
3 files changed, 5 insertions, 9 deletions
diff --git a/frontend/.dockerignore b/frontend/.dockerignore index 072f7f3..c0b2358 100644 --- a/frontend/.dockerignore +++ b/frontend/.dockerignore @@ -1,3 +1,3 @@ -.react-router build +dist node_modules diff --git a/frontend/.gitignore b/frontend/.gitignore index 338b475..6c6badc 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -1,6 +1,3 @@ /node_modules/ - -/.react-router/ /dist/ - .env diff --git a/frontend/package.json b/frontend/package.json index 51aaa77..f6988aa 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,15 +4,14 @@ "sideEffects": false, "type": "module", "scripts": { - "build": "react-router build", + "build": "vite build", "check": "npm run check:biome && npm run check:ts && npm run check:eslint", "check:biome": "biome check --write", "check:eslint": "eslint --cache --cache-location ./node_modules/.cache/eslint .", - "check:ts": "react-router typegen && tsc --noEmit", - "dev": "react-router dev", + "check:ts": "tsc --noEmit", + "dev": "vite", "openapi-typescript": "openapi-typescript --output ./app/api/schema.d.ts ../openapi/api-server.yaml", - "shiki-codegen": "shiki-codegen --langs php,swift --themes github-light --engine javascript ./app/shiki.bundle.ts", - "start": "react-router-serve ./build/server/index.js" + "shiki-codegen": "shiki-codegen --langs php,swift --themes github-light --engine javascript ./app/shiki.bundle.ts" }, "dependencies": { "@base-ui-components/react": "^1.0.0-alpha.7", |
