mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: update dependencies
This commit is contained in:
parent
f2f2ee1379
commit
0a1ac06266
5 changed files with 12 additions and 32 deletions
|
@ -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",
|
||||
|
|
16
app/pnpm-lock.yaml
generated
16
app/pnpm-lock.yaml
generated
|
@ -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:
|
||||
|
|
|
@ -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}
|
|
@ -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}
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue