chore: 更新依赖

This commit is contained in:
roymondchen 2024-05-09 19:58:48 +08:00
parent c665bf3ccc
commit ff60d0238b
22 changed files with 2151 additions and 3321 deletions

View File

@ -42,13 +42,12 @@
},
"devDependencies": {
"@algolia/client-search": ">= 4.9.1 < 6",
"@babel/core": "^7.18.0",
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@types/node": "^18.19.0",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/coverage-v8": "^1.0.4",
"c8": "^7.11.3",
"commitizen": "^4.3.0",
@ -77,10 +76,10 @@
"serialize-javascript": "^6.0.0",
"shx": "^0.3.4",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vitepress": "1.0.0-rc.31",
"vitest": "^1.0.4",
"vue": "^3.4.21"
"vite": "^5.2.11",
"vitepress": "1.1.4",
"vitest": "^1.6.0",
"vue": "^3.4.27"
},
"config": {
"commitizen": {

View File

@ -24,16 +24,16 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"dependencies": {
"cac": "^6.7.12",
"chokidar": "^3.5.3",
"esbuild": "^0.17.19",
"fs-extra": "^10.1.0",
"cac": "^6.7.14",
"chokidar": "^3.6.0",
"esbuild": "^0.21.1",
"fs-extra": "^11.2.0",
"picocolors": "^1.0.0",
"recast": "^0.21.1",
"tslib": "^2.4.0"
"recast": "^0.23.6",
"tslib": "^2.6.2"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/fs-extra": "^11.0.4",
"@types/node": "^18.19.0"
}
}

View File

@ -340,7 +340,7 @@ const getASTTokenByTraverse = ({ ast, indexPath }: { ast: any; indexPath: string
if (specifiers?.length === 1 && source.value) {
const name = specifiers?.[0].local?.name;
if (name) {
if (typeof name === 'string') {
importSpecifiersMap[name] = source.value as string;
}
}
@ -352,14 +352,16 @@ const getASTTokenByTraverse = ({ ast, indexPath }: { ast: any; indexPath: string
const { specifiers, source, declaration } = node;
if (specifiers?.length === 1 && source?.value) {
const name = specifiers?.[0]?.exported.name.toLowerCase();
if (name) {
exportSpecifiersMap[name] = source.value as string;
const name = specifiers?.[0]?.exported.name;
if (typeof name === 'string') {
exportSpecifiersMap[name.toLowerCase()] = source.value as string;
}
} else {
specifiers?.forEach((specifier) => {
const name = specifier.exported.name.toLowerCase();
exportSpecifiersMap[name] = undefined;
const { name } = specifier.exported;
if (typeof name === 'string') {
exportSpecifiersMap[name.toLowerCase()] = undefined;
}
});
(declaration as any)?.declarations.forEach((declare: any) => {
const { id, init } = declare;

View File

@ -50,6 +50,6 @@
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.4.2",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}

View File

@ -46,6 +46,6 @@
"@types/node": "^18.19.0",
"tsc-alias": "^1.8.5",
"typescript": "^5.4.2",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}

View File

@ -38,6 +38,6 @@
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.4.2",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}

View File

@ -38,19 +38,19 @@
"typescript"
],
"dependencies": {
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"peerDependencies": {
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"devDependencies": {
"@types/node": "^18.19.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.4.21",
"@vue/test-utils": "^2.4.4",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.27",
"@vue/test-utils": "^2.4.6",
"rimraf": "^3.0.2",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vue-tsc": "^2.0.6"
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
}
}

View File

@ -46,7 +46,6 @@
"typescript"
],
"dependencies": {
"@babel/core": "^7.18.0",
"@element-plus/icons-vue": "^2.3.1",
"@tmagic/core": "workspace:*",
"@tmagic/dep": "workspace:*",
@ -63,31 +62,31 @@
"gesto": "^1.19.1",
"keycon": "^1.4.0",
"lodash-es": "^4.17.21",
"monaco-editor": "^0.47.0",
"moveable": "^0.51.1",
"monaco-editor": "^0.48.0",
"moveable": "^0.53.0",
"serialize-javascript": "^6.0.0",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"peerDependencies": {
"@tmagic/design": "workspace:*",
"@tmagic/form": "workspace:*",
"monaco-editor": "^0.47.0",
"vue": "^3.4.21"
"monaco-editor": "^0.48.0",
"vue": "^3.4.27"
},
"devDependencies": {
"@types/events": "^3.0.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"@types/serialize-javascript": "^5.0.1",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.4.21",
"@vue/test-utils": "^2.4.4",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.27",
"@vue/test-utils": "^2.4.6",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"sass": "^1.77.0",
"tsc-alias": "^1.8.5",
"type-fest": "^4.10.3",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vue-tsc": "^2.0.6"
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
}
}

View File

@ -49,6 +49,6 @@
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.4.2",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}

View File

@ -41,24 +41,23 @@
"@tmagic/design": "workspace:*",
"@tmagic/utils": "workspace:*",
"lodash-es": "^4.17.21",
"sortablejs": "^1.14.0",
"vue": "^3.4.21"
"sortablejs": "^1.15.2",
"vue": "^3.4.27"
},
"peerDependencies": {
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"devDependencies": {
"@babel/core": "^7.18.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"@types/sortablejs": "^1.10.7",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.4.21",
"@vue/test-utils": "^2.4.4",
"@types/sortablejs": "^1.15.8",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.27",
"@vue/test-utils": "^2.4.6",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"sass": "^1.77.0",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vue-tsc": "^2.0.6"
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
}
}

View File

@ -32,6 +32,6 @@
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.4.2",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}

View File

@ -38,7 +38,7 @@
"events": "^3.3.0",
"keycon": "^1.4.0",
"lodash-es": "^4.17.21",
"moveable": "^0.51.1",
"moveable": "^0.53.0",
"moveable-helper": "^0.4.0"
},
"devDependencies": {
@ -46,8 +46,8 @@
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"sass": "^1.77.0",
"typescript": "^5.4.2",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}

View File

@ -39,23 +39,22 @@
"@tmagic/form": "workspace:*",
"@tmagic/utils": "workspace:*",
"lodash-es": "^4.17.21",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"peerDependencies": {
"@tmagic/form": "workspace:*",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"devDependencies": {
"@types/color": "^3.0.1",
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.4.21",
"@vue/test-utils": "^2.4.4",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.27",
"@vue/test-utils": "^2.4.6",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"sass": "^1.77.0",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vue-tsc": "^2.0.6"
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
}
}

View File

@ -40,20 +40,20 @@
"dependencies": {
"@tmagic/design": "workspace:*",
"tdesign-vue-next": "^1.8.1",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"peerDependencies": {
"@tmagic/design": "workspace:*",
"tdesign-vue-next": "^1.8.1",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.4.21",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.27",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vue-tsc": "^2.0.6"
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
}
}

View File

@ -18,16 +18,16 @@
"delegate": "^3.2.0",
"qrcode": "^1.5.0",
"tiny-emitter": "^2.1.0",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"peerDependencies": {
"qrcode": "^1.5.0",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"devDependencies": {
"@testing-library/vue": "^6.4.2",
"@types/qrcode": "^1.4.2",
"@vue/compiler-sfc": "^3.4.21",
"@vue/test-utils": "^2.4.4"
"@vue/compiler-sfc": "^3.4.27",
"@vue/test-utils": "^2.4.6"
}
}

View File

@ -32,17 +32,17 @@
},
"dependencies": {
"@tmagic/schema": "workspace:*",
"dayjs": "^1.11.4",
"dayjs": "^1.11.11",
"lodash-es": "^4.17.21"
},
"peerDependencies": {
"dayjs": "^1.11.4"
"dayjs": "^1.11.11"
},
"devDependencies": {
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"typescript": "^5.4.2",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}

View File

@ -23,24 +23,23 @@
"@tmagic/stage": "1.4.4",
"@tmagic/utils": "1.4.4",
"element-plus": "^2.6.1",
"monaco-editor": "^0.47.0",
"monaco-editor": "^0.48.0",
"serialize-javascript": "^6.0.0",
"vue": "^3.4.21",
"vue": "^3.4.27",
"vue-router": "^4.0.10"
},
"devDependencies": {
"@babel/preset-env": "^7.21.4",
"@types/node": "^18.19.0",
"@types/serialize-javascript": "^5.0.1",
"@vitejs/plugin-legacy": "^5.2.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-legacy": "^5.4.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "^3.4.21",
"sass": "^1.35.1",
"terser": "^5.14.2",
"@vue/compiler-sfc": "^3.4.27",
"sass": "^1.77.0",
"terser": "^5.31.0",
"typescript": "^5.4.2",
"unplugin-auto-import": "^0.12.0",
"unplugin-vue-components": "^0.22.11",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}

5243
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,7 @@
"@tmagic/utils": "1.4.4",
"axios": "^0.25.0",
"lodash-es": "^4.17.21",
"terser": "^5.14.2",
"terser": "^5.31.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
@ -37,14 +37,12 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/preset-env": "^7.21.4",
"@types/lodash-es": "^4.17.4",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@vitejs/plugin-legacy": "^5.2.0",
"@vitejs/plugin-legacy": "^5.4.0",
"@vitejs/plugin-react-refresh": "^1.3.1",
"recast": "^0.20.4",
"typescript": "^5.4.2",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}

View File

@ -39,22 +39,22 @@
"@tmagic/schema": "workspace:*",
"@tmagic/stage": "workspace:*",
"element-plus": "^2.6.1",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"peerDependencies": {
"@tmagic/editor": "1.4.4",
"@tmagic/form": "1.4.4",
"@tmagic/schema": "1.4.4",
"element-plus": "^2.6.1",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"devDependencies": {
"@types/node": "^18.19.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vue/compiler-sfc": "^3.4.21",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.27",
"rimraf": "^3.0.2",
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vue-tsc": "^2.0.6"
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
}
}

View File

@ -27,19 +27,17 @@
"@tmagic/stage": "1.4.4",
"@tmagic/utils": "1.4.4",
"axios": "^0.25.0",
"terser": "^5.14.2",
"terser": "^5.31.0",
"vue": "^2.7.4"
},
"devDependencies": {
"@babel/preset-env": "^7.21.4",
"@types/events": "^3.0.0",
"axios": "^0.27.2",
"recast": "^0.20.4",
"rollup": "^2.25.0",
"rollup-plugin-external-globals": "^0.6.1",
"sass": "^1.35.1",
"vite": "^5.1.6",
"@vitejs/plugin-legacy": "^5.2.0",
"rollup": "^4.17.2",
"rollup-plugin-external-globals": "^0.10.0",
"sass": "^1.77.0",
"vite": "^5.2.11",
"@vitejs/plugin-legacy": "^5.4.0",
"@vitejs/plugin-vue2": "^2.3.1",
"vue-template-compiler": "^2.7.4"
}

View File

@ -26,22 +26,20 @@
"@tmagic/stage": "1.4.4",
"@tmagic/utils": "1.4.4",
"axios": "^0.25.0",
"vue": "^3.4.21"
"vue": "^3.4.27"
},
"devDependencies": {
"@babel/preset-env": "^7.21.4",
"@types/node": "^18.19.0",
"@vitejs/plugin-legacy": "^5.2.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-legacy": "^5.4.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "^3.4.21",
"@vue/test-utils": "^2.4.4",
"recast": "^0.20.4",
"rollup": "^2.25.0",
"rollup-plugin-external-globals": "^0.6.1",
"sass": "^1.35.1",
"terser": "^5.14.2",
"@vue/compiler-sfc": "^3.4.27",
"@vue/test-utils": "^2.4.6",
"rollup": "^4.17.2",
"rollup-plugin-external-globals": "^0.10.0",
"sass": "^1.77.0",
"terser": "^5.31.0",
"typescript": "^5.4.2",
"vite": "^5.1.6"
"vite": "^5.2.11"
}
}