mirror of
https://github.com/diced/zipline.git
synced 2025-12-05 20:40:12 -08:00
25 lines
580 B
TypeScript
25 lines
580 B
TypeScript
import { run, step } from '.';
|
|
import { lintStep } from './lint';
|
|
|
|
run(
|
|
'build',
|
|
|
|
lintStep,
|
|
step('prisma', 'prisma generate'),
|
|
step('typecheck', 'tsc', () => !process.argv.includes('--skip')),
|
|
|
|
// builds
|
|
step('server', 'tsup'),
|
|
|
|
// client stuff
|
|
step('client', 'vite build'),
|
|
step(
|
|
'client/ssr/view',
|
|
'vite build --ssr ssr-view/server.tsx -m ssr-view --outDir ../../build/ssr --emptyOutDir=false',
|
|
),
|
|
step(
|
|
'client/ssr/view-url',
|
|
'vite build --ssr ssr-view-url/server.tsx -m ssr-view-url --outDir ../../build/ssr --emptyOutDir=false',
|
|
),
|
|
);
|