@vesk/adapter 0.2.42 → 0.2.43
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/client-bundle.d.ts +13 -0
- package/dist/client-bundle.d.ts.map +1 -1
- package/dist/client-bundle.js +70 -6
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/client-bundle.d.ts
CHANGED
|
@@ -67,6 +67,19 @@ interface CompiledNode {
|
|
|
67
67
|
* eval runs against a live chunk scope where those already exist.
|
|
68
68
|
*/
|
|
69
69
|
export declare function isSnippetDrop(node: CompiledNode): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* When a chunk's esbuild bundle fails to resolve bare specifiers, the
|
|
72
|
+
* historical fallback strips every import, leaving dangling free identifiers
|
|
73
|
+
* that surface as a baffling `ReferenceError: X is not defined` at render
|
|
74
|
+
* time. Native-only `@vesk/*` library imports can NEVER resolve in the
|
|
75
|
+
* browser dev preview — make that a first-class, readable failure by emitting
|
|
76
|
+
* a throwing proxy for every binding those imports declare: the binding reads
|
|
77
|
+
* as a function, so `typeof` stays truthful, and the throw carries the
|
|
78
|
+
* library, the binding, and the remedy. Other bare specifiers (e.g. `motion`,
|
|
79
|
+
* dev-preview-provided) are left dangling — genuinely missing packages still
|
|
80
|
+
* fail as ReferenceErrors, which is honest. AST-only; never a text scan.
|
|
81
|
+
*/
|
|
82
|
+
export declare function nativeLibraryImportStubs(code: string): string;
|
|
70
83
|
/**
|
|
71
84
|
* Demotes surviving value exports to plain declarations (`export const x`
|
|
72
85
|
* becomes `const x`) and drops bare re-export lists (`export { x }`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-bundle.d.ts","sourceRoot":"","sources":["../src/client-bundle.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,kBAAkB,EAAmF,MAAM,yBAAyB,CAAC;AAoCnL;;;;;;;;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AAK,OAAO,GAAG,MAAM,CAwBnG;AAED,wBAAsB,oBAAoB,CACxC,SAAS,EAAE,SAAS,EAAE,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAClC,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,kBAAkB,CAAC,CAob7B;AAMD,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CA+B3D;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,CAUlE;AAoCD;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAI/F"}
|
package/dist/client-bundle.js
CHANGED
|
@@ -174,6 +174,52 @@ function isModuleLevel(node) {
|
|
|
174
174
|
|| node.type === 'ExportNamedDeclaration'
|
|
175
175
|
|| node.type === 'ExportDefaultDeclaration';
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* When a chunk's esbuild bundle fails to resolve bare specifiers, the
|
|
179
|
+
* historical fallback strips every import, leaving dangling free identifiers
|
|
180
|
+
* that surface as a baffling `ReferenceError: X is not defined` at render
|
|
181
|
+
* time. Native-only `@vesk/*` library imports can NEVER resolve in the
|
|
182
|
+
* browser dev preview — make that a first-class, readable failure by emitting
|
|
183
|
+
* a throwing proxy for every binding those imports declare: the binding reads
|
|
184
|
+
* as a function, so `typeof` stays truthful, and the throw carries the
|
|
185
|
+
* library, the binding, and the remedy. Other bare specifiers (e.g. `motion`,
|
|
186
|
+
* dev-preview-provided) are left dangling — genuinely missing packages still
|
|
187
|
+
* fail as ReferenceErrors, which is honest. AST-only; never a text scan.
|
|
188
|
+
*/
|
|
189
|
+
export function nativeLibraryImportStubs(code) {
|
|
190
|
+
let ast;
|
|
191
|
+
try {
|
|
192
|
+
ast = parse(code);
|
|
193
|
+
}
|
|
194
|
+
catch {
|
|
195
|
+
return '';
|
|
196
|
+
}
|
|
197
|
+
const body = ast.body ?? [];
|
|
198
|
+
const bindings = [];
|
|
199
|
+
for (const node of body) {
|
|
200
|
+
if (node?.type !== 'ImportDeclaration')
|
|
201
|
+
continue;
|
|
202
|
+
const src = node.source?.value;
|
|
203
|
+
if (typeof src !== 'string' || !src.startsWith('@vesk/') || src.startsWith('@vesk/runtime'))
|
|
204
|
+
continue;
|
|
205
|
+
for (const spec of node.specifiers ?? []) {
|
|
206
|
+
if (typeof spec?.local?.name === 'string')
|
|
207
|
+
bindings.push([spec.local.name, src]);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
if (bindings.length === 0)
|
|
211
|
+
return '';
|
|
212
|
+
const lines = bindings.map(([local, spec]) => {
|
|
213
|
+
const message = `web preview: native library "${spec}" has no browser equivalent on the web ` +
|
|
214
|
+
`(dev-only) — binding "${local}" cannot be provided in vesk dev --web. Build for Android to use it.`;
|
|
215
|
+
const thrower = `throw Object.assign(new Error(${JSON.stringify(message)}), { __veskPreviewMissing: ${JSON.stringify(spec)} })`;
|
|
216
|
+
return (`const ${local} = new Proxy(function () {}, { ` +
|
|
217
|
+
`get: function () { ${thrower}; }, ` +
|
|
218
|
+
`apply: function () { ${thrower}; }, ` +
|
|
219
|
+
`construct: function () { ${thrower}; } });`);
|
|
220
|
+
});
|
|
221
|
+
return lines.join('\n') + '\n\n';
|
|
222
|
+
}
|
|
177
223
|
/**
|
|
178
224
|
* Demotes surviving value exports to plain declarations (`export const x`
|
|
179
225
|
* becomes `const x`) and drops bare re-export lists (`export { x }`,
|
|
@@ -682,7 +728,7 @@ export async function generateClientBundle(routeTree, appDir, componentMap, opti
|
|
|
682
728
|
// One parse/IR pass feeds both client modes AND the component-name
|
|
683
729
|
// lookup — the dev hot path pays the acorn+TS parse once per edit
|
|
684
730
|
// instead of three times.
|
|
685
|
-
const { comp: rawComp, hyd: rawHyd, name: actualName } = compileClientBoth(src, null, filePath);
|
|
731
|
+
const { comp: rawComp, hyd: rawHyd, name: actualName, aliases, reexportPaths } = compileClientBoth(src, null, filePath);
|
|
686
732
|
// Cache keeps the import-carrying codes so a warm build can re-fold them
|
|
687
733
|
// into its own fresh accumulator; the emitted codes are import-stripped.
|
|
688
734
|
// The bodies/specs/scoped artifacts are cached too so warm replay never
|
|
@@ -715,6 +761,17 @@ export async function generateClientBundle(routeTree, appDir, componentMap, opti
|
|
|
715
761
|
output.push(`Object.defineProperty(__components, ${JSON.stringify(resolvedName)}, { get: () => __components[${JSON.stringify(actualName)}], configurable: true });`);
|
|
716
762
|
output.push(`Object.defineProperty(__hydrators, ${JSON.stringify(resolvedName)}, { get: () => __hydrators[${JSON.stringify(actualName)}], configurable: true });`);
|
|
717
763
|
}
|
|
764
|
+
// `.vsk` export/import aliases (`export { A as B }`, `import { A as B }`):
|
|
765
|
+
// nothing is emitted for them, so register lazy getters that resolve to
|
|
766
|
+
// the canonical name. Lazy because the target may be contributed later.
|
|
767
|
+
for (const alias of aliases || []) {
|
|
768
|
+
output.push(`Object.defineProperty(__components, ${JSON.stringify(alias.exported)}, { get: () => __components[${JSON.stringify(alias.local)}], configurable: true });`);
|
|
769
|
+
output.push(`Object.defineProperty(__hydrators, ${JSON.stringify(alias.exported)}, { get: () => __hydrators[${JSON.stringify(alias.local)}], configurable: true });`);
|
|
770
|
+
}
|
|
771
|
+
// `export * from './x.vsk'` / `export { A } from './x.vsk'`: the target is
|
|
772
|
+
// not reachable through an import statement, so compile it here.
|
|
773
|
+
for (const reexportPath of reexportPaths || [])
|
|
774
|
+
compileFile(reexportPath, null, output, imports);
|
|
718
775
|
if (cache && namesBefore) {
|
|
719
776
|
const st = statSync(filePath);
|
|
720
777
|
cache.files.set(filePath, {
|
|
@@ -863,10 +920,12 @@ export async function generateClientBundle(routeTree, appDir, componentMap, opti
|
|
|
863
920
|
const err = e;
|
|
864
921
|
console.error('[vesk] chunk bundle failed', entry.name, err?.errors?.map((x) => x.text).join(' | ') || err?.message || String(e));
|
|
865
922
|
// Fall back to the historical behavior: strip every import so the
|
|
866
|
-
// classic script at least parses
|
|
867
|
-
//
|
|
923
|
+
// classic script at least parses. Bindings imported from native-only
|
|
924
|
+
// `@vesk/*` libraries get throwing stubs (a readable degradation
|
|
925
|
+
// instead of a baffling `X is not defined`); every other stripped
|
|
926
|
+
// name stays dangling, which is the pre-existing failure mode.
|
|
868
927
|
const stripped = demoteExports(removeCompiledNodes(entry.code, isAnyImport));
|
|
869
|
-
finalCode = chunkIIFE(stripped);
|
|
928
|
+
finalCode = chunkIIFE(nativeLibraryImportStubs(entry.code) + stripped);
|
|
870
929
|
}
|
|
871
930
|
finally {
|
|
872
931
|
try {
|
|
@@ -876,7 +935,12 @@ export async function generateClientBundle(routeTree, appDir, componentMap, opti
|
|
|
876
935
|
}
|
|
877
936
|
}
|
|
878
937
|
else {
|
|
879
|
-
|
|
938
|
+
// No-import chunk: wrap the compiled source in the registry IIFE. The
|
|
939
|
+
// compiler still emits module-level `export const pageProps` / re-export
|
|
940
|
+
// lists, and a classic script cannot carry an `export` — demote value
|
|
941
|
+
// exports to bindings and drop bare re-export lists (components resolve
|
|
942
|
+
// via the __components / __hydrators registries, matching the mono path).
|
|
943
|
+
finalCode = chunkIIFE(demoteExports(entry.code));
|
|
880
944
|
}
|
|
881
945
|
chunks.push({ name: entry.name, code: finalCode });
|
|
882
946
|
}
|
|
@@ -1142,7 +1206,7 @@ function appendHmrGlobals(code) {
|
|
|
1142
1206
|
"};\n";
|
|
1143
1207
|
}
|
|
1144
1208
|
async function buildMainBundle(routeTree, runtimeDir, codeSplit, mono, hmr, importRuntime, runtimeImportNames, routeDataCache) {
|
|
1145
|
-
const baseRuntimeImports = ['createFileRouter', 'get', 'set', 'effect', 'track', 'destroy_block', 'getActiveComponent', 'setActiveComponent', 'NavLink', 'Link', 'reactiveProps', 'matchRoute', 'ensureChunk'];
|
|
1209
|
+
const baseRuntimeImports = ['createFileRouter', 'get', 'set', 'effect', 'track', 'destroy_block', 'getActiveComponent', 'setActiveComponent', 'NavLink', 'Link', 'reactiveProps', 'matchRoute', 'ensureChunk', 'toDomNode', 'rerenderNode'];
|
|
1146
1210
|
const allRuntimeImports = runtimeImportNames && runtimeImportNames.size > 0
|
|
1147
1211
|
? [...new Set([...baseRuntimeImports, ...runtimeImportNames])]
|
|
1148
1212
|
: baseRuntimeImports;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { RouteNode, ApiRouteNode, VeskPlugin, ServerEventContext, VeskEventHandlers, VeskSecurity, VeskCors, VeskRateLimit, VeskSecurityPreset, SecurityConfig, MiddlewareChainItem, MiddlewareExtractResult, AncestorLayout, BuildOptions, DevServerOptions, ProdServerOptions, SsrFunctionOptions, ApiFunctionOptions, ClientBundleOptions, ClientBundleFileEntry, ClientBundleChunkSpec, ClientBundleCache, ChunkEntry, ClientBundleResult, MonolithicBundleParts, Manifest, ManifestRouteEntry, ManifestActionEntry, ManifestPrerenderedEntry, SsgRouteResult, BuildResult, ImageRef, ImageResult, SeoCheckIssue, SeoAuditResult, CombinedPageInfo, Tracked, Resource, UseFetchOptions, UseFetchStreamOptions, VeskRequest, VeskResponse, SetCookieOptions, CookieStore, ServerRequest, SsrDataSink, MdProps, MdConfig, MdHtmlMode, MarkdownOptions, MdHtmlWarning, } from '@vesk/types';
|
|
1
|
+
export type { RouteNode, ApiRouteNode, VeskPlugin, ServerEventContext, VeskEventHandlers, VeskSecurity, VeskCors, VeskRateLimit, VeskSecurityPreset, SecurityConfig, MiddlewareChainItem, MiddlewareExtractResult, AncestorLayout, BuildOptions, DevServerOptions, ProdServerOptions, SsrFunctionOptions, ApiFunctionOptions, ClientBundleOptions, ClientBundleFileEntry, ClientBundleChunkSpec, ClientBundleCache, ChunkEntry, ClientBundleResult, MonolithicBundleParts, Manifest, ManifestRouteEntry, ManifestActionEntry, ManifestPrerenderedEntry, SsgRouteResult, BuildResult, ImageRef, ImageResult, SeoCheckIssue, SeoAuditResult, CombinedPageInfo, Tracked, Resource, UseFetchOptions, UseFetchStreamOptions, VeskRequest, VeskResponse, SetCookieOptions, CookieStore, ServerRequest, SsrDataSink, MdProps, MdConfig, MdHtmlMode, MarkdownOptions, MdHtmlWarning, VeskLeafComponent, VeskPrimitiveComponent, VeskTaggedLeafComponent, VeskComponentRegistry, VeskScope, } from '@vesk/types';
|
|
2
2
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,SAAS,EACT,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,uBAAuB,EACvB,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,UAAU,EACV,kBAAkB,EAClB,qBAAqB,EACrB,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,EACd,WAAW,EACX,QAAQ,EACR,WAAW,EACX,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,QAAQ,EACR,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,WAAW,EACX,OAAO,EACP,QAAQ,EACR,UAAU,EACV,eAAe,EACf,aAAa,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,SAAS,EACT,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,uBAAuB,EACvB,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,UAAU,EACV,kBAAkB,EAClB,qBAAqB,EACrB,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,EACd,WAAW,EACX,QAAQ,EACR,WAAW,EACX,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,QAAQ,EACR,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,WAAW,EACX,OAAO,EACP,QAAQ,EACR,UAAU,EACV,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,SAAS,GACV,MAAM,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vesk/adapter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.43",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vesk adapter — builds deployable .vesk/ output for Deno and Node serverless",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"sharp": "^0.35.3"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@vesk/compiler": "^0.2.
|
|
27
|
-
"@vesk/runtime": "^0.2.
|
|
28
|
-
"@vesk/types": "^0.2.
|
|
26
|
+
"@vesk/compiler": "^0.2.43",
|
|
27
|
+
"@vesk/runtime": "^0.2.43",
|
|
28
|
+
"@vesk/types": "^0.2.43"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/ws": "^8.18.1",
|