vizmatic 0.1.2 → 0.1.3
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 +12 -0
- package/package.json +9 -11
package/README.md
CHANGED
|
@@ -365,6 +365,7 @@ Vizmatic treats generated visuals as source-controlled build artifacts. CI fails
|
|
|
365
365
|
| `pnpm test` | Render pipeline behavior, watermark options, and output validation |
|
|
366
366
|
| `pnpm render:examples` | Dark/light PNGs, animated GIFs, source snippets, and website HTML |
|
|
367
367
|
| `pnpm docs:check` | Local asset references, `PROMPT.md` sync, source modal themes, and homepage affordances |
|
|
368
|
+
| `pnpm security:audit` | Fails on known low-or-higher npm advisories |
|
|
368
369
|
| `npm pack --dry-run` | Published package contents before release |
|
|
369
370
|
| CI generated-file check | Ensures rendered docs/examples are committed |
|
|
370
371
|
|
|
@@ -375,6 +376,17 @@ pnpm verify
|
|
|
375
376
|
git diff --exit-code
|
|
376
377
|
```
|
|
377
378
|
|
|
379
|
+
## Supply Chain Posture
|
|
380
|
+
|
|
381
|
+
Vizmatic keeps runtime dependencies narrow: `satori` for JSX layout, `@resvg/resvg-js` for rasterization, `gifenc` for animated GIF output, and `tsx` so the CLI can load TSX scene files directly.
|
|
382
|
+
|
|
383
|
+
Package resolution is intentionally conservative:
|
|
384
|
+
|
|
385
|
+
- `minimumReleaseAge: 10080` requires timestamped package releases to age seven days before pnpm can select them.
|
|
386
|
+
- `strictPeerDependencies`, `engineStrict`, and `packageManagerStrict` make install drift fail loudly.
|
|
387
|
+
- `overrides.esbuild: 0.28.1` keeps the build graph on the patched esbuild line used by `tsx` and `tsup`.
|
|
388
|
+
- `pnpm security:audit` runs inside `pnpm verify`, `prepublishOnly`, and CI.
|
|
389
|
+
|
|
378
390
|
## API
|
|
379
391
|
|
|
380
392
|
### Themes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vizmatic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Theme-aware visual primitives and render pipeline for AI-generated diagrams, figures, and presentation frames.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,29 +57,27 @@
|
|
|
57
57
|
"render:examples": "pnpm build && tsx scripts/render-examples.ts && pnpm site:build",
|
|
58
58
|
"site:build": "tsx scripts/build-site.ts",
|
|
59
59
|
"docs:check": "tsx scripts/check-docs.ts",
|
|
60
|
-
"site:serve": "
|
|
61
|
-
"
|
|
62
|
-
"
|
|
60
|
+
"site:serve": "node scripts/serve-docs.mjs docs 4173",
|
|
61
|
+
"security:audit": "pnpm audit --audit-level low",
|
|
62
|
+
"verify": "pnpm typecheck && pnpm test && pnpm render:examples && pnpm docs:check && pnpm security:audit && npm pack --dry-run",
|
|
63
|
+
"prepublishOnly": "pnpm test && pnpm render:examples && pnpm security:audit && npm pack --dry-run"
|
|
63
64
|
},
|
|
64
65
|
"dependencies": {
|
|
65
66
|
"@resvg/resvg-js": "^2.6.2",
|
|
66
67
|
"gifenc": "^1.0.3",
|
|
67
|
-
"satori": "^0.
|
|
68
|
+
"satori": "^0.26.0",
|
|
68
69
|
"tsx": "^4.20.4"
|
|
69
70
|
},
|
|
70
71
|
"peerDependencies": {
|
|
71
72
|
"react": ">=18"
|
|
72
73
|
},
|
|
73
74
|
"devDependencies": {
|
|
74
|
-
"@types/node": "^
|
|
75
|
+
"@types/node": "^26.0.1",
|
|
75
76
|
"@types/react": "^19.1.8",
|
|
76
|
-
"http-server": "^14.1.1",
|
|
77
|
-
"pixelmatch": "^7.1.0",
|
|
78
|
-
"pngjs": "^7.0.0",
|
|
79
77
|
"react": "^19.1.0",
|
|
80
78
|
"shiki": "^4.3.0",
|
|
81
79
|
"tsup": "^8.5.0",
|
|
82
|
-
"typescript": "^
|
|
83
|
-
"vitest": "^
|
|
80
|
+
"typescript": "^6.0.3",
|
|
81
|
+
"vitest": "^4.1.9"
|
|
84
82
|
}
|
|
85
83
|
}
|