Files
query/bun.config.ts
abearxiong ecb69ba326 refactor: migrate from Rollup to Bun for build configuration
feat: update adapter to use globalThis for origin resolution

fix: remove unused ClientQuery export from query.ts

chore: update tsconfig to include test files and set rootDir

feat: add create-query functionality for dynamic API generation

feat: implement QueryApi with enhanced type inference from JSON Schema

test: add comprehensive API tests for QueryApi functionality

test: create demo routes and schemas for testing purposes

docs: add type inference demo for QueryApi usage
2026-02-17 21:39:41 +08:00

9 lines
561 B
TypeScript

import { buildWithBun } from '@kevisual/code-builder';
await buildWithBun({ naming: 'query-browser', entry: 'src/query-browser.ts', dts: true, target: 'browser' });
await buildWithBun({ naming: 'query', entry: 'src/query.ts', dts: true, target: 'browser' });
await buildWithBun({ naming: 'query-ws', entry: 'src/ws.ts', dts: true, target: 'browser' });
await buildWithBun({ naming: 'query-adapter', entry: 'src/adapter.ts', dts: true, target: 'browser' });
await buildWithBun({ naming: 'query-api', entry: 'src/query-api.ts', dts: true, target: 'browser' });