likec4 1.2.0 → 1.2.1-next

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": "likec4",
3
- "version": "1.2.0",
3
+ "version": "1.2.1-next",
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:turbo": "run -T turbo run build --filter='likec4' --log-prefix=none --log-order=grouped",
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.2.1",
84
+ "@vitejs/plugin-react": "^4.3.1",
81
85
  "esm-env": "^1.0.0",
82
86
  "nanostores": "^0.10.3",
83
87
  "playwright": "1.44.0",
84
- "vite": "^5.2.11"
88
+ "vite": "5.3.0"
85
89
  },
86
90
  "peerDependencies": {
87
91
  "react": "^18.3.1",
@@ -103,6 +107,7 @@
103
107
  "@likec4/generators": "1.2.0",
104
108
  "@likec4/language-server": "1.2.0",
105
109
  "@likec4/layouts": "1.2.0",
110
+ "@likec4/tsconfig": "0.0.0",
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.13.0",
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.0",
129
- "esbuild-node-externals": "^1.13.0",
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,8 @@
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",
143
+ "ora": "^8.0.1",
137
144
  "p-limit": "^5.0.0",
138
145
  "picocolors": "^1.0.0",
139
146
  "pkg-up": "^5.0.0",
@@ -156,7 +163,7 @@
156
163
  "ufo": "^1.5.3",
157
164
  "vite-plugin-css-injected-by-js": "^3.5.1",
158
165
  "vite-plugin-shadow-style": "^1.1.0",
159
- "vitest": "~1.5.2",
166
+ "vitest": "~1.5.3",
160
167
  "yargs": "^17.7.2"
161
168
  },
162
169
  "packageManager": "yarn@4.3.0"
@@ -1,4 +1,3 @@
1
- import '@mantine/core/styles.css';
2
1
  import type { DiagramView, LikeC4ViewBaseProps } from './types';
3
2
  export type LikeC4BrowserProps<ViewId extends string> = Omit<LikeC4ViewBaseProps<ViewId>, 'viewId' | 'interactive'> & {
4
3
  view: DiagramView<ViewId>;
@@ -1,4 +1,3 @@
1
- import '@mantine/core/styles.css';
2
1
  import type { DiagramView, LikeC4ViewBaseProps } from './types';
3
2
  export type LikeC4ViewElementProps<ViewId extends string> = Omit<LikeC4ViewBaseProps<ViewId>, 'viewId' | 'interactive' | 'overlay'> & {
4
3
  view: DiagramView<ViewId>;