@zenuml/core 3.41.2 → 3.41.4
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/CLAUDE.md +21 -14
- package/bun.lock +18 -2
- package/bunfig.toml +52 -0
- package/dist/zenuml.esm.mjs +10230 -10216
- package/dist/zenuml.js +460 -459
- package/docs/parser/PARSER_IMPROVEMENTS_CC.md +425 -0
- package/docs/parser/grammar_review_gemini.md +116 -0
- package/package.json +6 -4
- package/test-setup.ts +114 -0
- package/tsconfig.test.json +9 -0
- package/vite.config.ts +15 -0
- package/vitest.config.ts +0 -20
package/vite.config.ts
CHANGED
|
@@ -53,4 +53,19 @@ export default defineConfig(({ mode }) => ({
|
|
|
53
53
|
},
|
|
54
54
|
},
|
|
55
55
|
},
|
|
56
|
+
test: {
|
|
57
|
+
// used by vitest: https://vitest.dev/guide/#configuring-vitest
|
|
58
|
+
// need this to run vitest in webstorm ide. vitest has better integration than bun
|
|
59
|
+
environment: "jsdom",
|
|
60
|
+
reportOnFailure: true,
|
|
61
|
+
globals: true,
|
|
62
|
+
coverage: {
|
|
63
|
+
provider: "v8", // or 'v8'
|
|
64
|
+
},
|
|
65
|
+
setupFiles: resolve(__dirname, "test/setup.ts"),
|
|
66
|
+
exclude: [
|
|
67
|
+
"node_modules/**",
|
|
68
|
+
"tests/**", // Exclude Playwright tests
|
|
69
|
+
],
|
|
70
|
+
},
|
|
56
71
|
}));
|
package/vitest.config.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vitest/config";
|
|
2
|
-
import { resolve } from "path";
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
test: {
|
|
6
|
-
environment: "jsdom",
|
|
7
|
-
globals: true,
|
|
8
|
-
setupFiles: resolve(__dirname, "test/setup.ts"),
|
|
9
|
-
include: [
|
|
10
|
-
"src/**/*.{test,spec}.{js,ts,jsx,tsx}",
|
|
11
|
-
"test/**/*.{test,spec}.{js,ts,jsx,tsx}",
|
|
12
|
-
],
|
|
13
|
-
exclude: [
|
|
14
|
-
"node_modules/**",
|
|
15
|
-
"tests/**", // Exclude Playwright tests
|
|
16
|
-
"**/tests/**/*.spec.ts", // Exclude Playwright test files specifically
|
|
17
|
-
"**/tests/**/*.spec.js", // Exclude Playwright test files specifically
|
|
18
|
-
],
|
|
19
|
-
},
|
|
20
|
-
});
|