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
This commit is contained in:
2026-02-17 21:39:41 +08:00
parent 7adedc0552
commit ecb69ba326
18 changed files with 1106 additions and 591 deletions

View File

@@ -7,6 +7,7 @@
"sourceMap": false,
"allowJs": true,
"newLine": "LF",
"rootDir": ".",
"baseUrl": "./",
"declaration": false,
"typeRoots": [
@@ -21,20 +22,17 @@
"paths": {
"@/*": [
"src/*"
],
"*": [
"types/*"
]
}
},
"include": [
"typings.d.ts",
"src/**/*.ts"
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"node_modules",
"demo/simple/dist",
"src/**/*.test.ts",
"rollup.config.js",
]
}