@zenuml/core 3.17.1 → 3.17.3
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/.eslintrc.js +1 -0
- package/.git-blame-ignore-revs +6 -0
- package/dist/{StylePanel.c51192c1.js → StylePanel.809b7d51.js} +2 -2
- package/dist/{close.25eee253.js → close.6d80894b.js} +2 -2
- package/dist/{collapse-expanded.ed92e849.js → collapse-expanded.f31767d5.js} +2 -2
- package/dist/{collapse-unexpanded.1fef15cf.js → collapse-unexpanded.f513d5c7.js} +2 -2
- package/dist/{core.04cb35e8.js → core.50a14f5d.js} +106 -63
- package/dist/{debug.886d5b19.js → debug.4f201656.js} +2 -2
- package/dist/{message-arrow.f401bf00.js → message-arrow.f87711a2.js} +2 -2
- package/dist/{non-selected-cycle.62f4a646.js → non-selected-cycle.2a10d904.js} +2 -2
- package/dist/{numbering.f3a940ed.js → numbering.037c146f.js} +2 -2
- package/dist/{privacy.3858ec9b.js → privacy.b0f3a804.js} +2 -2
- package/dist/{selected-cycle.1b3e9379.js → selected-cycle.82f9e202.js} +2 -2
- package/dist/{theme.591bee8e.js → theme.1f312099.js} +2 -2
- package/dist/{tip.8e40fcdd.js → tip.c08ef286.js} +2 -2
- package/dist/zenuml.esm.mjs +2 -2
- package/dist/zenuml.js +12 -12
- package/dist/{zoom-in.268778e5.js → zoom-in.95813303.js} +2 -2
- package/dist/{zoom-out.ec52b08d.js → zoom-out.725ea051.js} +2 -2
- package/package.json +3 -1
- package/vite.config.js +21 -13
|
@@ -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.50a14f5d.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.95813303.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.50a14f5d.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.725ea051.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenuml/core",
|
|
3
|
-
"version": "3.17.
|
|
3
|
+
"version": "3.17.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
"antlr:clear": "rm -rf src/generated-parser/*",
|
|
24
24
|
"antlr:lexer": "java -Duser.dir=$(pwd)/src/g4 -cp $(pwd)/antlr/antlr-4.11.1-complete.jar org.antlr.v4.Tool -o ./src/generated-parser -Dlanguage=JavaScript sequenceLexer.g4",
|
|
25
25
|
"antlr:parser": "java -Duser.dir=$(pwd)/src/g4 -cp $(pwd)/antlr/antlr-4.11.1-complete.jar org.antlr.v4.Tool -o ./src/generated-parser -Dlanguage=JavaScript sequenceParser.g4",
|
|
26
|
+
"eslint": "eslint --fix --ext .js,.ts,.vue src",
|
|
27
|
+
"prettier": "prettier --write --ignore-unknown \"src/**/*.{js,ts,vue,json,htm,html}\"",
|
|
26
28
|
"git:branch:clean:gone": "git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -d",
|
|
27
29
|
"git:branch:clean:merged": "git branch --merged|egrep -v \"(\\*|master|main|dev|skip_branch_name)\" | xargs git branch -d",
|
|
28
30
|
"git:branch:safe-delete": "echo '> git log --graph --left-right --cherry --oneline another-branch...main'",
|
package/vite.config.js
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { resolve } from
|
|
2
|
-
import { defineConfig } from
|
|
3
|
-
import createVuePlugin from
|
|
4
|
-
import { execSync } from
|
|
5
|
-
import svgLoader from
|
|
1
|
+
import { resolve } from "path";
|
|
2
|
+
import { defineConfig } from "vite";
|
|
3
|
+
import createVuePlugin from "@vitejs/plugin-vue";
|
|
4
|
+
import { execSync } from "child_process";
|
|
5
|
+
import svgLoader from "vite-svg-loader";
|
|
6
|
+
|
|
7
|
+
process.env.VITE_APP_GIT_HASH = execSync("git rev-parse --short HEAD")
|
|
8
|
+
.toString()
|
|
9
|
+
.trim();
|
|
10
|
+
process.env.VITE_APP_GIT_BRANCH = execSync("git branch --show-current")
|
|
11
|
+
.toString()
|
|
12
|
+
.trim();
|
|
6
13
|
|
|
7
14
|
function getCypressHtmlFiles() {
|
|
8
|
-
const cypressFolder = resolve(__dirname,
|
|
9
|
-
const strings = execSync(`find ${cypressFolder} -name '*.html'`)
|
|
15
|
+
const cypressFolder = resolve(__dirname, "cy");
|
|
16
|
+
const strings = execSync(`find ${cypressFolder} -name '*.html'`)
|
|
17
|
+
.toString()
|
|
18
|
+
.split("\n");
|
|
10
19
|
// remove empty string
|
|
11
20
|
strings.pop();
|
|
12
21
|
return strings;
|
|
@@ -17,13 +26,13 @@ console.log(cypressHtmlFiles);
|
|
|
17
26
|
export default defineConfig({
|
|
18
27
|
build: {
|
|
19
28
|
rollupOptions: {
|
|
20
|
-
input: [
|
|
29
|
+
input: ["index.html", "embed.html", ...cypressHtmlFiles],
|
|
21
30
|
},
|
|
22
31
|
},
|
|
23
32
|
resolve: {
|
|
24
33
|
alias: {
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
vue: "@vue/compat",
|
|
35
|
+
"@": resolve(__dirname, "./src"),
|
|
27
36
|
},
|
|
28
37
|
},
|
|
29
38
|
plugins: [
|
|
@@ -39,11 +48,10 @@ export default defineConfig({
|
|
|
39
48
|
svgLoader(),
|
|
40
49
|
],
|
|
41
50
|
test: {
|
|
42
|
-
environment:
|
|
51
|
+
environment: "jsdom",
|
|
43
52
|
globals: true,
|
|
44
53
|
deps: {
|
|
45
|
-
inline: [
|
|
54
|
+
inline: ["@vue/test-utils"],
|
|
46
55
|
},
|
|
47
56
|
},
|
|
48
57
|
});
|
|
49
|
-
|