@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 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
+ };
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ pnpm exec lint-staged
@@ -0,0 +1,4 @@
1
+ node_modules
2
+ dist
3
+ generated-parser
4
+ pnpm-lcok.yaml
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",
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.4",
39
- "@types/ramda": "^0.28.0",
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.9.5",
48
+ "dom-to-image-more": "^2.13.0",
44
49
  "file-saver": "^2.0.5",
45
- "highlight.js": "^10.1.1",
46
- "html-to-image": "^1.9.0",
47
- "lodash": "^4.17.20",
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.7.0",
50
- "postcss": "^8.4.19",
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.168",
66
+ "@types/lodash": "^4.14.191",
62
67
  "@types/node": "latest",
63
- "@typescript-eslint/eslint-plugin": "^5.46.1",
64
- "@typescript-eslint/parser": "^5.46.1",
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.6",
72
+ "@vue/test-utils": "^2.2.7",
68
73
  "autoprefixer": "^10.4.13",
69
74
  "babel-eslint": "^10.1.0",
70
- "concurrently": "^7.5.0",
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-plugin-vue": "^8.7.1",
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
- "jsdom": "^20.0.2",
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
- "regenerator-runtime": "^0.13.7",
81
- "sass": "^1.26.5",
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.6",
93
+ "terser-webpack-plugin": "^3.1.0",
84
94
  "ts-node": "^10.9.1",
85
- "typescript": "^4.7.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": {},