Add prod run script for Replit
This commit is contained in:
@@ -33,7 +33,7 @@ Never use public official provider endpoints.
|
||||
## Key Commands
|
||||
|
||||
- `pnpm install --ignore-workspace` — install dependencies without joining a parent workspace
|
||||
- `node build.mjs && node --enable-source-maps dist/index.mjs` — build and run API server locally on port `3000`
|
||||
- `pnpm prod` — 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` builds with `node build.mjs` and runs `dist/index.mjs`
|
||||
- `.replit` `run` uses `pnpm prod`
|
||||
- `.replit` `onBoot` uses `pnpm install --ignore-workspace`
|
||||
- publishing from a parent workspace should configure root `.replit` deployment and create a shell web artifact
|
||||
|
||||
|
||||
Reference in New Issue
Block a user