chore: update dependencies

This commit is contained in:
0xJacky 2023-12-19 10:28:03 +08:00
parent f2f2ee1379
commit 0a1ac06266
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
5 changed files with 12 additions and 32 deletions

View file

@ -16,7 +16,7 @@
"@vue/reactivity": "^3.3.10", "@vue/reactivity": "^3.3.10",
"@vue/shared": "^3.3.10", "@vue/shared": "^3.3.10",
"@vueuse/core": "^10.6.1", "@vueuse/core": "^10.6.1",
"ant-design-vue": "4.0.7", "ant-design-vue": "4.0.8",
"apexcharts": "^3.36.3", "apexcharts": "^3.36.3",
"axios": "^1.6.2", "axios": "^1.6.2",
"dayjs": "^1.11.10", "dayjs": "^1.11.10",
@ -62,7 +62,7 @@
"eslint-plugin-vue": "^9.18.1", "eslint-plugin-vue": "^9.18.1",
"less": "^4.2.0", "less": "^4.2.0",
"postcss": "^8.4.31", "postcss": "^8.4.31",
"tailwindcss": "^3.3.6", "tailwindcss": "^3.3.7",
"typescript": "^5.3.2", "typescript": "^5.3.2",
"unplugin-auto-import": "^0.17.1", "unplugin-auto-import": "^0.17.1",
"unplugin-vue-components": "^0.25.2", "unplugin-vue-components": "^0.25.2",

16
app/pnpm-lock.yaml generated
View file

@ -21,8 +21,8 @@ dependencies:
specifier: ^10.6.1 specifier: ^10.6.1
version: 10.6.1(vue@3.3.11) version: 10.6.1(vue@3.3.11)
ant-design-vue: ant-design-vue:
specifier: 4.0.7 specifier: 4.0.8
version: 4.0.7(vue@3.3.11) version: 4.0.8(vue@3.3.11)
apexcharts: apexcharts:
specifier: ^3.36.3 specifier: ^3.36.3
version: 3.44.0 version: 3.44.0
@ -155,8 +155,8 @@ devDependencies:
specifier: ^8.4.31 specifier: ^8.4.31
version: 8.4.32 version: 8.4.32
tailwindcss: tailwindcss:
specifier: ^3.3.6 specifier: ^3.3.7
version: 3.3.6 version: 3.3.7
typescript: typescript:
specifier: ^5.3.2 specifier: ^5.3.2
version: 5.3.2 version: 5.3.2
@ -1654,8 +1654,8 @@ packages:
engines: {node: '>=12'} engines: {node: '>=12'}
dev: false dev: false
/ant-design-vue@4.0.7(vue@3.3.11): /ant-design-vue@4.0.8(vue@3.3.11):
resolution: {integrity: sha512-oHTtc1GZkfENZTkt2aDvjaD4yoRsowYvCOmxA6+5AGqm5uz/datdJOXsq9nokIhC+vrAMhk6JQVFZ2hh7eU6Pw==} resolution: {integrity: sha512-SyPgbiPqxgXWHywxcstJN+j9N6PoZf6y5Gvvdbb+9od+uizmh2A+TnXmIHVJ44D1V1+YjXPz1EpLfIpxqDqu9A==}
engines: {node: '>=12.22.0'} engines: {node: '>=12.22.0'}
peerDependencies: peerDependencies:
vue: '>=3.2.0' vue: '>=3.2.0'
@ -4694,8 +4694,8 @@ packages:
picocolors: 1.0.0 picocolors: 1.0.0
dev: true dev: true
/tailwindcss@3.3.6: /tailwindcss@3.3.7:
resolution: {integrity: sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==} resolution: {integrity: sha512-pjgQxDZPvyS/nG3ZYkyCvsbONJl7GdOejfm24iMt2ElYQQw8Jc4p0m8RdMp7mznPD0kUhfzwV3zAwa80qI0zmQ==}
engines: {node: '>=14.0.0'} engines: {node: '>=14.0.0'}
hasBin: true hasBin: true
dependencies: dependencies:

View file

@ -1 +1 @@
{"version":"2.0.0-beta.8","build_id":100,"total_build":304} {"version":"2.0.0-beta.8","build_id":101,"total_build":305}

View file

@ -1 +1 @@
{"version":"2.0.0-beta.8","build_id":100,"total_build":304} {"version":"2.0.0-beta.8","build_id":101,"total_build":305}

View file

@ -10,24 +10,6 @@ import svgLoader from 'vite-svg-loader'
import AutoImport from 'unplugin-auto-import/vite' import AutoImport from 'unplugin-auto-import/vite'
import DefineOptions from 'unplugin-vue-define-options/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/ // https://vitejs.dev/config/
export default defineConfig(({ mode }) => { export default defineConfig(({ mode }) => {
// eslint-disable-next-line n/prefer-global/process // eslint-disable-next-line n/prefer-global/process
@ -51,8 +33,6 @@ export default defineConfig(({ mode }) => {
], ],
}, },
plugins: [ plugins: [
fixAntdvWarningPlugin(),
vue({ vue({
script: { script: {
defineModel: true, defineModel: true,