@hyperframes/producer 0.1.2 → 0.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/LICENSE +21 -0
- package/dist/index.js +134 -137
- package/dist/index.js.map +4 -4
- package/dist/public-server.js +134 -137
- package/dist/public-server.js.map +4 -4
- package/dist/services/deterministicFonts.d.ts.map +1 -1
- package/dist/services/fontData.generated.d.ts +7 -0
- package/dist/services/fontData.generated.d.ts.map +1 -0
- package/dist/services/htmlCompiler.d.ts.map +1 -1
- package/dist/services/hyperframeRuntimeLoader.d.ts.map +1 -1
- package/package.json +22 -22
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deterministicFonts.d.ts","sourceRoot":"","sources":["../../src/services/deterministicFonts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deterministicFonts.d.ts","sourceRoot":"","sources":["../../src/services/deterministicFonts.ts"],"names":[],"mappings":"AAgNA,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA0CjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontData.generated.d.ts","sourceRoot":"","sources":["../../src/services/fontData.generated.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,kBAAkB,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAyBzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"htmlCompiler.d.ts","sourceRoot":"","sources":["../../src/services/htmlCompiler.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,EAKL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACvB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAEL,KAAK,YAAY,EAEjB,KAAK,YAAY,EAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAG3C,MAA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3B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CA6CzF;AAED;;;GAGG;AACH,wBAAsB,2BAA2B,CAC/C,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,iBAAiB,EAAE,GAC9B,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAiD7B;AAED;;;GAGG;AACH,wBAAsB,wBAAwB,CAC5C,QAAQ,EAAE,mBAAmB,EAC7B,WAAW,EAAE,gBAAgB,EAAE,EAC/B,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,mBAAmB,CAAC,CA8B9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hyperframeRuntimeLoader.d.ts","sourceRoot":"","sources":["../../src/services/hyperframeRuntimeLoader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hyperframeRuntimeLoader.d.ts","sourceRoot":"","sources":["../../src/services/hyperframeRuntimeLoader.ts"],"names":[],"mappings":"AAuBA,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,6BAA6B,IAAI,MAAM,CAetD;AAED,wBAAgB,kCAAkC,IAAI,MAAM,CAE3D;AAED,wBAAgB,gCAAgC,IAAI,yBAAyB,CAoC5E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/producer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "HTML-to-video rendering engine using Chrome's BeginFrame API",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/"
|
|
@@ -21,23 +21,6 @@
|
|
|
21
21
|
"access": "public",
|
|
22
22
|
"registry": "https://registry.npmjs.org/"
|
|
23
23
|
},
|
|
24
|
-
"scripts": {
|
|
25
|
-
"build": "bun run --cwd ../.. build:hyperframes-runtime:modular && node build.mjs",
|
|
26
|
-
"typecheck": "tsc --noEmit",
|
|
27
|
-
"parity:check": "tsx src/parity-harness.ts",
|
|
28
|
-
"parity:fixtures": "tsx src/parity-fixtures.ts",
|
|
29
|
-
"parity:fixtures:ci": "tsx src/parity-fixtures.ts",
|
|
30
|
-
"parity:check:ci": "tsx src/parity-harness.ts --preview-url \"http://127.0.0.1:4173/minimal-wysiwyg.html\" --producer-url \"http://127.0.0.1:4173/minimal-wysiwyg.html?mode=producer\" --checkpoints \"0,0.5,1,1.5\" --allow-mismatch-ratio 0 --emulate-producer-swap true --artifacts-dir \".debug/parity-harness-ci\"",
|
|
31
|
-
"perf:gate": "tsx src/perf-gate.ts",
|
|
32
|
-
"check:runtime-conformance": "tsx src/runtime-conformance.ts",
|
|
33
|
-
"benchmark": "tsx src/benchmark.ts",
|
|
34
|
-
"test": "tsx src/regression-harness.ts",
|
|
35
|
-
"test:update": "tsx src/regression-harness.ts --update",
|
|
36
|
-
"docker:build:test": "docker build -f ../../Dockerfile.test -t hyperframes-producer:test ../..",
|
|
37
|
-
"docker:test": "docker run --rm --security-opt seccomp=unconfined --shm-size=2g -v ./tests:/app/packages/producer/tests hyperframes-producer:test",
|
|
38
|
-
"docker:test:update": "docker run --rm --security-opt seccomp=unconfined --shm-size=2g -v ./tests:/app/packages/producer/tests hyperframes-producer:test --update",
|
|
39
|
-
"prepublishOnly": "echo skip"
|
|
40
|
-
},
|
|
41
24
|
"dependencies": {
|
|
42
25
|
"@fontsource/archivo-black": "^5.2.8",
|
|
43
26
|
"@fontsource/eb-garamond": "^5.2.7",
|
|
@@ -51,12 +34,12 @@
|
|
|
51
34
|
"@fontsource/outfit": "^5.2.8",
|
|
52
35
|
"@fontsource/space-mono": "^5.2.9",
|
|
53
36
|
"@hono/node-server": "^1.13.0",
|
|
54
|
-
"@hyperframes/core": "workspace:^",
|
|
55
|
-
"@hyperframes/engine": "workspace:^",
|
|
56
37
|
"hono": "^4.6.0",
|
|
57
38
|
"linkedom": "^0.18.12",
|
|
58
39
|
"puppeteer": "^24.0.0",
|
|
59
|
-
"puppeteer-core": "^24.39.1"
|
|
40
|
+
"puppeteer-core": "^24.39.1",
|
|
41
|
+
"@hyperframes/engine": "^0.1.4",
|
|
42
|
+
"@hyperframes/core": "^0.1.4"
|
|
60
43
|
},
|
|
61
44
|
"devDependencies": {
|
|
62
45
|
"@types/node": "^22.10.1",
|
|
@@ -66,5 +49,22 @@
|
|
|
66
49
|
},
|
|
67
50
|
"engines": {
|
|
68
51
|
"node": ">=22"
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"build": "bun run build:fonts && bun run --cwd ../.. build:hyperframes-runtime:modular && node build.mjs",
|
|
55
|
+
"build:fonts": "tsx scripts/generate-font-data.ts",
|
|
56
|
+
"typecheck": "tsc --noEmit",
|
|
57
|
+
"parity:check": "tsx src/parity-harness.ts",
|
|
58
|
+
"parity:fixtures": "tsx src/parity-fixtures.ts",
|
|
59
|
+
"parity:fixtures:ci": "tsx src/parity-fixtures.ts",
|
|
60
|
+
"parity:check:ci": "tsx src/parity-harness.ts --preview-url \"http://127.0.0.1:4173/minimal-wysiwyg.html\" --producer-url \"http://127.0.0.1:4173/minimal-wysiwyg.html?mode=producer\" --checkpoints \"0,0.5,1,1.5\" --allow-mismatch-ratio 0 --emulate-producer-swap true --artifacts-dir \".debug/parity-harness-ci\"",
|
|
61
|
+
"perf:gate": "tsx src/perf-gate.ts",
|
|
62
|
+
"check:runtime-conformance": "tsx src/runtime-conformance.ts",
|
|
63
|
+
"benchmark": "tsx src/benchmark.ts",
|
|
64
|
+
"test": "tsx src/regression-harness.ts",
|
|
65
|
+
"test:update": "tsx src/regression-harness.ts --update",
|
|
66
|
+
"docker:build:test": "docker build -f ../../Dockerfile.test -t hyperframes-producer:test ../..",
|
|
67
|
+
"docker:test": "docker run --rm --security-opt seccomp=unconfined --shm-size=2g -v ./tests:/app/packages/producer/tests hyperframes-producer:test",
|
|
68
|
+
"docker:test:update": "docker run --rm --security-opt seccomp=unconfined --shm-size=2g -v ./tests:/app/packages/producer/tests hyperframes-producer:test --update"
|
|
69
69
|
}
|
|
70
|
-
}
|
|
70
|
+
}
|