@syhr/sy-graph 1.0.9-beta.8 → 1.1.0-rc.1

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/package.json CHANGED
@@ -1,178 +1,181 @@
1
- {
2
- "name": "@syhr/sy-graph",
3
- "version": "1.0.9-beta.8",
4
- "author": "syhr <aiops.sieyuan@gmail.com>",
5
- "description": "Planar graphic config tool based on @meta2d.",
6
- "license": "MIT",
7
- "type": "module",
8
- "main": "./lib/sy-graph.cjs",
9
- "module": "./lib/sy-graph.mjs",
10
- "unpkg": "./lib/sy-graph.umd.js",
11
- "types": "./lib/sy-graph.d.ts",
12
- "exports": {
13
- "./package.json": "./package.json",
14
- ".": {
15
- "types": "./lib/sy-graph.d.ts",
16
- "import": "./lib/sy-graph.mjs",
17
- "require": "./lib/sy-graph.umd.js",
18
- "browser": "./lib/sy-graph.umd.js"
19
- },
20
- "./style.css": {
21
- "import": "./lib/graph.css",
22
- "require": "./lib/graph.css"
23
- },
24
- "./sy-graph.cjs": {
25
- "types": "./lib/sy-graph.d.ts",
26
- "require": "./lib/sy-graph.cjs"
27
- }
28
- },
29
- "homepage": "https://github.com/syhr/sy-graph",
30
- "repository": {
31
- "type": "git",
32
- "url": "https://github.com/syhr/sy-graph.git"
33
- },
34
- "scripts": {
35
- "dev": "vite",
36
- "dev:qiankun": "vite --mode qiankun",
37
- "dev:microapp": "vite --mode microapp",
38
- "build": "vite build",
39
- "build:lib": "vite build --config vite.config.lib.js",
40
- "build:threed": "node build-threed.cjs",
41
- "build:qiankun": "vite build --mode qiankun",
42
- "build:microapp": "vite build --mode microapp",
43
- "publish:threed": "node publish-threed.cjs",
44
- "preview": "vite preview",
45
- "preview:lib": "vite preview --config vite.config.lib.js",
46
- "lint": "eslint --ext .vue,.js,.jsx,.cjs,.mjs --fix src",
47
- "release:first": "standard-version -f && pnpm changelog:replace",
48
- "release:major": "standard-version -r major && pnpm changelog:replace",
49
- "release:minor": "standard-version -r minor && pnpm changelog:replace",
50
- "release:patch": "standard-version -r patch && pnpm changelog:replace",
51
- "changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s && pnpm changelog:replace",
52
- "changelog:rebuild": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && pnpm changelog:replace",
53
- "changelog:replace": "replace 'https://10.17.196.142:10022/hmi-dev/cbb/cockpit-editor/commit/' '' CHANGELOG.md"
54
- },
55
- "dependencies": {
56
- "@element-plus/icons-vue": "~2.3.2",
57
- "@ffmpeg/ffmpeg": "~0.12.15",
58
- "@ffmpeg/util": "~0.12.2",
59
- "@meta2d/activity-diagram": "~1.0.1",
60
- "@meta2d/chart-diagram": "~1.0.22",
61
- "@meta2d/class-diagram": "~1.0.2",
62
- "@meta2d/core": "~1.1.20",
63
- "@meta2d/flow-diagram": "~1.0.2",
64
- "@meta2d/form-diagram": "~1.0.29",
65
- "@meta2d/fta-diagram": "~1.0.1",
66
- "@meta2d/le5le-charts": "~1.0.6",
67
- "@meta2d/plugin-mind-collapse": "~1.0.1",
68
- "@meta2d/plugin-mind-core": "~1.0.4",
69
- "@meta2d/sequence-diagram": "~1.0.1",
70
- "@meta2d/svg": "~1.0.7",
71
- "@meta2d/utils": "1.0.3",
72
- "@micro-zoe/micro-app": "1.0.0-rc.30",
73
- "axios": "~1.16.0",
74
- "comlink": "~4.4.2",
75
- "crypto-js": "~4.2.0",
76
- "dayjs": "~1.11.19",
77
- "dxf": "~5.3.1",
78
- "dxf-parser": "~1.1.2",
79
- "element-plus": "~2.12.0",
80
- "fabric": "~4.6.0",
81
- "file-saver": "~2.0.5",
82
- "flv.js": "~1.6.2",
83
- "gm-crypto": "~0.1.12",
84
- "jszip": "~3.10.1",
85
- "localforage": "~1.10.0",
86
- "lodash-es": "~4.18.1",
87
- "mitt": "~3.0.1",
88
- "monaco-editor": "~0.55.1",
89
- "nprogress": "~0.2.0",
90
- "pinia": "~3.0.4",
91
- "qs": "~6.15.1",
92
- "sm-crypto": "~0.4.0",
93
- "three": "~0.180.0",
94
- "three-edit-cores": "~0.0.16",
95
- "vue": "~3.5.33",
96
- "vue-draggable-plus": "~0.6.1",
97
- "vue-router": "~4.6.4",
98
- "vue3-colorpicker": "~2.3.0"
99
- },
100
- "devDependencies": {
101
- "@babel/core": "~7.29.0",
102
- "@babel/eslint-parser": "~7.28.6",
103
- "@eslint/js": "~9.39.4",
104
- "@iconify-json/ant-design": "~1.2.5",
105
- "@iconify-json/ep": "~1.2.4",
106
- "@iconify-json/tdesign": "~1.2.12",
107
- "@iconify/utils": "~3.1.1",
108
- "@oxc-parser/binding-win32-x64-msvc": "~0.128.0",
109
- "@unocss/preset-rem-to-px": "~66.6.8",
110
- "@vitejs/plugin-basic-ssl": "~2.3.0",
111
- "@vitejs/plugin-vue": "~5.2.4",
112
- "@vitejs/plugin-vue-jsx": "~4.2.0",
113
- "@vue/eslint-config-prettier": "~10.2.0",
114
- "autoprefixer": "~10.5.0",
115
- "conventional-changelog-cli": "~5.0.0",
116
- "dotenv": "~16.5.0",
117
- "eslint": "~9.39.4",
118
- "eslint-config-prettier": "~10.1.8",
119
- "eslint-plugin-prettier": "~5.5.5",
120
- "eslint-plugin-vue": "~10.8.0",
121
- "glob": "~13.0.6",
122
- "globals": "~17.6.0",
123
- "picocolors": "~1.1.1",
124
- "postcss": "~8.5.14",
125
- "postcss-px-to-viewport-8-plugin": "~1.2.5",
126
- "replace": "~1.2.2",
127
- "sass": "~1.79.6",
128
- "standard-version": "~9.5.0",
129
- "terser": "~5.46.2",
130
- "unocss": "~66.6.8",
131
- "unplugin-auto-import": "~19.3.0",
132
- "unplugin-element-plus": "~0.11.2",
133
- "unplugin-vue-components": "~28.8.0",
134
- "unplugin-vue-macros": "~2.14.5",
135
- "vite": "~5.4.21",
136
- "vite-plugin-css-injected-by-js": "~3.5.2",
137
- "vite-plugin-eslint": "~1.8.1",
138
- "vite-plugin-lib-inject-css": "~2.2.2",
139
- "vite-plugin-qiankun": "~1.0.15"
140
- },
141
- "peerDependencies": {
142
- "element-plus": "~2.10.7",
143
- "vue": "~3.5.18"
144
- },
145
- "files": [
146
- "lib",
147
- "package.json",
148
- "CHANGELOG.md",
149
- "README.md"
150
- ],
151
- "keywords": [
152
- "vue3",
153
- "meta2d",
154
- "graph",
155
- "canvas",
156
- "editor",
157
- "diagram",
158
- "sy-graph"
159
- ],
160
- "browserslist": [
161
- "> 1%",
162
- "last 2 versions",
163
- "not dead"
164
- ],
165
- "publishConfig": {
166
- "access": "public",
167
- "registry": "https://registry.npmjs.org/",
168
- "registry_nexus": "http://10.17.196.142:8081/#browse/browse:sieyuan_npm_hosted"
169
- },
170
- "standard-version": {
171
- "skip": {
172
- "tag": true
173
- },
174
- "scripts": {
175
- "postchangelog": "replace 'https://github.com/syhr/sy-graph/commit/' '' CHANGELOG.md"
176
- }
177
- }
178
- }
1
+ {
2
+ "name": "@syhr/sy-graph",
3
+ "version": "1.1.0-rc.1",
4
+ "author": "syhr <aiops.sieyuan@gmail.com>",
5
+ "description": "Planar graphic config tool based on @meta2d.",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "homepage": "https://github.com/syhr/sy-graph",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/syhr/sy-graph.git"
12
+ },
13
+ "scripts": {
14
+ "dev": "vite",
15
+ "dev:qiankun": "vite --mode qiankun",
16
+ "dev:microapp": "vite --mode microapp",
17
+ "build": "vite build",
18
+ "build:node": "node --max-old-space-size=8192 node_modules/vite/bin/vite build",
19
+ "build:graph": "vite build --config vite.config.graph.js",
20
+ "build:three": "vite build --config vite.config.three.js",
21
+ "build:qiankun": "vite build --mode qiankun",
22
+ "build:microapp": "vite build --mode microapp",
23
+ "preview": "vite preview",
24
+ "preview:graph": "vite preview --config vite.config.graph.js",
25
+ "preview:three": "vite preview --config vite.config.three.js",
26
+ "publish:graph": "node scripts/publish-graph.cjs",
27
+ "publish:three": "node scripts/publish-threed.cjs",
28
+ "lint": "eslint --ext .vue,.js,.jsx,.cjs,.mjs --fix src",
29
+ "release:first": "standard-version -f && pnpm changelog:replace",
30
+ "release:major": "standard-version -r major && pnpm changelog:replace",
31
+ "release:minor": "standard-version -r minor && pnpm changelog:replace",
32
+ "release:patch": "standard-version -r patch && pnpm changelog:replace",
33
+ "changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s && pnpm changelog:replace",
34
+ "changelog:rebuild": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && pnpm changelog:replace",
35
+ "changelog:replace": "replace 'https://10.17.196.142:10022/hmi-dev/cbb/cockpit-editor/commit/' '' CHANGELOG.md"
36
+ },
37
+ "dependencies": {
38
+ "@element-plus/icons-vue": "~2.3.2",
39
+ "@ffmpeg/ffmpeg": "~0.12.15",
40
+ "@ffmpeg/util": "~0.12.2",
41
+ "@meta2d/activity-diagram": "~1.0.1",
42
+ "@meta2d/chart-diagram": "~1.0.22",
43
+ "@meta2d/class-diagram": "~1.0.2",
44
+ "@meta2d/core": "~1.1.20",
45
+ "@meta2d/flow-diagram": "~1.0.2",
46
+ "@meta2d/form-diagram": "~1.0.29",
47
+ "@meta2d/fta-diagram": "~1.0.1",
48
+ "@meta2d/le5le-charts": "~1.0.6",
49
+ "@meta2d/plugin-mind-collapse": "~1.0.1",
50
+ "@meta2d/plugin-mind-core": "~1.0.4",
51
+ "@meta2d/sequence-diagram": "~1.0.1",
52
+ "@meta2d/svg": "~1.0.7",
53
+ "@meta2d/utils": "1.0.3",
54
+ "@micro-zoe/micro-app": "1.0.0-rc.30",
55
+ "axios": "~1.16.0",
56
+ "comlink": "~4.4.2",
57
+ "crypto-js": "~4.2.0",
58
+ "dayjs": "~1.11.19",
59
+ "dxf": "~5.3.1",
60
+ "dxf-parser": "~1.1.2",
61
+ "element-plus": "~2.12.0",
62
+ "fabric": "~4.6.0",
63
+ "file-saver": "~2.0.5",
64
+ "flv.js": "~1.6.2",
65
+ "gm-crypto": "~0.1.12",
66
+ "jszip": "~3.10.1",
67
+ "localforage": "~1.10.0",
68
+ "lodash-es": "~4.18.1",
69
+ "mitt": "~3.0.1",
70
+ "monaco-editor": "~0.55.1",
71
+ "nprogress": "~0.2.0",
72
+ "pinia": "~3.0.4",
73
+ "qs": "~6.15.1",
74
+ "sm-crypto": "~0.4.0",
75
+ "three": "~0.184.0",
76
+ "three-edit-cores": "~0.0.16",
77
+ "vue": "~3.5.34",
78
+ "vue-draggable-plus": "~0.6.1",
79
+ "vue-router": "~4.6.4",
80
+ "vue3-colorpicker": "~2.3.0"
81
+ },
82
+ "devDependencies": {
83
+ "@babel/core": "~7.29.0",
84
+ "@babel/eslint-parser": "~7.28.6",
85
+ "@eslint/js": "~9.39.4",
86
+ "@iconify-json/ant-design": "~1.2.5",
87
+ "@iconify-json/ep": "~1.2.4",
88
+ "@iconify-json/tdesign": "~1.2.12",
89
+ "@iconify/utils": "~3.1.3",
90
+ "@oxc-parser/binding-win32-x64-msvc": "~0.130.0",
91
+ "@unocss/preset-rem-to-px": "~66.6.8",
92
+ "@vitejs/plugin-basic-ssl": "~2.3.0",
93
+ "@vitejs/plugin-vue": "~5.2.4",
94
+ "@vitejs/plugin-vue-jsx": "~4.2.0",
95
+ "@vue/eslint-config-prettier": "~10.2.0",
96
+ "autoprefixer": "~10.5.0",
97
+ "conventional-changelog-cli": "~5.0.0",
98
+ "dotenv": "~16.5.0",
99
+ "eslint": "~9.39.4",
100
+ "eslint-config-prettier": "~10.1.8",
101
+ "eslint-plugin-prettier": "~5.5.5",
102
+ "eslint-plugin-vue": "~10.8.0",
103
+ "glob": "~13.0.6",
104
+ "globals": "~17.6.0",
105
+ "picocolors": "~1.1.1",
106
+ "postcss": "~8.5.14",
107
+ "postcss-px-to-viewport-8-plugin": "~1.2.5",
108
+ "replace": "~1.2.2",
109
+ "sass": "~1.79.6",
110
+ "standard-version": "~9.5.0",
111
+ "terser": "~5.47.1",
112
+ "unocss": "~66.6.8",
113
+ "unplugin-auto-import": "~19.3.0",
114
+ "unplugin-element-plus": "~0.11.2",
115
+ "unplugin-vue-components": "~28.8.0",
116
+ "unplugin-vue-macros": "~2.14.5",
117
+ "vite": "~5.4.21",
118
+ "vite-plugin-css-injected-by-js": "~3.5.2",
119
+ "vite-plugin-eslint": "~1.8.1",
120
+ "vite-plugin-lib-inject-css": "~2.2.2",
121
+ "vite-plugin-qiankun": "~1.0.15"
122
+ },
123
+ "peerDependencies": {
124
+ "element-plus": "~2.12.0",
125
+ "vue": "~3.5.34"
126
+ },
127
+ "files": [
128
+ "dist-graph",
129
+ "package.json",
130
+ "CHANGELOG.md",
131
+ "README.md"
132
+ ],
133
+ "keywords": [
134
+ "vue3",
135
+ "meta2d",
136
+ "graph",
137
+ "canvas",
138
+ "editor",
139
+ "diagram",
140
+ "sy-graph"
141
+ ],
142
+ "browserslist": [
143
+ "> 1%",
144
+ "last 2 versions",
145
+ "not dead"
146
+ ],
147
+ "publishConfig": {
148
+ "access": "public",
149
+ "registry": "https://registry.npmjs.org/",
150
+ "registry_nexus": "http://10.17.196.142:8081/#browse/browse:sieyuan_npm_hosted"
151
+ },
152
+ "standard-version": {
153
+ "skip": {
154
+ "tag": true
155
+ },
156
+ "scripts": {
157
+ "postchangelog": "replace 'https://github.com/syhr/sy-graph/commit/' '' CHANGELOG.md"
158
+ }
159
+ },
160
+ "main": "./dist-graph/sy-graph.cjs",
161
+ "module": "./dist-graph/sy-graph.mjs",
162
+ "unpkg": "./dist-graph/sy-graph.umd.js",
163
+ "types": "./dist-graph/sy-graph.d.ts",
164
+ "exports": {
165
+ "./package.json": "./package.json",
166
+ ".": {
167
+ "types": "./dist-graph/sy-graph.d.ts",
168
+ "import": "./dist-graph/sy-graph.mjs",
169
+ "require": "./dist-graph/sy-graph.umd.js",
170
+ "browser": "./dist-graph/sy-graph.umd.js"
171
+ },
172
+ "./style.css": {
173
+ "import": "./dist-graph/sy-graph.css",
174
+ "require": "./dist-graph/sy-graph.css"
175
+ },
176
+ "./sy-graph.cjs": {
177
+ "types": "./dist-graph/sy-graph.d.ts",
178
+ "require": "./dist-graph/sy-graph.cjs"
179
+ }
180
+ }
181
+ }
package/readme.text CHANGED
@@ -1,4 +1,4 @@
1
- 1. 打包平面组态 npm run build:lib
2
- 2. 推送平面组态包直接运行 npm publish
3
- 3. 打包三维组态 npm run build:threed
4
- 4. 推送三维组态包运行 npm run publish:threed
1
+ 1. 打包平面组态 npm run build:lib
2
+ 2. 推送平面组态包直接运行 npm publish
3
+ 3. 打包三维组态 npm run build:three
4
+ 4. 推送三维组态包运行 npm run publish:three