@wolfstar/http-framework 4.0.2 → 5.0.0-next-20260919162943
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/README.md +15 -2
- package/dist/esm/auto-imports.d.ts +1 -1
- package/dist/esm/config.d.ts +2 -2
- package/dist/esm/config.js +232 -84
- package/dist/esm/config.js.map +1 -1
- package/dist/esm/index.d.ts +2320 -4
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +174 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{resolve-CBovxOO3.d.ts → resolve-B0J5V4xC.d.ts} +252 -35
- package/dist/esm/resolve-B0J5V4xC.d.ts.map +1 -0
- package/package.json +2 -7
- package/dist/esm/Client-Mni9tJr6.d.ts +0 -2300
- package/dist/esm/Client-Mni9tJr6.d.ts.map +0 -1
- package/dist/esm/defineProperty-DeZQsruP.js +0 -43
- package/dist/esm/fetch.d.ts +0 -26
- package/dist/esm/fetch.d.ts.map +0 -1
- package/dist/esm/fetch.js +0 -76
- package/dist/esm/fetch.js.map +0 -1
- package/dist/esm/resolve-CBovxOO3.d.ts.map +0 -1
- package/dist/esm/security-pO7x9isF.js +0 -57
- package/dist/esm/security-pO7x9isF.js.map +0 -1
|
@@ -23,31 +23,247 @@ declare function discoverConfigFile(cwd: string): string | null;
|
|
|
23
23
|
declare function loadConfigFile(options: LoadConfigFileOptions): Promise<LoadedConfigFile>;
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/lib/config/errors.d.ts
|
|
26
|
-
interface ConfigErrorOptions {
|
|
27
|
-
/** A stable, machine readable code, e.g. `INVALID_TYPE`. */
|
|
28
|
-
code: string;
|
|
29
|
-
/** A short, actionable suggestion. */
|
|
30
|
-
hint?: string;
|
|
31
|
-
/** The dotted path of the offending option, e.g. `dev.debounce`. */
|
|
32
|
-
path?: string;
|
|
33
|
-
/** The configuration file the error originates from. */
|
|
34
|
-
file?: string | null;
|
|
35
|
-
cause?: unknown;
|
|
36
|
-
}
|
|
37
26
|
/**
|
|
38
|
-
*
|
|
27
|
+
* Structured, stable diagnostic codes for every way a `stars.config.*` can fail to load or validate.
|
|
28
|
+
*
|
|
29
|
+
* This is a plain data error (no exit code or terminal formatting), so nothing here reports anywhere on its own —
|
|
30
|
+
* `reporters` stays empty and each call only builds and returns a `Diagnostic`. That keeps it meaningful outside a
|
|
31
|
+
* CLI, e.g. for a dashboard or test that calls {@link loadStarsConfig} directly; `@wolfstar/cli` is what renders it
|
|
32
|
+
* and picks an exit code (`exitCodeOf`).
|
|
39
33
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* `message
|
|
34
|
+
* The `sources` field (populated with the configuration file, when there is one) carries the "which file" grounding
|
|
35
|
+
* `ConfigError` used to expose as `.file`; the "which option" grounding it exposed as `.path` is folded directly into
|
|
36
|
+
* every `why`/`fix` message instead, the way every other diagnostic code already reads.
|
|
37
|
+
*
|
|
38
|
+
* `why` and `fix` are always given the same, fully-typed params object (even when one of them ignores part of it):
|
|
39
|
+
* a bare `() => value` loses nostics' param-type inference (a zero-arg function widens to `unknown` params), so every
|
|
40
|
+
* entry here spells out its shape on both sides instead.
|
|
43
41
|
*/
|
|
44
|
-
declare
|
|
45
|
-
readonly
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
declare const configDiagnostics: import("nostics").Diagnostics<{
|
|
43
|
+
readonly ROOT_NOT_FOUND: {
|
|
44
|
+
why: (p: {
|
|
45
|
+
root: string;
|
|
46
|
+
}) => string;
|
|
47
|
+
fix: (_p: {
|
|
48
|
+
root: string;
|
|
49
|
+
}) => string;
|
|
50
|
+
};
|
|
51
|
+
readonly PACKAGE_JSON_INVALID: {
|
|
52
|
+
why: (p: {
|
|
53
|
+
file: string;
|
|
54
|
+
message: string;
|
|
55
|
+
}) => string;
|
|
56
|
+
fix: (_p: {
|
|
57
|
+
file: string;
|
|
58
|
+
message: string;
|
|
59
|
+
}) => string;
|
|
60
|
+
};
|
|
61
|
+
readonly ENTRY_NOT_FOUND: {
|
|
62
|
+
why: (p: {
|
|
63
|
+
entry: string;
|
|
64
|
+
}) => string;
|
|
65
|
+
fix: (_p: {
|
|
66
|
+
entry: string;
|
|
67
|
+
}) => string;
|
|
68
|
+
};
|
|
69
|
+
readonly ENTRY_DEFAULT_NOT_FOUND: {
|
|
70
|
+
why: (p: {
|
|
71
|
+
root: string;
|
|
72
|
+
defaults: string;
|
|
73
|
+
}) => string;
|
|
74
|
+
fix: (p: {
|
|
75
|
+
root: string;
|
|
76
|
+
defaults: string;
|
|
77
|
+
}) => string;
|
|
78
|
+
};
|
|
79
|
+
readonly INVALID_BUILD_TOOL: {
|
|
80
|
+
why: (p: {
|
|
81
|
+
tool: string;
|
|
82
|
+
}) => string;
|
|
83
|
+
fix: (_p: {
|
|
84
|
+
tool: string;
|
|
85
|
+
}) => string;
|
|
86
|
+
};
|
|
87
|
+
readonly EXPERIMENTAL_BUILD_TOOL: {
|
|
88
|
+
why: (p: {
|
|
89
|
+
tool: string;
|
|
90
|
+
flag: string;
|
|
91
|
+
}) => string;
|
|
92
|
+
fix: (p: {
|
|
93
|
+
tool: string;
|
|
94
|
+
flag: string;
|
|
95
|
+
}) => string;
|
|
96
|
+
};
|
|
97
|
+
readonly BUILD_TOOL_REQUIRED: {
|
|
98
|
+
why: (p: {
|
|
99
|
+
entry: string;
|
|
100
|
+
}) => string;
|
|
101
|
+
fix: (_p: {
|
|
102
|
+
entry: string;
|
|
103
|
+
}) => string;
|
|
104
|
+
};
|
|
105
|
+
readonly TSCONFIG_EXPLICIT_NOT_FOUND: {
|
|
106
|
+
why: (p: {
|
|
107
|
+
tsconfig: string;
|
|
108
|
+
path: string;
|
|
109
|
+
}) => string;
|
|
110
|
+
fix: (p: {
|
|
111
|
+
tsconfig: string;
|
|
112
|
+
path: string;
|
|
113
|
+
}) => string;
|
|
114
|
+
};
|
|
115
|
+
readonly TSCONFIG_NOT_FOUND: {
|
|
116
|
+
why: (p: {
|
|
117
|
+
root: string;
|
|
118
|
+
suggestion: string;
|
|
119
|
+
}) => string;
|
|
120
|
+
fix: (p: {
|
|
121
|
+
root: string;
|
|
122
|
+
suggestion: string;
|
|
123
|
+
}) => string;
|
|
124
|
+
};
|
|
125
|
+
readonly TSDOWN_OPTIONS_REQUIRE_TSDOWN: {
|
|
126
|
+
why: (_p: {
|
|
127
|
+
tool: string;
|
|
128
|
+
}) => string;
|
|
129
|
+
fix: (p: {
|
|
130
|
+
tool: string;
|
|
131
|
+
}) => string;
|
|
132
|
+
};
|
|
133
|
+
readonly VITE_OPTIONS_REQUIRE_VITE: {
|
|
134
|
+
why: (_p: {
|
|
135
|
+
tool: string;
|
|
136
|
+
}) => string;
|
|
137
|
+
fix: (p: {
|
|
138
|
+
tool: string;
|
|
139
|
+
}) => string;
|
|
140
|
+
};
|
|
141
|
+
readonly TSDOWN_CONFIG_FILE_UNSUPPORTED: {
|
|
142
|
+
why: (p: {
|
|
143
|
+
file: string;
|
|
144
|
+
version: number;
|
|
145
|
+
legacyVersion: number;
|
|
146
|
+
}) => string;
|
|
147
|
+
fix: (p: {
|
|
148
|
+
file: string;
|
|
149
|
+
version: number;
|
|
150
|
+
legacyVersion: number;
|
|
151
|
+
}) => string;
|
|
152
|
+
};
|
|
153
|
+
readonly INVALID_TYPE: {
|
|
154
|
+
why: (p: {
|
|
155
|
+
path: string;
|
|
156
|
+
expected: string;
|
|
157
|
+
value: unknown;
|
|
158
|
+
fix: string;
|
|
159
|
+
}) => string;
|
|
160
|
+
fix: (p: {
|
|
161
|
+
path: string;
|
|
162
|
+
expected: string;
|
|
163
|
+
value: unknown;
|
|
164
|
+
fix: string;
|
|
165
|
+
}) => string;
|
|
166
|
+
};
|
|
167
|
+
readonly INVALID_COMPATIBILITY_VERSION: {
|
|
168
|
+
why: (p: {
|
|
169
|
+
value: unknown;
|
|
170
|
+
legacyVersion: number;
|
|
171
|
+
latestVersion: number;
|
|
172
|
+
}) => string;
|
|
173
|
+
fix: (p: {
|
|
174
|
+
value: unknown;
|
|
175
|
+
legacyVersion: number;
|
|
176
|
+
latestVersion: number;
|
|
177
|
+
}) => string;
|
|
178
|
+
};
|
|
179
|
+
readonly UNKNOWN_OPTION: {
|
|
180
|
+
why: (p: {
|
|
181
|
+
path: string;
|
|
182
|
+
parent: string;
|
|
183
|
+
known: string;
|
|
184
|
+
}) => string;
|
|
185
|
+
fix: (p: {
|
|
186
|
+
path: string;
|
|
187
|
+
parent: string;
|
|
188
|
+
known: string;
|
|
189
|
+
}) => string;
|
|
190
|
+
};
|
|
191
|
+
readonly EXPERIMENT_REQUIRED: {
|
|
192
|
+
why: (p: {
|
|
193
|
+
path: string;
|
|
194
|
+
requires: string;
|
|
195
|
+
drop: string;
|
|
196
|
+
}) => string;
|
|
197
|
+
fix: (p: {
|
|
198
|
+
path: string;
|
|
199
|
+
requires: string;
|
|
200
|
+
drop: string;
|
|
201
|
+
}) => string;
|
|
202
|
+
};
|
|
203
|
+
readonly IMPORTS_REQUIRE_TSDOWN: {
|
|
204
|
+
why: (_p: {}) => string;
|
|
205
|
+
fix: (_p: {}) => string;
|
|
206
|
+
};
|
|
207
|
+
readonly LOCALES_NOT_FOUND: {
|
|
208
|
+
why: (p: {
|
|
209
|
+
locales: string;
|
|
210
|
+
}) => string;
|
|
211
|
+
fix: (_p: {
|
|
212
|
+
locales: string;
|
|
213
|
+
}) => string;
|
|
214
|
+
};
|
|
215
|
+
readonly INVALID_URL: {
|
|
216
|
+
why: (p: {
|
|
217
|
+
url: string;
|
|
218
|
+
fix: string;
|
|
219
|
+
}) => string;
|
|
220
|
+
fix: (p: {
|
|
221
|
+
url: string;
|
|
222
|
+
fix: string;
|
|
223
|
+
}) => string;
|
|
224
|
+
};
|
|
225
|
+
readonly TUNNEL_URL_NOT_HTTPS: {
|
|
226
|
+
why: (p: {
|
|
227
|
+
url: string;
|
|
228
|
+
}) => string;
|
|
229
|
+
fix: (_p: {
|
|
230
|
+
url: string;
|
|
231
|
+
}) => string;
|
|
232
|
+
};
|
|
233
|
+
readonly INVALID_TYPECHECKER: {
|
|
234
|
+
why: (p: {
|
|
235
|
+
checker: string;
|
|
236
|
+
}) => string;
|
|
237
|
+
fix: (_p: {
|
|
238
|
+
checker: string;
|
|
239
|
+
}) => string;
|
|
240
|
+
};
|
|
241
|
+
readonly CONFIG_NOT_FOUND: {
|
|
242
|
+
why: (p: {
|
|
243
|
+
file: string;
|
|
244
|
+
cwd: string;
|
|
245
|
+
names: string;
|
|
246
|
+
}) => string;
|
|
247
|
+
fix: (p: {
|
|
248
|
+
file: string;
|
|
249
|
+
cwd: string;
|
|
250
|
+
names: string;
|
|
251
|
+
}) => string;
|
|
252
|
+
};
|
|
253
|
+
readonly CONFIG_LOAD_FAILED: {
|
|
254
|
+
why: (p: {
|
|
255
|
+
message: string;
|
|
256
|
+
}) => string;
|
|
257
|
+
fix: (_p: {
|
|
258
|
+
message: string;
|
|
259
|
+
}) => string;
|
|
260
|
+
};
|
|
261
|
+
readonly CONFIG_NOT_OBJECT: {
|
|
262
|
+
why: (_p: {}) => string;
|
|
263
|
+
fix: (_p: {}) => string;
|
|
264
|
+
};
|
|
265
|
+
}, readonly []>;
|
|
266
|
+
type ConfigDiagnosticCode = keyof typeof configDiagnostics;
|
|
51
267
|
//#endregion
|
|
52
268
|
//#region src/lib/config/index.d.ts
|
|
53
269
|
interface LoadStarsConfigOptions {
|
|
@@ -67,7 +283,7 @@ interface LoadStarsConfigOptions {
|
|
|
67
283
|
/**
|
|
68
284
|
* Loads, validates and resolves a project's `stars.config.*`.
|
|
69
285
|
*
|
|
70
|
-
* @throws {
|
|
286
|
+
* @throws {Diagnostic} (from `nostics`, via {@link configDiagnostics}) when the configuration file cannot be loaded or contains an invalid option.
|
|
71
287
|
*/
|
|
72
288
|
declare function loadStarsConfig(options?: LoadStarsConfigOptions): Promise<ResolvedStarsConfig>;
|
|
73
289
|
//#endregion
|
|
@@ -374,7 +590,7 @@ interface StarsNitroConfig {
|
|
|
374
590
|
*
|
|
375
591
|
* `enableExternalVite`, `enableNitro` and `nitro` build on `enableVite` (and `nitro` on `enableNitro` too): the type
|
|
376
592
|
* only accepts them once their prerequisite is `true`, so turning one on without the other is a type error here
|
|
377
|
-
* instead of a
|
|
593
|
+
* instead of a diagnostic at load time.
|
|
378
594
|
*/
|
|
379
595
|
type StarsExperimentalConfig = {
|
|
380
596
|
enableVite?: false;
|
|
@@ -390,9 +606,8 @@ type StarsExperimentalConfig = {
|
|
|
390
606
|
/**
|
|
391
607
|
* Runs the bot through Vite itself, the way `nuxt dev` runs on Vite's own dev server: instead of
|
|
392
608
|
* building then restarting a child `node` process on every change, `stars dev` loads the entry through
|
|
393
|
-
* Vite's SSR module graph and serves it — through
|
|
394
|
-
*
|
|
395
|
-
* module graph on a change instead of restarting.
|
|
609
|
+
* Vite's SSR module graph and serves it — through `Client#fetch` — from one long-lived process,
|
|
610
|
+
* invalidating and re-evaluating just the entry's module graph on a change instead of restarting.
|
|
396
611
|
*
|
|
397
612
|
* With this on, the entry's default export must be the `Client` instance (already `load()`ed, not
|
|
398
613
|
* `listen()`ed) rather than a script that calls `client.listen()` itself — `stars dev` owns the socket.
|
|
@@ -406,12 +621,14 @@ type StarsExperimentalConfig = {
|
|
|
406
621
|
/**
|
|
407
622
|
* Builds the bot through [Nitro](https://nitro.build) instead of a `node:http` server, so `stars build`
|
|
408
623
|
* produces a server deployable to any of Nitro's presets (`node-server` locally, `cloudflare-module`,
|
|
409
|
-
* `aws-lambda`, `vercel`, `netlify`, `bun`, `deno-deploy`, and more)
|
|
410
|
-
*
|
|
411
|
-
*
|
|
624
|
+
* `aws-lambda`, `vercel`, `netlify`, `bun`, `deno-deploy`, and more). Nitro v3 is itself a Vite plugin, so
|
|
625
|
+
* this builds through the project's own `vite.config.*`/{@link StarsConfig.vite} the same way `build.tool:
|
|
626
|
+
* 'vite'` does, with a generated server entry that wraps the entry's default export (the `Client`
|
|
627
|
+
* instance, already `load()`ed rather than `listen()`ed — `stars build`/`stars dev` own the socket) in a
|
|
628
|
+
* call to `Client#fetch` — no per-preset adapter to maintain.
|
|
412
629
|
*
|
|
413
|
-
* Output goes to `.output/` (Nitro's own convention) instead of `build.outDir`.
|
|
414
|
-
*
|
|
630
|
+
* Output goes to `.output/` (Nitro's own convention) instead of `build.outDir`. `stars dev` rebuilds and
|
|
631
|
+
* restarts on every change, the same as the other build tools.
|
|
415
632
|
*/
|
|
416
633
|
enableNitro: true;
|
|
417
634
|
/** Nitro-specific options, reachable only with `enableNitro: true`. */
|
|
@@ -591,7 +808,7 @@ interface ResolveConfigOptions {
|
|
|
591
808
|
/**
|
|
592
809
|
* Applies defaults, validates every option and resolves all paths to absolute ones.
|
|
593
810
|
*
|
|
594
|
-
* @throws {
|
|
811
|
+
* @throws {Diagnostic} (from `nostics`, via {@link configDiagnostics}) with an actionable `fix` on the first invalid option.
|
|
595
812
|
*/
|
|
596
813
|
declare function resolveStarsConfig(options: ResolveConfigOptions): ResolvedStarsConfig;
|
|
597
814
|
/**
|
|
@@ -608,5 +825,5 @@ declare function displayPath(root: string, path: string): string;
|
|
|
608
825
|
*/
|
|
609
826
|
declare function readProjectEnvFiles(root: string, environment?: string): Record<string, string>;
|
|
610
827
|
//#endregion
|
|
611
|
-
export { StarsTypecheckConfig as A, LoadConfigFileOptions as B, StarsExperimentalConfig as C, StarsNitroConfig as D, StarsImportsConfig as E, loadStarsConfig as F, discoverConfigFile as H,
|
|
612
|
-
//# sourceMappingURL=resolve-
|
|
828
|
+
export { StarsTypecheckConfig as A, LoadConfigFileOptions as B, StarsExperimentalConfig as C, StarsNitroConfig as D, StarsImportsConfig as E, loadStarsConfig as F, discoverConfigFile as H, ConfigDiagnosticCode as I, configDiagnostics as L, StarsViteConfig as M, defineConfig as N, StarsTsdownConfig as O, LoadStarsConfigOptions as P, CONFIG_EXTENSIONS as R, StarsDevConfig as S, StarsI18nCodegenConfig as T, loadConfigFile as U, LoadedConfigFile as V, StarsBuildConfig as _, ResolvedDevConfig as a, StarsCompatibilityVersion as b, ResolvedI18nCodegenConfig as c, ResolvedStarsConfig as d, ResolvedTunnelConfig as f, resolveStarsConfig as g, readProjectEnvFiles as h, ResolvedCodegenConfig as i, StarsTypechecker as j, StarsTunnelConfig as k, ResolvedImportsConfig as l, displayPath as m, ResolveConfigOptions as n, ResolvedExperimentalConfig as o, ResolvedTypecheckConfig as p, ResolvedBuildConfig as r, ResolvedFutureConfig as s, PackageJsonLike as t, ResolvedNitroConfig as u, StarsBuildTool as v, StarsFutureConfig as w, StarsConfig as x, StarsCodegenConfig as y, CONFIG_FILE_NAMES as z };
|
|
829
|
+
//# sourceMappingURL=resolve-B0J5V4xC.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-B0J5V4xC.d.ts","names":[],"sources":["../../src/lib/config/load.ts","../../src/lib/config/errors.ts","../../src/lib/config/index.ts","../../src/config.ts","../../src/lib/config/resolve.ts"],"mappings":";cAKa;cACA;UAEI;;EAEhB;;EAEA;;UAGgB;;EAEhB;EACA,QAAQ;;;;;iBAMO,mBAAmB;;;;;iBAab,eAAe,SAAS,wBAAwB,QAAQ;;;;;;;;;;;;;;;;;;;cCnBjE,qCAAiB;;IAK3B,MAAG;MAAQ;;IACX,MAAG;MAAS;;;;IAGZ,MAAG;MAAQ;MAAc;;IACzB,MAAG;MAAS;MAAc;;;;IAG1B,MAAG;MAAQ;;IACX,MAAG;MAAS;;;;IAGZ,MAAG;MAAQ;MAAc;;IACzB,MAAG;MAAQ;MAAc;;;;IAGzB,MAAG;MAAQ;;IACX,MAAG;MAAS;;;;IAGZ,MAAG;MAAQ;MAAc;;IACzB,MAAG;MAAQ;MAAc;;;;IAGzB,MAAG;MAAQ;;IACX,MAAG;MAAS;;;;IAGZ,MAAG;MAAQ;MAAkB;;IAC7B,MAAG;MAAQ;MAAkB;;;;IAG7B,MAAG;MAAQ;MAAc;;IACzB,MAAG;MAAQ;MAAc;;;;IAGzB,MAA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;;UAGC;;WAEP;;WAEA;;WAEA;WACA,aAAa;;WAEb;WACA,OAAO;WACP,KAAK;WACL,SAAS;WACT,SAAS;WACT,cAAc;WACd,QAAQ;;WAER,MAAM,SAAS;;WAEf,QAAQ,SAAS;;UAGV;EAChB;EACA;EACA,QAAQ;EACR,MAAM,OAAO;;;;;;;iBAyCE,mBAAmB,SAAS,uBAAuB;;;;iBA0CnD,YAAY,cAAc;;;;;;;;;iBAkO1B,oBAAoB,cAAc,uBAA8B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wolfstar/http-framework",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-next-20260919162943",
|
|
4
4
|
"description": "The framework for Star Network's HTTP-only bots",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -47,12 +47,6 @@
|
|
|
47
47
|
"types": "./dist/esm/auto-imports.d.ts",
|
|
48
48
|
"default": "./dist/esm/auto-imports.js"
|
|
49
49
|
}
|
|
50
|
-
},
|
|
51
|
-
"./fetch": {
|
|
52
|
-
"import": {
|
|
53
|
-
"types": "./dist/esm/fetch.d.ts",
|
|
54
|
-
"default": "./dist/esm/fetch.js"
|
|
55
|
-
}
|
|
56
50
|
}
|
|
57
51
|
},
|
|
58
52
|
"publishConfig": {
|
|
@@ -72,6 +66,7 @@
|
|
|
72
66
|
"chokidar": "^5.0.0",
|
|
73
67
|
"discord-api-types": "^0.38.8",
|
|
74
68
|
"mlly": "^1.8.2",
|
|
69
|
+
"nostics": "^1.2.0",
|
|
75
70
|
"unimport": "^7.0.2"
|
|
76
71
|
},
|
|
77
72
|
"devDependencies": {
|