@zenuml/core 3.8.3 → 3.8.5
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 +36 -0
- package/.husky/pre-commit +4 -0
- package/.prettierignore +4 -0
- package/.prettierrc +1 -0
- package/package.json +32 -44
- package/pnpm-lock.yaml +6501 -2705
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
env: {
|
|
3
|
+
browser: true,
|
|
4
|
+
es2021: true,
|
|
5
|
+
node: true,
|
|
6
|
+
},
|
|
7
|
+
extends: [
|
|
8
|
+
"eslint:recommended",
|
|
9
|
+
"plugin:@typescript-eslint/recommended",
|
|
10
|
+
"plugin:vue/vue3-essential",
|
|
11
|
+
"plugin:prettier/recommended",
|
|
12
|
+
],
|
|
13
|
+
overrides: [
|
|
14
|
+
{
|
|
15
|
+
env: {
|
|
16
|
+
node: true,
|
|
17
|
+
},
|
|
18
|
+
files: [".eslintrc.{js,cjs}"],
|
|
19
|
+
parserOptions: {
|
|
20
|
+
sourceType: "script",
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
parserOptions: {
|
|
25
|
+
ecmaVersion: "latest",
|
|
26
|
+
parser: "@typescript-eslint/parser",
|
|
27
|
+
sourceType: "module",
|
|
28
|
+
},
|
|
29
|
+
plugins: ["@typescript-eslint", "vue"],
|
|
30
|
+
rules: {
|
|
31
|
+
"vue/multi-word-component-names": "off",
|
|
32
|
+
"@typescript-eslint/ban-ts-comment": "off",
|
|
33
|
+
"@typescript-eslint/no-var-requires": "off",
|
|
34
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
35
|
+
},
|
|
36
|
+
};
|
package/.prettierignore
ADDED
package/.prettierrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenuml/core",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,27 +27,32 @@
|
|
|
27
27
|
"git:branch:clean:merged": "git branch --merged|egrep -v \"(\\*|master|main|dev|skip_branch_name)\" | xargs git branch -d",
|
|
28
28
|
"git:branch:safe-delete": "echo '> git log --graph --left-right --cherry --oneline another-branch...main'",
|
|
29
29
|
"git:forget": "git rm -r --cached . && git add . && git commit -m \"Forget all ignored files\"",
|
|
30
|
-
"test:specs": "echo \"Error: test:specs is not supported\""
|
|
30
|
+
"test:specs": "echo \"Error: test:specs is not supported\"",
|
|
31
|
+
"prepare": "husky install"
|
|
31
32
|
},
|
|
32
33
|
"main": "./dist/zenuml.js",
|
|
33
34
|
"module": "./dist/zenuml.esm.mjs",
|
|
34
35
|
"types": "./types/index.d.ts",
|
|
36
|
+
"lint-staged": {
|
|
37
|
+
"**/*": "prettier --write --ignore-unknown",
|
|
38
|
+
"*.{js,ts,vue,json,htm,html}": "eslint --fix"
|
|
39
|
+
},
|
|
35
40
|
"dependencies": {
|
|
36
41
|
"@headlessui/tailwindcss": "^0.2.0",
|
|
37
42
|
"@headlessui/vue": "^1.7.16",
|
|
38
|
-
"@types/assert": "^1.5.
|
|
39
|
-
"@types/ramda": "^0.28.
|
|
43
|
+
"@types/assert": "^1.5.6",
|
|
44
|
+
"@types/ramda": "^0.28.20",
|
|
40
45
|
"@vue/compat": "^3.2.45",
|
|
41
46
|
"antlr4": "~4.11.0",
|
|
42
47
|
"color-string": "^1.5.5",
|
|
43
|
-
"dom-to-image-more": "^2.
|
|
48
|
+
"dom-to-image-more": "^2.13.0",
|
|
44
49
|
"file-saver": "^2.0.5",
|
|
45
|
-
"highlight.js": "^10.
|
|
46
|
-
"html-to-image": "^1.
|
|
47
|
-
"lodash": "^4.17.
|
|
50
|
+
"highlight.js": "^10.7.3",
|
|
51
|
+
"html-to-image": "^1.11.3",
|
|
52
|
+
"lodash": "^4.17.21",
|
|
48
53
|
"marked": "^4.0.10",
|
|
49
|
-
"pino": "^8.
|
|
50
|
-
"postcss": "^8.4.
|
|
54
|
+
"pino": "^8.8.0",
|
|
55
|
+
"postcss": "^8.4.20",
|
|
51
56
|
"ramda": "^0.28.0",
|
|
52
57
|
"tailwindcss": "^3.2.4",
|
|
53
58
|
"vue": "^3.2.45",
|
|
@@ -58,58 +63,41 @@
|
|
|
58
63
|
"@babel/preset-env": "^7.20.2",
|
|
59
64
|
"@types/antlr4": "~4.11.2",
|
|
60
65
|
"@types/color-string": "^1.5.2",
|
|
61
|
-
"@types/lodash": "^4.14.
|
|
66
|
+
"@types/lodash": "^4.14.191",
|
|
62
67
|
"@types/node": "latest",
|
|
63
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
64
|
-
"@typescript-eslint/parser": "^
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
|
69
|
+
"@typescript-eslint/parser": "^6.7.4",
|
|
65
70
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
66
71
|
"@vue/compiler-sfc": "^3.2.45",
|
|
67
|
-
"@vue/test-utils": "^2.2.
|
|
72
|
+
"@vue/test-utils": "^2.2.7",
|
|
68
73
|
"autoprefixer": "^10.4.13",
|
|
69
74
|
"babel-eslint": "^10.1.0",
|
|
70
|
-
"concurrently": "^7.
|
|
71
|
-
"cypress": "10",
|
|
75
|
+
"concurrently": "^7.6.0",
|
|
76
|
+
"cypress": "^10.11.0",
|
|
72
77
|
"cypress-plugin-snapshots": "^1.4.4",
|
|
73
78
|
"eslint": "^8.30.0",
|
|
74
|
-
"eslint-
|
|
79
|
+
"eslint-config-prettier": "^9.0.0",
|
|
80
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
81
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
75
82
|
"global-jsdom": "^8.6.0",
|
|
76
|
-
"
|
|
83
|
+
"husky": "^8.0.3",
|
|
84
|
+
"jsdom": "^20.0.3",
|
|
77
85
|
"less": "^4.1.3",
|
|
78
86
|
"less-loader": "^11.1.3",
|
|
87
|
+
"lint-staged": "^14.0.1",
|
|
79
88
|
"node-sass": "^9.0.0",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
89
|
+
"prettier": "^3.0.3",
|
|
90
|
+
"regenerator-runtime": "^0.13.11",
|
|
91
|
+
"sass": "^1.57.0",
|
|
82
92
|
"svg-url-loader": "^6.0.0",
|
|
83
|
-
"terser-webpack-plugin": "^3.0
|
|
93
|
+
"terser-webpack-plugin": "^3.1.0",
|
|
84
94
|
"ts-node": "^10.9.1",
|
|
85
|
-
"typescript": "^4.
|
|
95
|
+
"typescript": "^4.9.4",
|
|
86
96
|
"vite": "^3.2.7",
|
|
87
97
|
"vite-plugin-css-injected-by-js": "^2.2.0",
|
|
88
98
|
"vite-svg-loader": "^4.0.0",
|
|
89
99
|
"vitest": "^0.26.1"
|
|
90
100
|
},
|
|
91
|
-
"eslintConfig": {
|
|
92
|
-
"root": true,
|
|
93
|
-
"env": {
|
|
94
|
-
"node": true
|
|
95
|
-
},
|
|
96
|
-
"extends": [
|
|
97
|
-
"plugin:vue/essential",
|
|
98
|
-
"eslint:recommended"
|
|
99
|
-
],
|
|
100
|
-
"rules": {},
|
|
101
|
-
"parserOptions": {
|
|
102
|
-
"parser": "@typescript-eslint/parser"
|
|
103
|
-
},
|
|
104
|
-
"overrides": [
|
|
105
|
-
{
|
|
106
|
-
"files": [
|
|
107
|
-
"**/__tests__/*.{j,t}s?(x)",
|
|
108
|
-
"**/*.spec.{j,t}s?(x)"
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
101
|
"postcss": {
|
|
114
102
|
"plugins": {
|
|
115
103
|
"tailwindcss": {},
|