@mokup/shared 1.1.2 → 1.1.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/dist/config-core.d.cts +1 -1
- package/dist/config-core.d.mts +1 -1
- package/dist/config-core.d.ts +1 -1
- package/dist/config-utils.d.cts +2 -2
- package/dist/config-utils.d.mts +2 -2
- package/dist/config-utils.d.ts +2 -2
- package/dist/define-config.cjs +2 -1
- package/dist/define-config.mjs +2 -1
- package/dist/route-utils.d.cts +7 -7
- package/dist/route-utils.d.mts +7 -7
- package/dist/route-utils.d.ts +7 -7
- package/package.json +144 -23
package/dist/config-core.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const middlewareSymbol: unique symbol;
|
|
2
|
-
declare function isPromise<T = unknown>(value: T | Promise<T>): value is Promise<T
|
|
2
|
+
declare function isPromise<T = unknown>(value: T | Promise<T>): value is Promise<Awaited<T>>;
|
|
3
3
|
|
|
4
4
|
export { isPromise, middlewareSymbol };
|
package/dist/config-core.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const middlewareSymbol: unique symbol;
|
|
2
|
-
declare function isPromise<T = unknown>(value: T | Promise<T>): value is Promise<T
|
|
2
|
+
declare function isPromise<T = unknown>(value: T | Promise<T>): value is Promise<Awaited<T>>;
|
|
3
3
|
|
|
4
4
|
export { isPromise, middlewareSymbol };
|
package/dist/config-core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const middlewareSymbol: unique symbol;
|
|
2
|
-
declare function isPromise<T = unknown>(value: T | Promise<T>): value is Promise<T
|
|
2
|
+
declare function isPromise<T = unknown>(value: T | Promise<T>): value is Promise<Awaited<T>>;
|
|
3
3
|
|
|
4
4
|
export { isPromise, middlewareSymbol };
|
package/dist/config-utils.d.cts
CHANGED
|
@@ -18,10 +18,10 @@ interface ConfigSourceMap {
|
|
|
18
18
|
declare function readMiddlewareMeta(config: Record<symbol, unknown>): MiddlewareMeta | null;
|
|
19
19
|
|
|
20
20
|
declare function normalizeMiddlewareList<T>(params: {
|
|
21
|
-
value
|
|
21
|
+
value?: unknown;
|
|
22
22
|
source: string;
|
|
23
23
|
position: MiddlewarePosition;
|
|
24
|
-
warn?: (message: string) => void;
|
|
24
|
+
warn?: ((message: string) => void) | undefined;
|
|
25
25
|
map: (handler: (...args: unknown[]) => unknown, index: number, position: MiddlewarePosition) => T;
|
|
26
26
|
}): T[];
|
|
27
27
|
declare function buildConfigChain(file: string, rootDir: string): string[];
|
package/dist/config-utils.d.mts
CHANGED
|
@@ -18,10 +18,10 @@ interface ConfigSourceMap {
|
|
|
18
18
|
declare function readMiddlewareMeta(config: Record<symbol, unknown>): MiddlewareMeta | null;
|
|
19
19
|
|
|
20
20
|
declare function normalizeMiddlewareList<T>(params: {
|
|
21
|
-
value
|
|
21
|
+
value?: unknown;
|
|
22
22
|
source: string;
|
|
23
23
|
position: MiddlewarePosition;
|
|
24
|
-
warn?: (message: string) => void;
|
|
24
|
+
warn?: ((message: string) => void) | undefined;
|
|
25
25
|
map: (handler: (...args: unknown[]) => unknown, index: number, position: MiddlewarePosition) => T;
|
|
26
26
|
}): T[];
|
|
27
27
|
declare function buildConfigChain(file: string, rootDir: string): string[];
|
package/dist/config-utils.d.ts
CHANGED
|
@@ -18,10 +18,10 @@ interface ConfigSourceMap {
|
|
|
18
18
|
declare function readMiddlewareMeta(config: Record<symbol, unknown>): MiddlewareMeta | null;
|
|
19
19
|
|
|
20
20
|
declare function normalizeMiddlewareList<T>(params: {
|
|
21
|
-
value
|
|
21
|
+
value?: unknown;
|
|
22
22
|
source: string;
|
|
23
23
|
position: MiddlewarePosition;
|
|
24
|
-
warn?: (message: string) => void;
|
|
24
|
+
warn?: ((message: string) => void) | undefined;
|
|
25
25
|
map: (handler: (...args: unknown[]) => unknown, index: number, position: MiddlewarePosition) => T;
|
|
26
26
|
}): T[];
|
|
27
27
|
declare function buildConfigChain(file: string, rootDir: string): string[];
|
package/dist/define-config.cjs
CHANGED
|
@@ -150,7 +150,8 @@ function createDefineConfig(options) {
|
|
|
150
150
|
}
|
|
151
151
|
return attachMetadata(config2, { pre, normal, post });
|
|
152
152
|
};
|
|
153
|
-
|
|
153
|
+
const isConfigPromise = (value) => configCore.isPromise(value);
|
|
154
|
+
if (isConfigPromise(result)) {
|
|
154
155
|
return result.then(finalize);
|
|
155
156
|
}
|
|
156
157
|
return finalize(result);
|
package/dist/define-config.mjs
CHANGED
|
@@ -148,7 +148,8 @@ function createDefineConfig(options) {
|
|
|
148
148
|
}
|
|
149
149
|
return attachMetadata(config2, { pre, normal, post });
|
|
150
150
|
};
|
|
151
|
-
|
|
151
|
+
const isConfigPromise = (value) => isPromise(value);
|
|
152
|
+
if (isConfigPromise(result)) {
|
|
152
153
|
return result.then(finalize);
|
|
153
154
|
}
|
|
154
155
|
return finalize(result);
|
package/dist/route-utils.d.cts
CHANGED
|
@@ -7,9 +7,9 @@ interface RouteParserResult<TToken = unknown> {
|
|
|
7
7
|
}
|
|
8
8
|
type RouteParser<TToken = unknown> = (template: string) => RouteParserResult<TToken>;
|
|
9
9
|
type RouteScoreComparator = (a: number[], b: number[]) => number;
|
|
10
|
-
interface DerivedRoute<TToken = unknown> {
|
|
10
|
+
interface DerivedRoute<TToken = unknown, TMethod extends string = string> {
|
|
11
11
|
template: string;
|
|
12
|
-
method:
|
|
12
|
+
method: TMethod;
|
|
13
13
|
tokens: TToken[];
|
|
14
14
|
score: number[];
|
|
15
15
|
}
|
|
@@ -17,19 +17,19 @@ declare function createRouteUtils<TToken = unknown, TRule extends {
|
|
|
17
17
|
handler: unknown;
|
|
18
18
|
} = {
|
|
19
19
|
handler: unknown;
|
|
20
|
-
}>(params: {
|
|
20
|
+
}, TMethod extends string = string>(params: {
|
|
21
21
|
parseRouteTemplate: RouteParser<TToken>;
|
|
22
22
|
compareRouteScore: RouteScoreComparator;
|
|
23
23
|
}): {
|
|
24
|
-
deriveRouteFromFile: (file: string, rootDir: string, warn?: (message: string) => void) => DerivedRoute<TToken> | null;
|
|
25
|
-
resolveRule: <TOutput = DerivedRoute<TToken>>(input: {
|
|
24
|
+
deriveRouteFromFile: (file: string, rootDir: string, warn?: (message: string) => void) => DerivedRoute<TToken, TMethod> | null;
|
|
25
|
+
resolveRule: <TOutput = DerivedRoute<TToken, TMethod>>(input: {
|
|
26
26
|
rule: TRule;
|
|
27
27
|
derivedTemplate: string;
|
|
28
|
-
derivedMethod?:
|
|
28
|
+
derivedMethod?: TMethod | undefined;
|
|
29
29
|
prefix: string;
|
|
30
30
|
file: string;
|
|
31
31
|
warn?: (message: string) => void;
|
|
32
|
-
build?: (base: DerivedRoute<TToken>, rule: TRule) => TOutput;
|
|
32
|
+
build?: (base: DerivedRoute<TToken, TMethod>, rule: TRule) => TOutput;
|
|
33
33
|
}) => TOutput | null;
|
|
34
34
|
sortRoutes: <TRoute extends {
|
|
35
35
|
method: string;
|
package/dist/route-utils.d.mts
CHANGED
|
@@ -7,9 +7,9 @@ interface RouteParserResult<TToken = unknown> {
|
|
|
7
7
|
}
|
|
8
8
|
type RouteParser<TToken = unknown> = (template: string) => RouteParserResult<TToken>;
|
|
9
9
|
type RouteScoreComparator = (a: number[], b: number[]) => number;
|
|
10
|
-
interface DerivedRoute<TToken = unknown> {
|
|
10
|
+
interface DerivedRoute<TToken = unknown, TMethod extends string = string> {
|
|
11
11
|
template: string;
|
|
12
|
-
method:
|
|
12
|
+
method: TMethod;
|
|
13
13
|
tokens: TToken[];
|
|
14
14
|
score: number[];
|
|
15
15
|
}
|
|
@@ -17,19 +17,19 @@ declare function createRouteUtils<TToken = unknown, TRule extends {
|
|
|
17
17
|
handler: unknown;
|
|
18
18
|
} = {
|
|
19
19
|
handler: unknown;
|
|
20
|
-
}>(params: {
|
|
20
|
+
}, TMethod extends string = string>(params: {
|
|
21
21
|
parseRouteTemplate: RouteParser<TToken>;
|
|
22
22
|
compareRouteScore: RouteScoreComparator;
|
|
23
23
|
}): {
|
|
24
|
-
deriveRouteFromFile: (file: string, rootDir: string, warn?: (message: string) => void) => DerivedRoute<TToken> | null;
|
|
25
|
-
resolveRule: <TOutput = DerivedRoute<TToken>>(input: {
|
|
24
|
+
deriveRouteFromFile: (file: string, rootDir: string, warn?: (message: string) => void) => DerivedRoute<TToken, TMethod> | null;
|
|
25
|
+
resolveRule: <TOutput = DerivedRoute<TToken, TMethod>>(input: {
|
|
26
26
|
rule: TRule;
|
|
27
27
|
derivedTemplate: string;
|
|
28
|
-
derivedMethod?:
|
|
28
|
+
derivedMethod?: TMethod | undefined;
|
|
29
29
|
prefix: string;
|
|
30
30
|
file: string;
|
|
31
31
|
warn?: (message: string) => void;
|
|
32
|
-
build?: (base: DerivedRoute<TToken>, rule: TRule) => TOutput;
|
|
32
|
+
build?: (base: DerivedRoute<TToken, TMethod>, rule: TRule) => TOutput;
|
|
33
33
|
}) => TOutput | null;
|
|
34
34
|
sortRoutes: <TRoute extends {
|
|
35
35
|
method: string;
|
package/dist/route-utils.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ interface RouteParserResult<TToken = unknown> {
|
|
|
7
7
|
}
|
|
8
8
|
type RouteParser<TToken = unknown> = (template: string) => RouteParserResult<TToken>;
|
|
9
9
|
type RouteScoreComparator = (a: number[], b: number[]) => number;
|
|
10
|
-
interface DerivedRoute<TToken = unknown> {
|
|
10
|
+
interface DerivedRoute<TToken = unknown, TMethod extends string = string> {
|
|
11
11
|
template: string;
|
|
12
|
-
method:
|
|
12
|
+
method: TMethod;
|
|
13
13
|
tokens: TToken[];
|
|
14
14
|
score: number[];
|
|
15
15
|
}
|
|
@@ -17,19 +17,19 @@ declare function createRouteUtils<TToken = unknown, TRule extends {
|
|
|
17
17
|
handler: unknown;
|
|
18
18
|
} = {
|
|
19
19
|
handler: unknown;
|
|
20
|
-
}>(params: {
|
|
20
|
+
}, TMethod extends string = string>(params: {
|
|
21
21
|
parseRouteTemplate: RouteParser<TToken>;
|
|
22
22
|
compareRouteScore: RouteScoreComparator;
|
|
23
23
|
}): {
|
|
24
|
-
deriveRouteFromFile: (file: string, rootDir: string, warn?: (message: string) => void) => DerivedRoute<TToken> | null;
|
|
25
|
-
resolveRule: <TOutput = DerivedRoute<TToken>>(input: {
|
|
24
|
+
deriveRouteFromFile: (file: string, rootDir: string, warn?: (message: string) => void) => DerivedRoute<TToken, TMethod> | null;
|
|
25
|
+
resolveRule: <TOutput = DerivedRoute<TToken, TMethod>>(input: {
|
|
26
26
|
rule: TRule;
|
|
27
27
|
derivedTemplate: string;
|
|
28
|
-
derivedMethod?:
|
|
28
|
+
derivedMethod?: TMethod | undefined;
|
|
29
29
|
prefix: string;
|
|
30
30
|
file: string;
|
|
31
31
|
warn?: (message: string) => void;
|
|
32
|
-
build?: (base: DerivedRoute<TToken>, rule: TRule) => TOutput;
|
|
32
|
+
build?: (base: DerivedRoute<TToken, TMethod>, rule: TRule) => TOutput;
|
|
33
33
|
}) => TOutput | null;
|
|
34
34
|
sortRoutes: <TRoute extends {
|
|
35
35
|
method: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mokup/shared",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.4",
|
|
5
5
|
"description": "Shared dependency exports for mokup.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://mokup.icebreaker.top",
|
|
@@ -12,104 +12,164 @@
|
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
|
15
|
-
"types":
|
|
15
|
+
"types": {
|
|
16
|
+
"import": "./dist/index.d.mts",
|
|
17
|
+
"require": "./dist/index.d.cts"
|
|
18
|
+
},
|
|
16
19
|
"import": "./dist/index.mjs",
|
|
17
20
|
"require": "./dist/index.cjs"
|
|
18
21
|
},
|
|
19
22
|
"./chokidar": {
|
|
20
|
-
"types":
|
|
23
|
+
"types": {
|
|
24
|
+
"import": "./dist/chokidar.d.mts",
|
|
25
|
+
"require": "./dist/chokidar.d.cts"
|
|
26
|
+
},
|
|
21
27
|
"import": "./dist/chokidar.mjs",
|
|
22
28
|
"require": "./dist/chokidar.cjs"
|
|
23
29
|
},
|
|
24
30
|
"./config-utils": {
|
|
25
|
-
"types":
|
|
31
|
+
"types": {
|
|
32
|
+
"import": "./dist/config-utils.d.mts",
|
|
33
|
+
"require": "./dist/config-utils.d.cts"
|
|
34
|
+
},
|
|
26
35
|
"import": "./dist/config-utils.mjs",
|
|
27
36
|
"require": "./dist/config-utils.cjs"
|
|
28
37
|
},
|
|
29
38
|
"./config-core": {
|
|
30
|
-
"types":
|
|
39
|
+
"types": {
|
|
40
|
+
"import": "./dist/config-core.d.mts",
|
|
41
|
+
"require": "./dist/config-core.d.cts"
|
|
42
|
+
},
|
|
31
43
|
"import": "./dist/config-core.mjs",
|
|
32
44
|
"require": "./dist/config-core.cjs"
|
|
33
45
|
},
|
|
34
46
|
"./define-config": {
|
|
35
|
-
"types":
|
|
47
|
+
"types": {
|
|
48
|
+
"import": "./dist/define-config.d.mts",
|
|
49
|
+
"require": "./dist/define-config.d.cts"
|
|
50
|
+
},
|
|
36
51
|
"import": "./dist/define-config.mjs",
|
|
37
52
|
"require": "./dist/define-config.cjs"
|
|
38
53
|
},
|
|
39
54
|
"./esbuild": {
|
|
40
|
-
"types":
|
|
55
|
+
"types": {
|
|
56
|
+
"import": "./dist/esbuild.d.mts",
|
|
57
|
+
"require": "./dist/esbuild.d.cts"
|
|
58
|
+
},
|
|
41
59
|
"import": "./dist/esbuild.mjs",
|
|
42
60
|
"require": "./dist/esbuild.cjs"
|
|
43
61
|
},
|
|
44
62
|
"./hono": {
|
|
45
|
-
"types":
|
|
63
|
+
"types": {
|
|
64
|
+
"import": "./dist/hono.d.mts",
|
|
65
|
+
"require": "./dist/hono.d.cts"
|
|
66
|
+
},
|
|
46
67
|
"import": "./dist/hono.mjs",
|
|
47
68
|
"require": "./dist/hono.cjs"
|
|
48
69
|
},
|
|
49
70
|
"./jsonc-parser": {
|
|
50
|
-
"types":
|
|
71
|
+
"types": {
|
|
72
|
+
"import": "./dist/jsonc-parser.d.mts",
|
|
73
|
+
"require": "./dist/jsonc-parser.d.cts"
|
|
74
|
+
},
|
|
51
75
|
"import": "./dist/jsonc-parser.mjs",
|
|
52
76
|
"require": "./dist/jsonc-parser.cjs"
|
|
53
77
|
},
|
|
54
78
|
"./jsonc-utils": {
|
|
55
|
-
"types":
|
|
79
|
+
"types": {
|
|
80
|
+
"import": "./dist/jsonc-utils.d.mts",
|
|
81
|
+
"require": "./dist/jsonc-utils.d.cts"
|
|
82
|
+
},
|
|
56
83
|
"import": "./dist/jsonc-utils.mjs",
|
|
57
84
|
"require": "./dist/jsonc-utils.cjs"
|
|
58
85
|
},
|
|
59
86
|
"./load-rules": {
|
|
60
|
-
"types":
|
|
87
|
+
"types": {
|
|
88
|
+
"import": "./dist/load-rules.d.mts",
|
|
89
|
+
"require": "./dist/load-rules.d.cts"
|
|
90
|
+
},
|
|
61
91
|
"import": "./dist/load-rules.mjs",
|
|
62
92
|
"require": "./dist/load-rules.cjs"
|
|
63
93
|
},
|
|
64
94
|
"./logger": {
|
|
65
|
-
"types":
|
|
95
|
+
"types": {
|
|
96
|
+
"import": "./dist/logger.d.mts",
|
|
97
|
+
"require": "./dist/logger.d.cts"
|
|
98
|
+
},
|
|
66
99
|
"browser": "./dist/logger.browser.mjs",
|
|
67
100
|
"worker": "./dist/logger.browser.mjs",
|
|
68
101
|
"import": "./dist/logger.mjs",
|
|
69
102
|
"require": "./dist/logger.cjs"
|
|
70
103
|
},
|
|
71
104
|
"./mock-files": {
|
|
72
|
-
"types":
|
|
105
|
+
"types": {
|
|
106
|
+
"import": "./dist/mock-files.d.mts",
|
|
107
|
+
"require": "./dist/mock-files.d.cts"
|
|
108
|
+
},
|
|
73
109
|
"import": "./dist/mock-files.mjs",
|
|
74
110
|
"require": "./dist/mock-files.cjs"
|
|
75
111
|
},
|
|
76
112
|
"./module-loader": {
|
|
77
|
-
"types":
|
|
113
|
+
"types": {
|
|
114
|
+
"import": "./dist/module-loader.d.mts",
|
|
115
|
+
"require": "./dist/module-loader.d.cts"
|
|
116
|
+
},
|
|
78
117
|
"import": "./dist/module-loader.mjs",
|
|
79
118
|
"require": "./dist/module-loader.cjs"
|
|
80
119
|
},
|
|
81
120
|
"./pathe": {
|
|
82
|
-
"types":
|
|
121
|
+
"types": {
|
|
122
|
+
"import": "./dist/pathe.d.mts",
|
|
123
|
+
"require": "./dist/pathe.d.cts"
|
|
124
|
+
},
|
|
83
125
|
"import": "./dist/pathe.mjs",
|
|
84
126
|
"require": "./dist/pathe.cjs"
|
|
85
127
|
},
|
|
86
128
|
"./path-utils": {
|
|
87
|
-
"types":
|
|
129
|
+
"types": {
|
|
130
|
+
"import": "./dist/path-utils.d.mts",
|
|
131
|
+
"require": "./dist/path-utils.d.cts"
|
|
132
|
+
},
|
|
88
133
|
"import": "./dist/path-utils.mjs",
|
|
89
134
|
"require": "./dist/path-utils.cjs"
|
|
90
135
|
},
|
|
91
136
|
"./playground-grouping": {
|
|
92
|
-
"types":
|
|
137
|
+
"types": {
|
|
138
|
+
"import": "./dist/playground-grouping.d.mts",
|
|
139
|
+
"require": "./dist/playground-grouping.d.cts"
|
|
140
|
+
},
|
|
93
141
|
"import": "./dist/playground-grouping.mjs",
|
|
94
142
|
"require": "./dist/playground-grouping.cjs"
|
|
95
143
|
},
|
|
96
144
|
"./route-constants": {
|
|
97
|
-
"types":
|
|
145
|
+
"types": {
|
|
146
|
+
"import": "./dist/route-constants.d.mts",
|
|
147
|
+
"require": "./dist/route-constants.d.cts"
|
|
148
|
+
},
|
|
98
149
|
"import": "./dist/route-constants.mjs",
|
|
99
150
|
"require": "./dist/route-constants.cjs"
|
|
100
151
|
},
|
|
101
152
|
"./route-utils": {
|
|
102
|
-
"types":
|
|
153
|
+
"types": {
|
|
154
|
+
"import": "./dist/route-utils.d.mts",
|
|
155
|
+
"require": "./dist/route-utils.d.cts"
|
|
156
|
+
},
|
|
103
157
|
"import": "./dist/route-utils.mjs",
|
|
104
158
|
"require": "./dist/route-utils.cjs"
|
|
105
159
|
},
|
|
106
160
|
"./scan-utils": {
|
|
107
|
-
"types":
|
|
161
|
+
"types": {
|
|
162
|
+
"import": "./dist/scan-utils.d.mts",
|
|
163
|
+
"require": "./dist/scan-utils.d.cts"
|
|
164
|
+
},
|
|
108
165
|
"import": "./dist/scan-utils.mjs",
|
|
109
166
|
"require": "./dist/scan-utils.cjs"
|
|
110
167
|
},
|
|
111
168
|
"./timing": {
|
|
112
|
-
"types":
|
|
169
|
+
"types": {
|
|
170
|
+
"import": "./dist/timing.d.mts",
|
|
171
|
+
"require": "./dist/timing.d.cts"
|
|
172
|
+
},
|
|
113
173
|
"import": "./dist/timing.mjs",
|
|
114
174
|
"require": "./dist/timing.cjs"
|
|
115
175
|
}
|
|
@@ -120,14 +180,75 @@
|
|
|
120
180
|
"main": "./dist/index.cjs",
|
|
121
181
|
"module": "./dist/index.mjs",
|
|
122
182
|
"types": "./dist/index.d.ts",
|
|
183
|
+
"typesVersions": {
|
|
184
|
+
"*": {
|
|
185
|
+
"chokidar": [
|
|
186
|
+
"dist/chokidar.d.mts"
|
|
187
|
+
],
|
|
188
|
+
"config-utils": [
|
|
189
|
+
"dist/config-utils.d.mts"
|
|
190
|
+
],
|
|
191
|
+
"config-core": [
|
|
192
|
+
"dist/config-core.d.mts"
|
|
193
|
+
],
|
|
194
|
+
"define-config": [
|
|
195
|
+
"dist/define-config.d.mts"
|
|
196
|
+
],
|
|
197
|
+
"esbuild": [
|
|
198
|
+
"dist/esbuild.d.mts"
|
|
199
|
+
],
|
|
200
|
+
"hono": [
|
|
201
|
+
"dist/hono.d.mts"
|
|
202
|
+
],
|
|
203
|
+
"jsonc-parser": [
|
|
204
|
+
"dist/jsonc-parser.d.mts"
|
|
205
|
+
],
|
|
206
|
+
"jsonc-utils": [
|
|
207
|
+
"dist/jsonc-utils.d.mts"
|
|
208
|
+
],
|
|
209
|
+
"load-rules": [
|
|
210
|
+
"dist/load-rules.d.mts"
|
|
211
|
+
],
|
|
212
|
+
"logger": [
|
|
213
|
+
"dist/logger.d.mts"
|
|
214
|
+
],
|
|
215
|
+
"mock-files": [
|
|
216
|
+
"dist/mock-files.d.mts"
|
|
217
|
+
],
|
|
218
|
+
"module-loader": [
|
|
219
|
+
"dist/module-loader.d.mts"
|
|
220
|
+
],
|
|
221
|
+
"pathe": [
|
|
222
|
+
"dist/pathe.d.mts"
|
|
223
|
+
],
|
|
224
|
+
"path-utils": [
|
|
225
|
+
"dist/path-utils.d.mts"
|
|
226
|
+
],
|
|
227
|
+
"playground-grouping": [
|
|
228
|
+
"dist/playground-grouping.d.mts"
|
|
229
|
+
],
|
|
230
|
+
"route-constants": [
|
|
231
|
+
"dist/route-constants.d.mts"
|
|
232
|
+
],
|
|
233
|
+
"route-utils": [
|
|
234
|
+
"dist/route-utils.d.mts"
|
|
235
|
+
],
|
|
236
|
+
"scan-utils": [
|
|
237
|
+
"dist/scan-utils.d.mts"
|
|
238
|
+
],
|
|
239
|
+
"timing": [
|
|
240
|
+
"dist/timing.d.mts"
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
},
|
|
123
244
|
"files": [
|
|
124
245
|
"dist"
|
|
125
246
|
],
|
|
126
247
|
"dependencies": {
|
|
127
248
|
"chokidar": "^5.0.0",
|
|
128
249
|
"consola": "^3.4.2",
|
|
129
|
-
"esbuild": "^0.27.
|
|
130
|
-
"hono": "^4.11.
|
|
250
|
+
"esbuild": "^0.27.3",
|
|
251
|
+
"hono": "^4.11.8",
|
|
131
252
|
"jsonc-parser": "^3.3.1",
|
|
132
253
|
"pathe": "^2.0.3",
|
|
133
254
|
"tsx": "^4.21.0"
|