@zenuml/core 3.25.4 → 3.27.0
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/{StylePanel.80c1c2b9.js → StylePanel.967a4ee3.js} +2 -2
- package/dist/{close.e96e9560.js → close.6f10c265.js} +2 -2
- package/dist/{collapse-expanded.3b6a01f8.js → collapse-expanded.fc9c7fb5.js} +2 -2
- package/dist/{collapse-unexpanded.08266a31.js → collapse-unexpanded.1e082b49.js} +2 -2
- package/dist/{core.16f7d885.js → core.9195c008.js} +1819 -1836
- package/dist/{debug.0f3286b6.js → debug.05cb4326.js} +2 -2
- package/dist/{message-arrow.5311705a.js → message-arrow.50b2e864.js} +2 -2
- package/dist/{non-selected-cycle.6df3fb3b.js → non-selected-cycle.debda68b.js} +2 -2
- package/dist/{numbering.2c32b04b.js → numbering.20f80eb6.js} +2 -2
- package/dist/{privacy.8de9b78f.js → privacy.0084feb0.js} +2 -2
- package/dist/{selected-cycle.6e69b030.js → selected-cycle.c51e22ad.js} +2 -2
- package/dist/{theme.92c8100b.js → theme.564f39b1.js} +2 -2
- package/dist/{tip.2318492b.js → tip.3ee6bad7.js} +2 -2
- package/dist/zenuml.esm.mjs +2 -2
- package/dist/zenuml.js +423 -423
- package/dist/{zoom-in.9db8778e.js → zoom-in.0f34cde4.js} +2 -2
- package/dist/{zoom-out.57ea6bf4.js → zoom-out.547dc3be.js} +2 -2
- package/index.html +1 -1
- package/package.json +1 -1
- package/vite.config.js +9 -0
- package/vite.config.lib.js +8 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as c, c as e, a as o } from "./core.
|
|
1
|
+
import { o as c, c as e, a as o } from "./core.9195c008.js";
|
|
2
2
|
const s = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
viewBox: "0 0 1024 1024"
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
_ as default,
|
|
21
21
|
l as render
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=zoom-in.
|
|
23
|
+
//# sourceMappingURL=zoom-in.0f34cde4.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as t, c, a as o } from "./core.
|
|
1
|
+
import { o as t, c, a as o } from "./core.9195c008.js";
|
|
2
2
|
const e = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
viewBox: "0 0 1024 1024"
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
h as default,
|
|
21
21
|
s as render
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=zoom-out.
|
|
23
|
+
//# sourceMappingURL=zoom-out.547dc3be.js.map
|
package/index.html
CHANGED
package/package.json
CHANGED
package/vite.config.js
CHANGED
|
@@ -3,6 +3,7 @@ import { defineConfig } from "vite";
|
|
|
3
3
|
import createVuePlugin from "@vitejs/plugin-vue";
|
|
4
4
|
import { execSync } from "child_process";
|
|
5
5
|
import svgLoader from "vite-svg-loader";
|
|
6
|
+
import { readFileSync } from "fs";
|
|
6
7
|
|
|
7
8
|
process.env.VITE_APP_GIT_HASH = process.env.DOCKER
|
|
8
9
|
? ""
|
|
@@ -11,6 +12,11 @@ process.env.VITE_APP_GIT_BRANCH = process.env.DOCKER
|
|
|
11
12
|
? ""
|
|
12
13
|
: execSync("git branch --show-current").toString().trim();
|
|
13
14
|
|
|
15
|
+
// Read version from package.json
|
|
16
|
+
const packageJson = JSON.parse(
|
|
17
|
+
readFileSync(resolve(__dirname, "package.json"), "utf-8"),
|
|
18
|
+
);
|
|
19
|
+
|
|
14
20
|
function getCypressHtmlFiles() {
|
|
15
21
|
const cypressFolder = resolve(__dirname, "cy");
|
|
16
22
|
const strings = execSync(`find ${cypressFolder} -name '*.html'`)
|
|
@@ -49,6 +55,9 @@ export default defineConfig(({ mode }) => ({
|
|
|
49
55
|
}),
|
|
50
56
|
svgLoader(),
|
|
51
57
|
],
|
|
58
|
+
define: {
|
|
59
|
+
"import.meta.env.PACKAGE_VERSION": JSON.stringify(packageJson.version),
|
|
60
|
+
},
|
|
52
61
|
test: {
|
|
53
62
|
// used by vitest: https://vitest.dev/guide/#configuring-vitest
|
|
54
63
|
environment: "jsdom",
|
package/vite.config.lib.js
CHANGED
|
@@ -4,6 +4,12 @@ import { defineConfig } from "vite";
|
|
|
4
4
|
import createVuePlugin from "@vitejs/plugin-vue";
|
|
5
5
|
import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js";
|
|
6
6
|
import svgLoader from "vite-svg-loader";
|
|
7
|
+
import { readFileSync } from "fs";
|
|
8
|
+
|
|
9
|
+
// Read version from package.json
|
|
10
|
+
const packageJson = JSON.parse(
|
|
11
|
+
readFileSync(resolve(__dirname, "package.json"), "utf-8"),
|
|
12
|
+
);
|
|
7
13
|
|
|
8
14
|
export default defineConfig({
|
|
9
15
|
build: {
|
|
@@ -57,5 +63,7 @@ export default defineConfig({
|
|
|
57
63
|
],
|
|
58
64
|
define: {
|
|
59
65
|
"process.env.NODE_ENV": '"production"',
|
|
66
|
+
// Replace version placeholder during build
|
|
67
|
+
"import.meta.env.PACKAGE_VERSION": JSON.stringify(packageJson.version),
|
|
60
68
|
},
|
|
61
69
|
});
|