- Changed the import path for router types from '@kevisual/router' to './route.ts' in src/router-define.ts. - Added a new lock file (bun.lock) to manage dependencies. - Introduced a new utility function in src/utils/random.ts to generate random IDs using the nanoid library.
16 lines
672 B
TypeScript
16 lines
672 B
TypeScript
import { buildWithBun } from '@kevisual/code-builder';
|
|
|
|
await buildWithBun({ naming: 'app', entry: 'agent/main.ts', dts: true });
|
|
|
|
await buildWithBun({ naming: 'router', entry: 'src/index.ts', dts: true });
|
|
|
|
await buildWithBun({ naming: 'router-browser', entry: 'src/app-browser.ts', target: 'browser', dts: true });
|
|
|
|
await buildWithBun({ naming: 'router-define', entry: 'src/router-define.ts', target: 'browser', dts: true });
|
|
|
|
await buildWithBun({ naming: 'router-simple', entry: 'src/router-simple.ts', dts: true });
|
|
|
|
await buildWithBun({ naming: 'opencode', entry: 'src/opencode.ts', dts: true });
|
|
|
|
await buildWithBun({ naming: 'ws', entry: 'src/ws.ts', dts: true });
|