Restore working Replit setup prompt

This commit is contained in:
hwhung
2026-05-07 18:57:11 +08:00
parent d7a2d520b6
commit 4ef4925fb6
5 changed files with 23 additions and 49 deletions
+4 -4
View File
@@ -2,7 +2,7 @@
## Overview
Standalone TypeScript API server with Replit run configuration.
Standalone TypeScript API server with Replit run and deployment configuration.
## Stack
@@ -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 `3001`
- `pnpm dev` — 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,9 +41,9 @@ Never use public official provider endpoints.
## Replit Configuration
- `.replit` `run` builds with `node build.mjs` and runs `dist/index.mjs`
- `.replit` `run` uses `pnpm dev`
- `.replit` `onBoot` uses `pnpm install --ignore-workspace`
- publishing should use a `kind = "web"` artifact with production build/run commands pointing at this proxy
- publishing from a parent workspace should configure root `.replit` deployment and create a shell web artifact
## Server Overrides