@kevisual/router 0.0.26-alpha.3 → 0.0.26-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/auto.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { loadTS } from './src/auto/load-ts.ts';
1
+ import { loadTS, getMatchFiles } from './src/auto/load-ts.ts';
2
2
  import { listenSocket } from './src/auto/listen-sock.ts';
3
3
  import { Route, QueryRouter, QueryRouterServer } from './src/route.ts';
4
4
 
@@ -15,6 +15,6 @@ export type { Run } from './src/route.ts';
15
15
 
16
16
  export { CustomError } from './src/result/error.ts';
17
17
 
18
- export { listenSocket, loadTS };
18
+ export { listenSocket, loadTS, getMatchFiles };
19
19
 
20
20
  export { autoCall } from './src/auto/call-sock.ts';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@kevisual/router",
4
- "version": "0.0.26-alpha.3",
4
+ "version": "0.0.26-alpha.4",
5
5
  "description": "",
6
6
  "type": "module",
7
7
  "main": "./dist/router.js",
@@ -26,10 +26,12 @@
26
26
  "devDependencies": {
27
27
  "@kevisual/local-proxy": "^0.0.6",
28
28
  "@kevisual/query": "^0.0.29",
29
+ "@kevisual/use-config": "^1.0.19",
29
30
  "@rollup/plugin-alias": "^5.1.1",
30
31
  "@rollup/plugin-commonjs": "^28.0.6",
31
32
  "@rollup/plugin-node-resolve": "^16.0.1",
32
33
  "@rollup/plugin-typescript": "^12.1.4",
34
+ "@types/bun": "^1.2.10",
33
35
  "@types/node": "^24.2.1",
34
36
  "@types/send": "^0.17.5",
35
37
  "@types/ws": "^8.18.1",
@@ -97,6 +97,7 @@ export const listenSocket = async (options?: ListenSocketOptions) => {
97
97
  }
98
98
 
99
99
  if (runtime.isBun) {
100
+ // @ts-ignore
100
101
  const bunServer = Bun.serve({
101
102
  unix: path,
102
103
  fetch(req) {