Use web artifact publish path

This commit is contained in:
hwhung
2026-05-07 18:27:58 +08:00
parent 63a5db2a86
commit d7a2d520b6
5 changed files with 46 additions and 34 deletions
+3 -4
View File
@@ -2,7 +2,7 @@
## Overview
Standalone TypeScript API server with Replit run and deployment configuration.
Standalone TypeScript API server with Replit run 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 `3000`
- `pnpm dev` — run API server locally on port `3001`
- `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
@@ -43,8 +43,7 @@ Never use public official provider endpoints.
- `.replit` `run` builds with `node build.mjs` and runs `dist/index.mjs`
- `.replit` `onBoot` uses `pnpm install --ignore-workspace`
- deployment build uses `pnpm install --ignore-workspace && pnpm build:fast`
- deployment run uses `node --enable-source-maps dist/index.mjs`
- publishing should use a `kind = "web"` artifact with production build/run commands pointing at this proxy
## Server Overrides