likec4 1.2.0 → 1.2.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/dist/__app__/src/lib/webcomponent.mjs +1275 -1896
- package/dist/__app__/src/{main-DtZ0eEaw.js → main-yVRq2dIl.js} +1281 -1905
- package/dist/__app__/src/main.js +1 -1
- package/dist/__app__/src/{view._viewId.d2.lazy-C8c-Acn5.js → view._viewId.d2.lazy-CaQPy48H.js} +2 -2
- package/dist/__app__/src/{view._viewId.dot.lazy-BpvEbzHq.js → view._viewId.dot.lazy-6H3L1GpV.js} +2 -2
- package/dist/__app__/src/{view._viewId.mmd.lazy-Bq7RWCKh.js → view._viewId.mmd.lazy-By6xPESQ.js} +2 -2
- package/dist/__app__/src/{view._viewId.react-legacy.lazy-D-bQPgIi.js → view._viewId.react-legacy.lazy-Cxs6F284.js} +901 -1299
- package/dist/__app__/src/{view_viewId_.css-BFbcQw78.js → view_viewId_.css-LQsQcFpp.js} +5 -9
- package/dist/cli/index.mjs +11 -11
- package/package.json +22 -16
- package/react/LikeC4Browser.d.ts +0 -1
- package/react/LikeC4ViewElement.d.ts +0 -1
- package/react/index.mjs +164 -295
- package/react/styles.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "likec4",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://likec4.dev",
|
|
6
6
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -51,11 +51,15 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
|
-
"build
|
|
54
|
+
"turbo-build": "run -T turbo run build --filter='likec4' --log-prefix=none --log-order=grouped",
|
|
55
55
|
"typecheck:app": "tsc --noEmit -p ./app/tsconfig.json",
|
|
56
56
|
"typecheck:cli": "tsc --noEmit -p ./tsconfig.json",
|
|
57
57
|
"typecheck": "run 'typecheck:cli' && run 'typecheck:app'",
|
|
58
|
-
"build": "tsx scripts/build.ts",
|
|
58
|
+
"build:cli": "tsx scripts/build-cli.ts",
|
|
59
|
+
"build:app": "tsx scripts/bundle-app.ts",
|
|
60
|
+
"build:react": "tsx scripts/bundle-react.ts",
|
|
61
|
+
"build:webcomponent": "tsx scripts/bundle-webcomponent.ts",
|
|
62
|
+
"build": "run-p --print-label 'build:*'",
|
|
59
63
|
"prepack": "tsx scripts/prepack.ts",
|
|
60
64
|
"postpack": "tsx scripts/postpack.ts",
|
|
61
65
|
"lint": "run -T eslint src/ --fix",
|
|
@@ -77,11 +81,11 @@
|
|
|
77
81
|
},
|
|
78
82
|
"dependencies": {
|
|
79
83
|
"@hpcc-js/wasm": "^2.16.2",
|
|
80
|
-
"@vitejs/plugin-react": "^4.
|
|
84
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
81
85
|
"esm-env": "^1.0.0",
|
|
82
86
|
"nanostores": "^0.10.3",
|
|
83
|
-
"playwright": "1.44.
|
|
84
|
-
"vite": "
|
|
87
|
+
"playwright": "1.44.1",
|
|
88
|
+
"vite": "5.3.0"
|
|
85
89
|
},
|
|
86
90
|
"peerDependencies": {
|
|
87
91
|
"react": "^18.3.1",
|
|
@@ -97,12 +101,13 @@
|
|
|
97
101
|
},
|
|
98
102
|
"devDependencies": {
|
|
99
103
|
"@fontsource/ibm-plex-sans": "^5.0.19",
|
|
100
|
-
"@likec4/core": "1.2.
|
|
101
|
-
"@likec4/diagram": "1.2.
|
|
102
|
-
"@likec4/diagrams": "1.2.
|
|
103
|
-
"@likec4/generators": "1.2.
|
|
104
|
-
"@likec4/language-server": "1.2.
|
|
105
|
-
"@likec4/layouts": "1.2.
|
|
104
|
+
"@likec4/core": "1.2.1",
|
|
105
|
+
"@likec4/diagram": "1.2.1",
|
|
106
|
+
"@likec4/diagrams": "1.2.1",
|
|
107
|
+
"@likec4/generators": "1.2.1",
|
|
108
|
+
"@likec4/language-server": "1.2.1",
|
|
109
|
+
"@likec4/layouts": "1.2.1",
|
|
110
|
+
"@likec4/tsconfig": "1.2.1",
|
|
106
111
|
"@mantine/core": "^7.10.1",
|
|
107
112
|
"@mantine/hooks": "^7.10.1",
|
|
108
113
|
"@mantine/vanilla-extract": "^7.10.1",
|
|
@@ -112,7 +117,7 @@
|
|
|
112
117
|
"@tanstack/react-router": "^1.31.19",
|
|
113
118
|
"@tanstack/router-vite-plugin": "^1.31.18",
|
|
114
119
|
"@types/mermaid": "^9.2.0",
|
|
115
|
-
"@types/node": "^20.
|
|
120
|
+
"@types/node": "^20.14.2",
|
|
116
121
|
"@types/prop-types": "^15.7.11",
|
|
117
122
|
"@types/react": "18.3.3",
|
|
118
123
|
"@types/react-dom": "18.3.0",
|
|
@@ -125,8 +130,8 @@
|
|
|
125
130
|
"classnames": "^2.3.2",
|
|
126
131
|
"clsx": "^2.1.1",
|
|
127
132
|
"consola": "^3.2.3",
|
|
128
|
-
"esbuild": "^0.21.
|
|
129
|
-
"esbuild-node-externals": "^1.13.
|
|
133
|
+
"esbuild": "^0.21.5",
|
|
134
|
+
"esbuild-node-externals": "^1.13.1",
|
|
130
135
|
"execa": "^9.1.0",
|
|
131
136
|
"fast-equals": "^5.0.1",
|
|
132
137
|
"framer-motion": "^11.2.2",
|
|
@@ -134,6 +139,7 @@
|
|
|
134
139
|
"html-to-image": "^1.11.11",
|
|
135
140
|
"json5": "^2.2.3",
|
|
136
141
|
"mkdirp": "^3.0.1",
|
|
142
|
+
"npm-run-all2": "^6.1.2",
|
|
137
143
|
"p-limit": "^5.0.0",
|
|
138
144
|
"picocolors": "^1.0.0",
|
|
139
145
|
"pkg-up": "^5.0.0",
|
|
@@ -156,7 +162,7 @@
|
|
|
156
162
|
"ufo": "^1.5.3",
|
|
157
163
|
"vite-plugin-css-injected-by-js": "^3.5.1",
|
|
158
164
|
"vite-plugin-shadow-style": "^1.1.0",
|
|
159
|
-
"vitest": "~1.5.
|
|
165
|
+
"vitest": "~1.5.3",
|
|
160
166
|
"yargs": "^17.7.2"
|
|
161
167
|
},
|
|
162
168
|
"packageManager": "yarn@4.3.0"
|
package/react/LikeC4Browser.d.ts
CHANGED