@zenuml/core 3.48.0 → 3.48.1

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": "@zenuml/core",
3
- "version": "3.48.0",
3
+ "version": "3.48.1",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -8,8 +8,7 @@
8
8
  },
9
9
  "files": [
10
10
  "dist/",
11
- "types/",
12
- "src/cli/zenuml.ts"
11
+ "types/"
13
12
  ],
14
13
  "scripts": {
15
14
  "dev": "vite dev --port 4000 --host 0.0.0.0",
@@ -17,9 +16,11 @@
17
16
  "preview": "bun run --bun vite preview --port 4000 --host",
18
17
  "build:site": "bun run --bun vite build",
19
18
  "build:gh-pages": "bun run --bun vite build --mode gh-pages",
20
- "build": "bun run --bun vite build -c vite.config.lib.ts",
21
- "build:release": "RELEASE=1 bun run --bun vite build -c vite.config.lib.ts",
22
- "build:analyze": "RELEASE=1 ANALYZE=1 bun run --bun vite build -c vite.config.lib.ts",
19
+ "build:lib": "bun run --bun vite build -c vite.config.lib.ts",
20
+ "build:cli": "bun run --bun vite build -c vite.config.cli.ts",
21
+ "build": "bun run build:lib && bun run build:cli",
22
+ "build:release": "RELEASE=1 bun run build:lib && RELEASE=1 bun run build:cli",
23
+ "build:analyze": "RELEASE=1 ANALYZE=1 bun run build:lib && RELEASE=1 bun run build:cli",
23
24
  "test": "bun test src test/unit",
24
25
  "pw": "playwright test --reporter=list",
25
26
  "pw:ci": "playwright test",
@@ -53,7 +54,7 @@
53
54
  "worker:deploy:staging": "bun run build:site && bun run --bun wrangler deploy --env staging"
54
55
  },
55
56
  "bin": {
56
- "zenuml": "./src/cli/zenuml.ts"
57
+ "zenuml": "./dist/cli/zenuml.mjs"
57
58
  },
58
59
  "main": "./dist/zenuml.js",
59
60
  "module": "./dist/zenuml.esm.mjs",
@@ -96,6 +97,7 @@
96
97
  "marked": "^4.3.0",
97
98
  "pako": "^2.1.0",
98
99
  "pino": "^8.21.0",
100
+ "playwright-core": "^1.59.1",
99
101
  "react": "^19.2.3",
100
102
  "react-dom": "^19.2.3",
101
103
  "tailwind-merge": "^3.4.0",
@@ -104,7 +106,6 @@
104
106
  "devDependencies": {
105
107
  "@eslint/js": "^9.39.2",
106
108
  "@happy-dom/global-registrator": "^18.0.1",
107
- "@napi-rs/canvas": "^0.1.97",
108
109
  "@playwright/test": "^1.57.0",
109
110
  "@storybook/addon-docs": "^9.1.17",
110
111
  "@storybook/addon-onboarding": "^9.1.17",
@@ -130,7 +131,6 @@
130
131
  "jsdom": "^26.1.0",
131
132
  "less": "^4.5.1",
132
133
  "pixelmatch": "^7.1.0",
133
- "playwright-core": "^1.59.1",
134
134
  "pngjs": "^7.0.0",
135
135
  "postcss": "^8.5.6",
136
136
  "prettier": "3.5.3",
@@ -144,5 +144,8 @@
144
144
  "vite-plugin-svgr": "^4.5.0",
145
145
  "vitest": "^3.2.4",
146
146
  "wrangler": "^4.88"
147
+ },
148
+ "optionalDependencies": {
149
+ "@napi-rs/canvas": "^0.1.97"
147
150
  }
148
151
  }