From 0a1ac06266cc736eb4b23d15da8f227f06b5e3c6 Mon Sep 17 00:00:00 2001 From: 0xJacky Date: Tue, 19 Dec 2023 10:28:03 +0800 Subject: [PATCH] chore: update dependencies --- app/package.json | 4 ++-- app/pnpm-lock.yaml | 16 ++++++++-------- app/src/version.json | 2 +- app/version.json | 2 +- app/vite.config.ts | 20 -------------------- 5 files changed, 12 insertions(+), 32 deletions(-) diff --git a/app/package.json b/app/package.json index cbd171d1..8e3c5999 100644 --- a/app/package.json +++ b/app/package.json @@ -16,7 +16,7 @@ "@vue/reactivity": "^3.3.10", "@vue/shared": "^3.3.10", "@vueuse/core": "^10.6.1", - "ant-design-vue": "4.0.7", + "ant-design-vue": "4.0.8", "apexcharts": "^3.36.3", "axios": "^1.6.2", "dayjs": "^1.11.10", @@ -62,7 +62,7 @@ "eslint-plugin-vue": "^9.18.1", "less": "^4.2.0", "postcss": "^8.4.31", - "tailwindcss": "^3.3.6", + "tailwindcss": "^3.3.7", "typescript": "^5.3.2", "unplugin-auto-import": "^0.17.1", "unplugin-vue-components": "^0.25.2", diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yaml index 94cf98cd..2107042f 100644 --- a/app/pnpm-lock.yaml +++ b/app/pnpm-lock.yaml @@ -21,8 +21,8 @@ dependencies: specifier: ^10.6.1 version: 10.6.1(vue@3.3.11) ant-design-vue: - specifier: 4.0.7 - version: 4.0.7(vue@3.3.11) + specifier: 4.0.8 + version: 4.0.8(vue@3.3.11) apexcharts: specifier: ^3.36.3 version: 3.44.0 @@ -155,8 +155,8 @@ devDependencies: specifier: ^8.4.31 version: 8.4.32 tailwindcss: - specifier: ^3.3.6 - version: 3.3.6 + specifier: ^3.3.7 + version: 3.3.7 typescript: specifier: ^5.3.2 version: 5.3.2 @@ -1654,8 +1654,8 @@ packages: engines: {node: '>=12'} dev: false - /ant-design-vue@4.0.7(vue@3.3.11): - resolution: {integrity: sha512-oHTtc1GZkfENZTkt2aDvjaD4yoRsowYvCOmxA6+5AGqm5uz/datdJOXsq9nokIhC+vrAMhk6JQVFZ2hh7eU6Pw==} + /ant-design-vue@4.0.8(vue@3.3.11): + resolution: {integrity: sha512-SyPgbiPqxgXWHywxcstJN+j9N6PoZf6y5Gvvdbb+9od+uizmh2A+TnXmIHVJ44D1V1+YjXPz1EpLfIpxqDqu9A==} engines: {node: '>=12.22.0'} peerDependencies: vue: '>=3.2.0' @@ -4694,8 +4694,8 @@ packages: picocolors: 1.0.0 dev: true - /tailwindcss@3.3.6: - resolution: {integrity: sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==} + /tailwindcss@3.3.7: + resolution: {integrity: sha512-pjgQxDZPvyS/nG3ZYkyCvsbONJl7GdOejfm24iMt2ElYQQw8Jc4p0m8RdMp7mznPD0kUhfzwV3zAwa80qI0zmQ==} engines: {node: '>=14.0.0'} hasBin: true dependencies: diff --git a/app/src/version.json b/app/src/version.json index 38c5d901..c3dfaf85 100644 --- a/app/src/version.json +++ b/app/src/version.json @@ -1 +1 @@ -{"version":"2.0.0-beta.8","build_id":100,"total_build":304} \ No newline at end of file +{"version":"2.0.0-beta.8","build_id":101,"total_build":305} \ No newline at end of file diff --git a/app/version.json b/app/version.json index 38c5d901..c3dfaf85 100644 --- a/app/version.json +++ b/app/version.json @@ -1 +1 @@ -{"version":"2.0.0-beta.8","build_id":100,"total_build":304} \ No newline at end of file +{"version":"2.0.0-beta.8","build_id":101,"total_build":305} \ No newline at end of file diff --git a/app/vite.config.ts b/app/vite.config.ts index 8389aa06..d0d909ee 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -10,24 +10,6 @@ import svgLoader from 'vite-svg-loader' import AutoImport from 'unplugin-auto-import/vite' import DefineOptions from 'unplugin-vue-define-options/vite' -function fixAntdvWarningPlugin() { - return { - name: 'fix-antd-vue-warning', // - transform(code: string, id: string) { - // replace antdv js only - if (id.includes('ant-design-vue/es/_util/hooks/_vueuse')) { - // replace /* #__PURE__ */ with empty string - const newCode = code.replace(/\/\* #__PURE__ \*\//g, '') - - return { - code: newCode, - map: null, - } - } - }, - } -} - // https://vitejs.dev/config/ export default defineConfig(({ mode }) => { // eslint-disable-next-line n/prefer-global/process @@ -51,8 +33,6 @@ export default defineConfig(({ mode }) => { ], }, plugins: [ - fixAntdvWarningPlugin(), - vue({ script: { defineModel: true,