@deepseek-ai/dsh-experimental-webworker-packer 0.1.6-alpha.1 → 0.1.6-alpha.2
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/lib/bin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as previewFixtures, i as indexWorkspacePackages, l as packVfsImage, n as configTrees, r as describePack, t as composeProfile, u as packVfsOverlay } from "./repository-
|
|
2
|
+
import { a as previewFixtures, i as indexWorkspacePackages, l as packVfsImage, n as configTrees, r as describePack, t as composeProfile, u as packVfsOverlay } from "./repository-f0am6-5_.js";
|
|
3
3
|
import { PREVIEW_FIXTURE_MANIFEST_FILE, PREVIEW_FIXTURE_MANIFEST_VERSION } from "@deepseek-ai/dsh-experimental-webworker-runtime";
|
|
4
4
|
import { mkdirSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { dirname, isAbsolute, join, resolve } from "node:path";
|
package/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as previewFixtures, c as MANIFEST_PATH, d as WRAPPER_CONTRACT, i as indexWorkspacePackages, l as packVfsImage, n as configTrees, o as CONFIG_PATH, r as describePack, s as DEFAULT_ROOT, t as composeProfile, u as packVfsOverlay } from "./repository-
|
|
1
|
+
import { a as previewFixtures, c as MANIFEST_PATH, d as WRAPPER_CONTRACT, i as indexWorkspacePackages, l as packVfsImage, n as configTrees, o as CONFIG_PATH, r as describePack, s as DEFAULT_ROOT, t as composeProfile, u as packVfsOverlay } from "./repository-f0am6-5_.js";
|
|
2
2
|
export { CONFIG_PATH, DEFAULT_ROOT, MANIFEST_PATH, WRAPPER_CONTRACT, composeProfile, configTrees, describePack, indexWorkspacePackages, packVfsImage, packVfsOverlay, previewFixtures };
|
|
@@ -62,15 +62,20 @@ const EXCLUDE_WORKSPACE = ["src/**", "dist/**"];
|
|
|
62
62
|
/**
|
|
63
63
|
* Image paths that belong to the PAGE, not to the worker's loader.
|
|
64
64
|
*
|
|
65
|
-
* A package's `lib/client.js`
|
|
66
|
-
* export: the page's own module system evaluates
|
|
65
|
+
* A package's `lib/client.js` entry and `lib/client.*.js` sibling chunks are
|
|
66
|
+
* browser bundles behind the `./client` export: the page's own module system evaluates them with its own wrapper,
|
|
67
67
|
* which has no ambient-store parameter. Transforming those bodies would
|
|
68
68
|
* inject calls the page cannot resolve, so they ship untransformed — their
|
|
69
69
|
* only change is the trailing debugger-name line every JavaScript entry
|
|
70
70
|
* gains — and the manifest's all-or-nothing claim stays true, because the
|
|
71
71
|
* worker loader never evaluates them (the tunnel serves them as bytes).
|
|
72
72
|
*/
|
|
73
|
-
const PAGE_ASSETS = [
|
|
73
|
+
const PAGE_ASSETS = [
|
|
74
|
+
"node_modules/*/lib/client.js",
|
|
75
|
+
"node_modules/*/lib/client.*.js",
|
|
76
|
+
"node_modules/@*/*/lib/client.js",
|
|
77
|
+
"node_modules/@*/*/lib/client.*.js"
|
|
78
|
+
];
|
|
74
79
|
/**
|
|
75
80
|
* Image specifiers the worker assembly requires directly, beyond the composed
|
|
76
81
|
* roster: they are requested by worker-bundle code, so no image file
|
package/lib/types/rules.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ export declare const EXCLUDE_WORKSPACE: readonly string[];
|
|
|
23
23
|
/**
|
|
24
24
|
* Image paths that belong to the PAGE, not to the worker's loader.
|
|
25
25
|
*
|
|
26
|
-
* A package's `lib/client.js`
|
|
27
|
-
* export: the page's own module system evaluates
|
|
26
|
+
* A package's `lib/client.js` entry and `lib/client.*.js` sibling chunks are
|
|
27
|
+
* browser bundles behind the `./client` export: the page's own module system evaluates them with its own wrapper,
|
|
28
28
|
* which has no ambient-store parameter. Transforming those bodies would
|
|
29
29
|
* inject calls the page cannot resolve, so they ship untransformed — their
|
|
30
30
|
* only change is the trailing debugger-name line every JavaScript entry
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-experimental-webworker-packer",
|
|
3
3
|
"description": "Build-time packer for the browser runtime's base VFS image and ordered data-overlay archives",
|
|
4
|
-
"version": "0.1.6-alpha.
|
|
4
|
+
"version": "0.1.6-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"js-yaml": "^4.2.0",
|
|
37
37
|
"picomatch": "^4.0.4",
|
|
38
38
|
"@deepseek-ai/cordis-plugin-include": "^1.0.7",
|
|
39
|
-
"@deepseek-ai/dsh-experimental-webworker-runtime": "^0.1.6-alpha.
|
|
40
|
-
"@deepseek-ai/dsh-home-paths": "^0.1.6-alpha.
|
|
39
|
+
"@deepseek-ai/dsh-experimental-webworker-runtime": "^0.1.6-alpha.2",
|
|
40
|
+
"@deepseek-ai/dsh-home-paths": "^0.1.6-alpha.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/js-yaml": "^4.0.9",
|