diff --git a/build/vitePlugins.ts b/build/vitePlugins.ts index 69a99fc..cbab818 100644 --- a/build/vitePlugins.ts +++ b/build/vitePlugins.ts @@ -1,11 +1,11 @@ import type { PluginOption } from 'vite'; import uni from '@dcloudio/vite-plugin-uni'; -import { UnifiedViteWeappTailwindcssPlugin as uvtw } from 'weapp-tailwindcss/vite'; +import { nodeResolve } from '@rollup/plugin-node-resolve'; +import { visualizer } from 'rollup-plugin-visualizer'; import autoImport from 'unplugin-auto-import/vite'; import viteRestart from 'vite-plugin-restart'; -import { visualizer } from 'rollup-plugin-visualizer'; -import { nodeResolve } from '@rollup/plugin-node-resolve'; -import { WeappTailwindcssDisabled, isH5 } from './platform'; +import { UnifiedViteWeappTailwindcssPlugin as uvtw } from 'weapp-tailwindcss/vite'; +import { isH5, WeappTailwindcssDisabled } from './platform'; interface VitePluginConfig { isProd: boolean diff --git a/package.json b/package.json index a3ac90f..3dd1a04 100644 --- a/package.json +++ b/package.json @@ -45,61 +45,61 @@ "dependencies": { "@alova/adapter-uniapp": "^2.0.6", "@alova/mock": "^2.0.6", - "@dcloudio/uni-app": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-app-plus": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-components": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-h5": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-i18n": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-mp-alipay": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-mp-baidu": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-mp-lark": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-mp-qq": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-mp-toutiao": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-mp-weixin": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-quickapp-webview": "3.0.0-alpha-4020720240905001", + "@dcloudio/uni-app": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-app-plus": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-components": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-h5": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-i18n": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-mp-alipay": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-mp-baidu": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-mp-lark": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-mp-qq": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-mp-toutiao": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-mp-weixin": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-quickapp-webview": "3.0.0-alpha-4030120240925001", "@multiavatar/multiavatar": "^1.0.7", - "alova": "^3.0.16", + "alova": "^3.0.20", "crypto-js": "^4.2.0", "lodash-es": "^4.17.21", - "pinia": "^2.2.2", - "vue": "^3.5.3" + "pinia": "^2.2.4", + "vue": "^3.5.11" }, "devDependencies": { - "@antfu/eslint-config": "^2.27.3", + "@antfu/eslint-config": "^3.7.3", "@dcloudio/types": "^3.4.12", - "@dcloudio/uni-automator": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-cli-shared": "3.0.0-alpha-4020720240905001", - "@dcloudio/uni-stacktracey": "3.0.0-alpha-4020720240905001", - "@dcloudio/vite-plugin-uni": "3.0.0-alpha-4020720240905001", + "@dcloudio/uni-automator": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-cli-shared": "3.0.0-alpha-4030120240925001", + "@dcloudio/uni-stacktracey": "3.0.0-alpha-4030120240925001", + "@dcloudio/vite-plugin-uni": "3.0.0-alpha-4030120240925001", "@egoist/tailwindcss-icons": "^1.8.1", - "@iconify/json": "^2.2.245", - "@rollup/plugin-node-resolve": "^15.2.3", + "@iconify/json": "^2.2.258", + "@rollup/plugin-node-resolve": "^15.3.0", "@types/crypto-js": "^4.2.2", "@types/lodash-es": "^4.17.12", - "@types/node": "^20.16.5", - "@vitejs/plugin-vue": "^5.1.3", - "@vue/runtime-core": "^3.5.3", + "@types/node": "^20.16.11", + "@vitejs/plugin-vue": "^5.1.4", + "@vue/runtime-core": "^3.5.11", "autoprefixer": "^10.4.20", - "commit-and-tag-version": "^12.4.2", - "eslint": "^9.10.0", + "commit-and-tag-version": "^12.4.4", + "eslint": "^9.12.0", "eslint-plugin-format": "^0.1.2", - "globals": "^15.9.0", + "globals": "^15.11.0", "lint-staged": "^15.2.10", "picocolors": "^1.1.0", - "postcss": "^8.4.45", + "postcss": "^8.4.47", "rollup-plugin-visualizer": "^5.12.0", - "sass": "^1.78.0", + "sass": "^1.79.4", "simple-git-hooks": "^2.11.1", - "tailwindcss": "^3.4.10", - "tsx": "^4.19.0", - "typescript": "^5.5.4", + "tailwindcss": "^3.4.13", + "tsx": "^4.19.1", + "typescript": "^5.6.3", "uni-mini-router": "^0.1.6", "uni-read-pages-vite": "^0.0.6", - "unplugin-auto-import": "^0.18.2", - "vite": "^5.4.3", + "unplugin-auto-import": "^0.18.3", + "vite": "^5.4.8", "vite-plugin-restart": "^0.4.1", - "weapp-tailwindcss": "^3.5.1" + "weapp-tailwindcss": "^3.5.3" }, "simple-git-hooks": { "pre-commit": "npx lint-staged",