first commit

This commit is contained in:
Shotaro Nakamura
2026-06-18 22:59:53 +09:00
commit 20434dcd11
88 changed files with 13950 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
import { defineConfig } from 'vite-plus'
export default defineConfig({
fmt: {
singleQuote: true,
semi: false,
},
run: {
cache: true,
tasks: {
'app:dev': {
command: 'vp run @repo/csbie#dev',
cache: false,
dependsOn: ['env:doctor'],
},
'app:build': {
command: 'vp run @repo/csbie#build',
dependsOn: ['typecheck:all'],
},
'app:start': {
command: 'vp run @repo/csbie#start',
cache: false,
},
'server:db:push': {
command: 'vp run @repo/csbie-server#db:push',
cache: false,
dependsOn: ['env:doctor'],
},
'env:doctor': {
command: 'bun --env-file=.env scripts/check-env.ts',
cache: false,
},
'typecheck:all': {
command: 'vp run --filter "./apps/*" --filter "./packages/*" typecheck',
},
clean: {
command: 'vp run --filter "./apps/*" --filter "./packages/*" clean',
cache: false,
},
verify: {
command: ['vp check', 'vp run typecheck:all', 'vp run app:build'],
},
},
},
})