first commit
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user