From 9afeaacf7af41a3daac5fa7683043c0952af1250 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 13 Feb 2026 22:48:13 +0900 Subject: refactor(frontend): replace React Router CLI with Vite in build scripts Co-Authored-By: Claude Opus 4.6 --- frontend/package.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'frontend/package.json') 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", -- cgit v1.3.1