Avoid dev command in Replit workflow

This commit is contained in:
hwhung
2026-05-07 18:59:34 +08:00
parent 4ef4925fb6
commit f48b6665bc
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ Never use public official provider endpoints.
## Key Commands
- `pnpm install --ignore-workspace` — install dependencies without joining a parent workspace
- `pnpm dev` — run API server locally on port `3000`
- `node build.mjs && node --enable-source-maps dist/index.mjs` — build and run API server locally on port `3000`
- `pnpm run typecheck` — typecheck the server
- `pnpm run build` — typecheck and build `dist/index.mjs`
- `pnpm run build:fast` — build `dist/index.mjs` without typechecking
@@ -41,7 +41,7 @@ Never use public official provider endpoints.
## Replit Configuration
- `.replit` `run` uses `pnpm dev`
- `.replit` `run` builds with `node build.mjs` and runs `dist/index.mjs`
- `.replit` `onBoot` uses `pnpm install --ignore-workspace`
- publishing from a parent workspace should configure root `.replit` deployment and create a shell web artifact