- Create apps/server with package.json, tsconfig, tsup config - Copy codexAppServerManager, providerManager, fixPath from desktop (no Electron deps) - Add WebSocket message protocol schemas (WsRequest, WsResponse, WsPush) to @acme/contracts - Define WS_METHODS and WS_CHANNELS constants for type-safe routing Co-authored-by: Theo Browne <[email protected]>
14 lines
253 B
TypeScript
14 lines
253 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: "esm",
|
|
outDir: "dist",
|
|
sourcemap: true,
|
|
clean: true,
|
|
noExternal: ["@acme/contracts"],
|
|
banner: {
|
|
js: '#!/usr/bin/env node\n',
|
|
},
|
|
});
|