normalize project structure: src/client + src/server + src/shared, standardize biome to lineWidth 80

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 23:00:43 +01:00
parent 6e9cd45671
commit 1b5cff78e2
106 changed files with 815 additions and 547 deletions

View File

@@ -7,7 +7,9 @@ import { defineConfig } from "vite"
import { VitePWA } from "vite-plugin-pwa"
const pkg = JSON.parse(readFileSync("./package.json", "utf-8"))
const gitCount = execSync("git rev-list --count HEAD", { encoding: "utf-8" }).trim()
const gitCount = execSync("git rev-list --count HEAD", {
encoding: "utf-8",
}).trim()
export default defineConfig({
base: "/whattoplay/",
@@ -15,7 +17,10 @@ export default defineConfig({
__APP_VERSION__: JSON.stringify(`${pkg.version}+${gitCount}`),
},
plugins: [
TanStackRouterVite(),
TanStackRouterVite({
routesDirectory: "src/client/routes",
generatedRouteTree: "src/client/routeTree.gen.ts",
}),
react(),
tailwindcss(),
VitePWA({
@@ -40,7 +45,7 @@ export default defineConfig({
],
resolve: {
alias: {
"@": "/src",
"@": "/src/client",
},
},
server: {