clean up build script

This commit is contained in:
JonLuca De Caro
2026-03-20 15:08:52 -07:00
parent 947683286c
commit 5cc4acab38
2 changed files with 3 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ pnpm dev
## Common scripts ## Common scripts
- `pnpm dev`: start the vinext development server - `pnpm dev`: start the vinext development server
- `pnpm build`: create the production bundle with vinext - `pnpm build`: create the Cloudflare-targeted production bundle with Vite
- `pnpm start`: run the built app locally - `pnpm start`: run the built app locally
- `pnpm deploy`: build and deploy to Cloudflare Workers - `pnpm deploy`: build and deploy to Cloudflare Workers
- `pnpm deploy:dry-run`: build the deploy artifact without publishing it - `pnpm deploy:dry-run`: build the deploy artifact without publishing it

View File

@@ -5,7 +5,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vinext dev -H 0.0.0.0", "dev": "vinext dev -H 0.0.0.0",
"build": "vinext build", "build": "vite build",
"start": "vinext start", "start": "vinext start",
"deploy": "vinext deploy", "deploy": "vinext deploy",
"deploy:dry-run": "vinext deploy --dry-run", "deploy:dry-run": "vinext deploy --dry-run",
@@ -21,8 +21,7 @@
"db:push": "prisma db push", "db:push": "prisma db push",
"db:studio": "prisma studio", "db:studio": "prisma studio",
"postinstall": "prisma generate", "postinstall": "prisma generate",
"dev:vinext": "vite dev --port 3001", "dev:vinext": "vite dev --port 3001"
"build:vinext": "vite build"
}, },
"dependencies": { "dependencies": {
"@prisma/adapter-pg": "7.5.0", "@prisma/adapter-pg": "7.5.0",