From 9bec4dcae002f36aa23231da11cb03a156b40110 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 30 4月 2025 16:24:16 +0800 Subject: [PATCH] 222 --- PipeLineLems/web/package.json | 32 +++++++++++++++++++++++++------- 1 files changed, 25 insertions(+), 7 deletions(-) diff --git a/PipeLineLems/web/package.json b/PipeLineLems/web/package.json index cbc24a6..1654387 100644 --- a/PipeLineLems/web/package.json +++ b/PipeLineLems/web/package.json @@ -1,22 +1,39 @@ { "name": "information-base", - "version": "1.0.0", + "version": "2.3.0", "files": [ "sdk", "packages.json" ], "scripts": { - "menu": "node ./script/autoMenu.js", + "menu": "node ./script/generateMenu.js", + "pull": "bash pull.sh", + "checkout": "bash checkout.sh", "dev": "npm run menu && vite --host", + "docs:dev": "vitepress dev docs", + "docs:build": "vitepress build docs", + "docs:preview": "vitepress preview docs", + "tag": "bash release.sh", + "mac": "cd ./script/ && ./menu && cd ../ && vite --host", "open": "vite --host --open", "build": "node ./script/build.js", + "build:go": "cd app && bash build.sh", "build:all": "npm run menu && vite build", - "build-lib": "vite build --config=vite.lib.config.ts", + "build-lib": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --config=vite.lib.config.ts --mode", + "build:custom": "cross-env NODE_OPTIONS=--max-old-space-size=8192 NODE_TYPE=custom vite build --config=vite.lib.config.ts", + "build:widget": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --config=vite.build.config.ts && node ./script/replace.ts", "widgets": "vite build --config=vite.lib.config.ts", "serve": "vite preview --host --port=8888", "build-serve": "npm run build && npm run serve", "vue-tsc": "vue-tsc --noEmit", - "test": "jest" + "test": "jest", + "publish:prod:ui": "npm run build:widget && cd publish/information-ui && npm publish", + "publish:beta": "node --experimental-json-modules publish.js beta", + "publish:prod": "node --experimental-json-modules publish.js", + "rust": "cd rust && cargo run" + }, + "engines": { + "node": ">=18.0.0" }, "dependencies": { "@antv/g6": "4.8.24", @@ -38,6 +55,7 @@ "axios": "0.24.0", "chalk": "4.1.2", "cross-env": "7.0.3", + "cross-spawn": "7.0.5", "d3": "7.9.0", "d3-hierarchy": "3.1.2", "dayjs": "1.11.10", @@ -68,6 +86,7 @@ "vue-i18n": "9.1.9", "vue-router": "4.0.11", "vue-virtual-scroller": "1.1.2", + "vue3-cookies": "^1.0.6", "vuex": "4.0.2", "vxe-table": "4.6.20", "vxe-table-plugin-element": "3.1.0", @@ -76,7 +95,6 @@ "zip-a-folder": "3.1.7" }, "devDependencies": { - "cross-spawn": "7.0.5", "@arco-plugins/vite-vue": "1.4.5", "@babel/core": "7.26.0", "@babel/preset-typescript": "7.16.7", @@ -106,7 +124,7 @@ "jest": "27.5.1", "kill-port": "^2.0.1", "less": "^4.2.2", - "lmes-create-widget": "1.0.6", + "lmes-create-widget": "^1.0.2", "postcss": "8.4.38", "postcss-prefix-selector": "1.16.0", "rollup-plugin-copy": "3.5.0", @@ -132,4 +150,4 @@ "vitepress": "1.0.1", "vue-tsc": "^2.1.10" } -} +} \ No newline at end of file -- Gitblit v1.9.3