@zenuml/core 3.8.4 → 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 +15 -27
- package/pnpm-lock.yaml +6249 -2558
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,11 +27,16 @@
|
|
|
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",
|
|
@@ -60,8 +65,8 @@
|
|
|
60
65
|
"@types/color-string": "^1.5.2",
|
|
61
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
72
|
"@vue/test-utils": "^2.2.7",
|
|
@@ -71,12 +76,17 @@
|
|
|
71
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",
|
|
83
|
+
"husky": "^8.0.3",
|
|
76
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",
|
|
89
|
+
"prettier": "^3.0.3",
|
|
80
90
|
"regenerator-runtime": "^0.13.11",
|
|
81
91
|
"sass": "^1.57.0",
|
|
82
92
|
"svg-url-loader": "^6.0.0",
|
|
@@ -88,28 +98,6 @@
|
|
|
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": {},
|