Use web artifact publish path
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user