chore: 更新依赖项和构建插件配置版本

This commit is contained in:
h_cg 2024-10-09 15:04:28 +08:00
parent a0b559f7d2
commit 6a7f21cafd
2 changed files with 41 additions and 41 deletions

View File

@ -1,11 +1,11 @@
import type { PluginOption } from 'vite'; import type { PluginOption } from 'vite';
import uni from '@dcloudio/vite-plugin-uni'; 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 autoImport from 'unplugin-auto-import/vite';
import viteRestart from 'vite-plugin-restart'; import viteRestart from 'vite-plugin-restart';
import { visualizer } from 'rollup-plugin-visualizer'; import { UnifiedViteWeappTailwindcssPlugin as uvtw } from 'weapp-tailwindcss/vite';
import { nodeResolve } from '@rollup/plugin-node-resolve'; import { isH5, WeappTailwindcssDisabled } from './platform';
import { WeappTailwindcssDisabled, isH5 } from './platform';
interface VitePluginConfig { interface VitePluginConfig {
isProd: boolean isProd: boolean

View File

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