vizmatic 0.1.21 → 0.1.22
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/index.cjs +1 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -5027,12 +5027,11 @@ function resolveSatori(api) {
|
|
|
5027
5027
|
var satori = resolveSatori(satoriModule);
|
|
5028
5028
|
|
|
5029
5029
|
// src/render.ts
|
|
5030
|
-
var import_meta = {};
|
|
5031
5030
|
var FONT_CACHE_DIR = process.env.VIZMATIC_FONT_DIR ?? (0, import_path.join)(process.env.XDG_CACHE_HOME ?? (0, import_path.join)((0, import_os.homedir)(), ".cache"), "vizmatic", "fonts");
|
|
5032
5031
|
var NETWORK_FALLBACK_DISABLED = process.env.VIZMATIC_DISABLE_NETWORK === "1" || process.env.VIZMATIC_OFFLINE === "1";
|
|
5033
5032
|
function moduleDirectory() {
|
|
5034
5033
|
if (typeof __dirname !== "undefined") return __dirname;
|
|
5035
|
-
return (0, import_path.dirname)((0, import_url.fileURLToPath)(
|
|
5034
|
+
return (0, import_path.dirname)((0, import_url.fileURLToPath)(void 0));
|
|
5036
5035
|
}
|
|
5037
5036
|
function unique(values) {
|
|
5038
5037
|
return [...new Set(values.filter((value) => Boolean(value)))];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vizmatic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
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",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"vizmatic": "dist/cli.js"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
|
-
"build": "tsup src/index.ts --format esm
|
|
58
|
+
"build": "tsup src/index.ts --format esm --dts --target node20 --clean --external react && tsup src/index.ts --format cjs --dts --target node20 --external react --define.import.meta.url undefined && tsup src/cli.ts --format esm --dts --target node20 --external react",
|
|
59
59
|
"prepare": "pnpm build",
|
|
60
60
|
"lint": "pnpm typecheck",
|
|
61
61
|
"typecheck": "tsc --noEmit",
|