@lofcz/tikz 0.2.3 → 0.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lofcz/tikz",
3
- "version": "0.2.3",
3
+ "version": "0.3.0",
4
4
  "description": "Self-contained, process-isolated TikZ to SVG rendering powered by mp-tikz-wasm.",
5
5
  "type": "module",
6
6
  "license": "GPL-3.0-or-later",
@@ -21,6 +21,7 @@
21
21
  },
22
22
  "files": [
23
23
  "src",
24
+ "dist",
24
25
  "runtime",
25
26
  "LICENSE",
26
27
  "NOTICE.md",
@@ -41,19 +42,25 @@
41
42
  "access": "public"
42
43
  },
43
44
  "scripts": {
44
- "build": "node scripts/prepare-runtime.mjs",
45
+ "build": "node scripts/prepare-runtime.mjs && node scripts/generate-bundled.mjs && node scripts/bundle-workers.mjs",
45
46
  "test": "node --test test/*.test.mjs",
46
47
  "test:package": "node scripts/test-package.mjs",
47
48
  "check": "npm run build && npm test && npm run test:package",
48
49
  "prepack": "npm run build",
49
50
  "build:engine": "tsc -p packages/engine/tsconfig.build.json",
50
51
  "test:browser": "node test/browser.mjs",
51
- "bench:cold": "node test/bench-cold.mjs"
52
+ "bench:cold": "node test/bench-cold.mjs",
53
+ "bundle": "node scripts/bundle-workers.mjs",
54
+ "pretest": "node scripts/bundle-workers.mjs"
52
55
  },
53
56
  "devDependencies": {
54
57
  "@types/node": "^22.20.5",
58
+ "@unified-latex/unified-latex-util-parse": "^1.8.4",
59
+ "@unified-latex/unified-latex-util-pgfkeys": "^1.8.4",
60
+ "esbuild": "^0.28.2",
55
61
  "playwright": "^1.64.1",
56
62
  "tar": "^7.5.22",
57
- "typescript": "^5.9.3"
63
+ "typescript": "^5.9.3",
64
+ "@unified-latex/unified-latex-util-print-raw": "^1.8.4"
58
65
  }
59
66
  }
@@ -1 +1 @@
1
- 6732122ad8bdc1e5ddb57f24722a6f485cea5c952501277caeb5479ba0f303bf
1
+ b3e75e366e052c0366dccb6fafb54afde4e8ee5b6e170a20387015f21a1115d0