From ee43df4fa6c1ed3df0c56befb1575c5d52a25713 Mon Sep 17 00:00:00 2001 From: summer Date: Tue, 2 Apr 2024 17:31:39 +0800 Subject: [PATCH 001/147] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89tabbar=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.config.ts | 1 + src/App.vue | 3 ++ src/components/tabbar.vue | 82 +++++++++++++++++++++++++++++++++++++++ src/pages.json | 1 + src/pages/index/about.vue | 1 + src/pages/index/index.vue | 1 + src/store/tabbar.ts | 42 ++++++++++++++++++++ 7 files changed, 131 insertions(+) create mode 100644 src/components/tabbar.vue create mode 100644 src/store/tabbar.ts diff --git a/pages.config.ts b/pages.config.ts index 96d65b7..be90d0f 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -15,6 +15,7 @@ export default defineUniPages({ }, }, tabBar: { + custom: true, color: '#999999', selectedColor: '#018d71', backgroundColor: '#F8F8F8', diff --git a/src/App.vue b/src/App.vue index d0dface..e978b98 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,6 +3,9 @@ import { onLaunch, onShow, onHide } from '@dcloudio/uni-app' onLaunch(() => { console.log('App Launch') + // #ifdef H5 + uni.hideTabBar() + // #endif }) onShow(() => { console.log('App Show') diff --git a/src/components/tabbar.vue b/src/components/tabbar.vue new file mode 100644 index 0000000..554286c --- /dev/null +++ b/src/components/tabbar.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/src/pages.json b/src/pages.json index 0f631f8..edfde11 100644 --- a/src/pages.json +++ b/src/pages.json @@ -13,6 +13,7 @@ } }, "tabBar": { + "custom": true, "color": "#999999", "selectedColor": "#018d71", "backgroundColor": "#F8F8F8", diff --git a/src/pages/index/about.vue b/src/pages/index/about.vue index 7f11371..ffe2d4d 100644 --- a/src/pages/index/about.vue +++ b/src/pages/index/about.vue @@ -27,6 +27,7 @@ 测试设计稿样式 设计稿是750px,css里面全部写rpx 即可 + - - diff --git a/src/components/fg-tabbar/tabbar.ts b/src/components/fg-tabbar/tabbar.ts new file mode 100644 index 0000000..479090c --- /dev/null +++ b/src/components/fg-tabbar/tabbar.ts @@ -0,0 +1,21 @@ +export const tabbarList = [ + { + path: '/pages/index/about', + icon: 'home', + isWotIcon: true, + title: '首页', + }, + { + path: '/pages/index/index', + icon: 'i-carbon-user-avatar', + isWotIcon: false, + title: '我的', + }, +] + +export const tabbarStore = reactive({ + curIdx: 0, + setCurIdx(idx: number) { + this.curIdx = idx + }, +}) diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue new file mode 100644 index 0000000..ddc1334 --- /dev/null +++ b/src/pages/my/index.vue @@ -0,0 +1,20 @@ + +{ + layout: 'default', + style: { + navigationBarTitleText: '我的', + }, +} + + + + + + + diff --git a/src/store/tabbar.ts b/src/store/tabbar.ts deleted file mode 100644 index ad1d840..0000000 --- a/src/store/tabbar.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { defineStore } from 'pinia' -import { ref } from 'vue' - -export const useTabbarStore = defineStore( - 'tabbar', - () => { - interface tabBarItem { - iconPath: string - selectedIconPath: string - pagePath: string - text: string - } - const tabBarList = ref([ - { - iconPath: '/static/tabbar/home.png', - selectedIconPath: '/static/tabbar/homeHL.png', - pagePath: '/pages/index/index', - text: '首页', - }, - { - iconPath: '/static/tabbar/example.png', - selectedIconPath: '/static/tabbar/exampleHL.png', - pagePath: '/pages/index/about', - text: '关于', - }, - ]) - const tabIndex = ref(0) - - const setTabIndex = (val: number) => { - tabIndex.value = val - } - - return { - tabBarList, - tabIndex, - setTabIndex, - } - }, - { - persist: true, - }, -) diff --git a/src/utils/index.ts b/src/utils/index.ts index 14ef106..715c123 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,4 +1,3 @@ -// @ts-expect-error import json file import { pages, subPackages, tabBar } from '@/pages.json' /** 判断当前页面是否是tabbar页 */ From 4f6d271c28881709f917e81e63219abed4efd7d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Sat, 11 May 2024 09:41:33 +0800 Subject: [PATCH 012/147] =?UTF-8?q?feat:=20=E4=BD=BF=E7=94=A8=20tabbar=20l?= =?UTF-8?q?ayout=20+=20wot=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.config.ts | 5 +++-- src/layouts/tabbar.vue | 4 ++++ src/pages/index/index.vue | 2 +- src/pages/my/index.vue | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 src/layouts/tabbar.vue diff --git a/pages.config.ts b/pages.config.ts index f2d86cb..43f3ec5 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -33,8 +33,9 @@ export default defineUniPages({ }, { pagePath: 'pages/my/index', - icon: 'i-carbon-user-avatar', - isUnocssIcon: true, + icon: 'user', + // 经过验证发现unocss这样跨文件动态图标,无法显示,所以先用wot icon 吧 + // isUnocssIcon: true, text: '我的', }, ], diff --git a/src/layouts/tabbar.vue b/src/layouts/tabbar.vue new file mode 100644 index 0000000..a63127d --- /dev/null +++ b/src/layouts/tabbar.vue @@ -0,0 +1,4 @@ + diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index c94ae1d..c2c1547 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -1,6 +1,7 @@ { + layout: 'tabbar', style: { navigationStyle: 'custom', navigationBarTitleText: '首页', @@ -28,7 +29,6 @@ tabbar - diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts index 1964130..f73e4a9 100644 --- a/src/types/uni-pages.d.ts +++ b/src/types/uni-pages.d.ts @@ -6,13 +6,12 @@ interface NavigateToOptions { url: "/pages/index/index" | "/pages/about/about" | - "/pages/index/about" | "/pages/my/index"; } interface RedirectToOptions extends NavigateToOptions {} interface SwitchTabOptions { - url: "/pages/index/index" | "/pages/index/about" | "/pages/my/index" + url: "/pages/index/index" | "/pages/about/about" | "/pages/my/index" } type ReLaunchOptions = NavigateToOptions | SwitchTabOptions; From 588c3a446fdefb16f36edb0133be3001f8edf3cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Tue, 28 May 2024 11:34:30 +0800 Subject: [PATCH 031/147] =?UTF-8?q?chore:=20=E6=B3=A8=E6=84=8Ftabbar?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E9=9C=80=E8=A6=81=E4=BD=BF=E7=94=A8=20layout?= =?UTF-8?q?:tabbar=20=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pages.config.ts b/pages.config.ts index d578e81..c84a271 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -28,6 +28,7 @@ export default defineUniPages({ iconWidth: '24px', spacing: '3px', list: [ + // 注意tabbar路由需要使用 layout:tabbar 布局 { pagePath: 'pages/index/index', text: '首页', From bde0332183724981e035fdae7613e107014e991b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Tue, 28 May 2024 11:36:23 +0800 Subject: [PATCH 032/147] refine: my --- src/pages/my/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue index 524f1ae..169627b 100644 --- a/src/pages/my/index.vue +++ b/src/pages/my/index.vue @@ -8,7 +8,7 @@ - - diff --git a/src/types/components.d.ts b/src/types/components.d.ts index 842ef29..baadcc9 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -8,6 +8,7 @@ export {} declare module 'vue' { export interface GlobalComponents { FgNavbar: typeof import('./../components/fg-navbar/fg-navbar.vue')['default'] + FgTabbar: typeof import('./../components/fg-tabbar/fg-tabbar.vue')['default'] PrivacyPopup: typeof import('./../components/privacy-popup/privacy-popup.vue')['default'] } } diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts index b0ead03..47d231e 100644 --- a/src/types/uni-pages.d.ts +++ b/src/types/uni-pages.d.ts @@ -6,7 +6,6 @@ interface NavigateToOptions { url: "/pages/index/index" | "/pages/about/about" | - "/pages/my/index"| "/pages/login/index" | "/pages/mine/index" | "/pages/mine/about/index" | @@ -16,7 +15,7 @@ interface NavigateToOptions { interface RedirectToOptions extends NavigateToOptions {} interface SwitchTabOptions { - url: "/pages/index/index" | "/pages/about/about" | "/pages/my/index"|"/pages/mine/index" + url: "/pages/index/index" | "/pages/about/about" | "/pages/mine/index" } type ReLaunchOptions = NavigateToOptions | SwitchTabOptions; From 0042afe2156b0769fdd0159b0a4425d1c8da5931 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 3 Jun 2025 12:38:13 +0800 Subject: [PATCH 038/147] =?UTF-8?q?refactor(fg-tabbar):=20=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=B7=A5=E5=85=B7=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84?= =?UTF-8?q?tabBarList=E6=9B=BF=E4=BB=A3=E7=9B=B4=E6=8E=A5=E5=AF=BC?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 从直接导入pages.json中的tabBar改为使用utils中封装的_tabBarList,提高代码复用性和维护性 --- src/components/fg-tabbar/fg-tabbar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/fg-tabbar/fg-tabbar.vue b/src/components/fg-tabbar/fg-tabbar.vue index d226edc..6737891 100644 --- a/src/components/fg-tabbar/fg-tabbar.vue +++ b/src/components/fg-tabbar/fg-tabbar.vue @@ -37,11 +37,11 @@ +import { onLaunch, onShow, onHide } from '@dcloudio/uni-app' import +'abortcontroller-polyfill/dist/abortcontroller-polyfill-only' onLaunch(() => { console.log('App +Launch') }) onShow(() => { console.log('App Show') }) onHide(() => { console.log('App Hide') }) From ad522ee570961a63c4e03ae123190c6d684aad5e Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 3 Jun 2025 19:50:11 +0800 Subject: [PATCH 047/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E8=87=B32.11.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这是一个简单的版本号更新提交,属于杂项任务(chore),没有涉及功能修改或修复,因此不需要详细说明原因。根据提交消息指南,我们保持了简洁的描述,使用小写字母开头且没有句号。 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6a7f982..5479264 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unibest", "type": "commonjs", - "version": "2.10.3", + "version": "2.11.0", "description": "unibest - 最好的 uniapp 开发模板", "update-time": "2025-05-28", "author": { From 6bc115cd3664bdee9764d5526b34c39865515d5b Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 3 Jun 2025 19:51:28 +0800 Subject: [PATCH 048/147] =?UTF-8?q?chore:=20=E5=9C=A8prepare=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E4=B8=AD=E6=B7=BB=E5=8A=A0git=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在prepare脚本中增加git init命令,确保husky安装前git仓库已初始化 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5479264..c7046a7 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "build:quickapp-webview-union": "uni build -p quickapp-webview-union", "type-check": "vue-tsc --noEmit", "openapi-ts-request": "openapi-ts", - "prepare": "husky" + "prepare": "git init && husky" }, "lint-staged": { "**/*.{html,cjs,json,md,scss,css,txt}": [ From 0f9431cf1ec5d070b42730435f369279f60a319f Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 3 Jun 2025 20:03:45 +0800 Subject: [PATCH 049/147] =?UTF-8?q?chore(husky):=20=E5=9C=A8pre-commit?= =?UTF-8?q?=E9=92=A9=E5=AD=90=E4=B8=AD=E6=B7=BB=E5=8A=A0--allow-empty?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 允许在git commit时即使没有变更也能执行lint-staged --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d0a7784..c3ec64b 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npx lint-staged \ No newline at end of file +npx lint-staged --allow-empty \ No newline at end of file From 13c166139dcc39f9faf5664e17c3abe8ed5683fa Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Wed, 4 Jun 2025 09:00:34 +0800 Subject: [PATCH 050/147] =?UTF-8?q?Revert=20"style:=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=97=A0=E7=94=A8=E6=A0=B7=E5=BC=8F=E5=B9=B6=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=A3=80=E6=9F=A5=E8=AD=A6=E5=91=8A"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a5a359528a4f2183bd3110dc288c140485345bbe. --- src/App.vue | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 59 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index b474aee..d32c900 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,3 +1,59 @@ -import { onLaunch, onShow, onHide } from '@dcloudio/uni-app' import -'abortcontroller-polyfill/dist/abortcontroller-polyfill-only' onLaunch(() => { console.log('App -Launch') }) onShow(() => { console.log('App Show') }) onHide(() => { console.log('App Hide') }) + + + From 0b4147a15e6c9e1111c48d31dfc74e6278dade46 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Wed, 4 Jun 2025 09:02:49 +0800 Subject: [PATCH 051/147] =?UTF-8?q?style:=20=E6=9B=B4=E6=96=B0lint-staged?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BB=A5=E6=94=AF=E6=8C=81Vue=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c7046a7..df0d08b 100644 --- a/package.json +++ b/package.json @@ -73,10 +73,10 @@ "prepare": "git init && husky" }, "lint-staged": { - "**/*.{html,cjs,json,md,scss,css,txt}": [ + "**/*.{vue,html,cjs,json,md,scss,css,txt}": [ "prettier --write --cache" ], - "**/*.{vue,js,ts}": [ + "**/*.{js,ts}": [ "oxlint --fix", "prettier --write --cache" ], From f23d8128f93c1167f337f0c46a1121fd49ec6ee0 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Wed, 4 Jun 2025 09:03:13 +0800 Subject: [PATCH 052/147] =?UTF-8?q?test:=20=E6=B5=8B=E8=AF=95=20lint-stage?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index d32c900..8cec5a2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,7 +14,6 @@ onHide(() => { From fa18cfa406fc46a3bd74ec6f5917fe66089fc78a Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Fri, 13 Jun 2025 18:34:29 +0800 Subject: [PATCH 079/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E8=87=B32.12.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e7f9714..aae93cd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unibest", "type": "commonjs", - "version": "2.12.0", + "version": "2.12.1", "description": "unibest - 最好的 uniapp 开发模板", "update-time": "2025-05-28", "author": { From 907c20d9d8f48010e54a129635011ab881f75b9c Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 14 Jun 2025 10:45:08 +0800 Subject: [PATCH 080/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20@uni-help?= =?UTF-8?q?er=20=E7=9B=B8=E5=85=B3=E4=BE=9D=E8=B5=96=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 10 +- pnpm-lock.yaml | 424 ++++++++++++++++++++++--------------------------- 2 files changed, 196 insertions(+), 238 deletions(-) diff --git a/package.json b/package.json index aae93cd..575bdc7 100644 --- a/package.json +++ b/package.json @@ -131,11 +131,11 @@ "@types/wechat-miniprogram": "^3.4.8", "@uni-helper/uni-types": "1.0.0-alpha.3", "@uni-helper/unocss-preset-uni": "^0.2.11", - "@uni-helper/vite-plugin-uni-components": "^0.2.0", - "@uni-helper/vite-plugin-uni-layouts": "^0.1.10", - "@uni-helper/vite-plugin-uni-manifest": "^0.2.8", - "@uni-helper/vite-plugin-uni-pages": "0.2.20", - "@uni-helper/vite-plugin-uni-platform": "^0.0.4", + "@uni-helper/vite-plugin-uni-components": "0.2.0", + "@uni-helper/vite-plugin-uni-layouts": "0.1.10", + "@uni-helper/vite-plugin-uni-manifest": "0.2.8", + "@uni-helper/vite-plugin-uni-pages": "0.2.28", + "@uni-helper/vite-plugin-uni-platform": "0.0.4", "@uni-ku/bundle-optimizer": "^1.3.3", "@unocss/preset-legacy-compat": "^0.59.4", "@vue/runtime-core": "^3.4.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8dff150..37449f9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,21 +134,21 @@ importers: version: 1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-cloud-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-ui-types@1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)) '@uni-helper/unocss-preset-uni': specifier: ^0.2.11 - version: 0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.1.2)(@unocss/vite@66.1.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.1.2)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))) + version: 0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))) '@uni-helper/vite-plugin-uni-components': - specifier: ^0.2.0 + specifier: 0.2.0 version: 0.2.0(rollup@4.41.1) '@uni-helper/vite-plugin-uni-layouts': - specifier: ^0.1.10 + specifier: 0.1.10 version: 0.1.10(rollup@4.41.1) '@uni-helper/vite-plugin-uni-manifest': - specifier: ^0.2.8 + specifier: 0.2.8 version: 0.2.8(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1)) '@uni-helper/vite-plugin-uni-pages': - specifier: 0.2.20 - version: 0.2.20(@types/lodash-es@4.17.12)(lodash-es@4.17.21)(lodash@4.17.21) + specifier: 0.2.28 + version: 0.2.28(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1)) '@uni-helper/vite-plugin-uni-platform': - specifier: ^0.0.4 + specifier: 0.0.4 version: 0.0.4 '@uni-ku/bundle-optimizer': specifier: ^1.3.3 @@ -253,8 +253,8 @@ packages: resolution: {integrity: sha512-UnJfnIpc/+JO0/+KRVQNGU+y5taA5vCbwN8+azkX6beii/ZF+enZJSOKo11ZSzGJjlNfJHfQtmQT8H+9TXPG2w==} engines: {node: '>=6.9.0'} - '@babel/generator@7.27.3': - resolution: {integrity: sha512-xnlJYj5zepml8NXtjkG0WquFUv8RskFqyFcVgTBp5k+NaA/8uw/K+OSVf8AMGw5e9HKP2ETd5xpK5MLZQD6b4Q==} + '@babel/generator@7.27.5': + resolution: {integrity: sha512-ZGhA37l0e/g2s1Cnzdix0O3aLYm66eF8aufiVteOgnwxgnRP8GoyMj7VWsgWnQbVKXyge7hqrFh2K2TQM6t1Hw==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.25.9': @@ -366,8 +366,8 @@ packages: engines: {node: '>=6.0.0'} hasBin: true - '@babel/parser@7.27.3': - resolution: {integrity: sha512-xyYxRj6+tLNDTWi0KCBcZ9V7yg3/lwL9DWh9Uwh/RIVlIfFidggcgxKX3GCXwCiswwcGRawBKbEg2LG/Y8eJhw==} + '@babel/parser@7.27.5': + resolution: {integrity: sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg==} engines: {node: '>=6.0.0'} hasBin: true @@ -847,8 +847,8 @@ packages: resolution: {integrity: sha512-ZCYtZciz1IWJB4U61UPu4KEaqyfj+r5T1Q5mqPo+IBpcG9kHv30Z0aD8LXPgC1trYa6rK0orRyAhqUgk4MjmEg==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.27.3': - resolution: {integrity: sha512-lId/IfN/Ye1CIu8xG7oKBHXd2iNb2aW1ilPszzGcJug6M8RCKfVNcYhpI5+bMvFYjK7lXIM0R+a+6r8xhHp2FQ==} + '@babel/traverse@7.27.4': + resolution: {integrity: sha512-oNcu2QbHqts9BtOWJosOVJapWjBDSxGCpFvikNR5TGDYDQf3JwpIoMzIKrvfoti93cLfPJEG4tH9SPVeyCGgdA==} engines: {node: '>=6.9.0'} '@babel/types@7.26.0': @@ -859,8 +859,8 @@ packages: resolution: {integrity: sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==} engines: {node: '>=6.9.0'} - '@babel/types@7.27.3': - resolution: {integrity: sha512-Y1GkI4ktrtvmawoSq+4FCVHNryea6uR+qUQy0AGxLSsjCX0nVmkYQMBLHDkXZuo5hGx7eYdnIaslsdBFm7zbUw==} + '@babel/types@7.27.6': + resolution: {integrity: sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q==} engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@0.2.3': @@ -2047,18 +2047,15 @@ packages: '@types/keyv@3.1.4': resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} - '@types/lodash-es@4.17.12': - resolution: {integrity: sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==} - - '@types/lodash@4.17.17': - resolution: {integrity: sha512-RRVJ+J3J+WmyOTqnz3PiBLA501eKwXl2noseKOrNo/6+XEHjTAxO4xHvxQB6QuNm+s4WRbn6rSiap8+EA+ykFQ==} - '@types/node@20.17.50': resolution: {integrity: sha512-Mxiq0ULv/zo1OzOhwPqOA13I81CV/W3nvd3ChtQZRT5Cwz3cr0FKo/wMSsbTqL3EXpaBAEQhva2B8ByRkOIh9A==} '@types/node@20.17.9': resolution: {integrity: sha512-0JOXkRyLanfGPE2QRCwgxhzlBAvaRdCNMcvbd7jFfpmD4eEXll7LRwy5ymJmyeZqk7Nh7eD2LeUyQ68BbndmXw==} + '@types/node@20.19.0': + resolution: {integrity: sha512-hfrc+1tud1xcdVTABC2JiomZJEklMcXYNTVtZLAeqTVWD+qL5jkHKT+1lOtqDdGxt+mB53DTtiz673vfjU8D1Q==} + '@types/prettier@2.7.3': resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} @@ -2141,8 +2138,10 @@ packages: peerDependencies: vite: ^4.0.0 || ^5.0.0 || ^6.0.0 - '@uni-helper/vite-plugin-uni-pages@0.2.20': - resolution: {integrity: sha512-YQlhVbUQlLP+GSscOW2/d+aS95Wtrln816sJUetC0WnaRCsq3rKMWVXzVKuWlCerEQ/ni1ISfnglFheubbl45Q==} + '@uni-helper/vite-plugin-uni-pages@0.2.28': + resolution: {integrity: sha512-WSunH3tWjuw9tVAVOqo/RmkKPsaF97MY5I9FXuTuovs4j5oNgPiot9Ysb6T5RJN2KU2zlBlQi1dO/ZMj9b4BYA==} + peerDependencies: + vite: ^5.0.0 '@uni-helper/vite-plugin-uni-platform@0.0.4': resolution: {integrity: sha512-aQnhpiLpxlxr6C2i6FsEbY6aFJH1igZUC5DsqoDscD/dBnpCPnovW9bFL/ig8qHsq87iAnqwhZtEpsLrzgrDaw==} @@ -2199,12 +2198,18 @@ packages: '@unocss/core@66.1.2': resolution: {integrity: sha512-mN9h1hHEuhDcdbI4z74o7UnxlBZYVsJpYcdC1YLWBKROcLYTkuyZ7hgBzpo1FBNox2Bt3JnrSinVDmc44Bxjow==} + '@unocss/core@66.2.0': + resolution: {integrity: sha512-jq+UPvmf271MjY/RoREBmjSCzTYdjzdlgBcjmtymYjBRg7a6a0GiSuhdL0D20cwQ4MoBvlO1tIzgCqnqImACBg==} + '@unocss/extractor-arbitrary-variants@65.4.2': resolution: {integrity: sha512-qm5JXfjbxgXqhQAeOfV1jFT1ThBTi1bP1m+Nu2p6tB9EUbAUp+AKY4sODueqDXoriUtOc7h0QzyW3Lm+s3fTGw==} '@unocss/extractor-arbitrary-variants@66.1.2': resolution: {integrity: sha512-F570wH9VYeFTb4r8qgcbN5QpEVIAvFC1zOnrAPUr6B6kbU2YChMXxHP7PHK0AzLHnEr458Pwpzl6hmP6bzxZ8g==} + '@unocss/extractor-arbitrary-variants@66.2.0': + resolution: {integrity: sha512-tRvWLbLLZweCv+eujbkvjflNclbkrJHhW2asuBUcaHXCzXIHCYgbBdF3lV5ww1lBBfEUWekgyFC/9fbB4rh1fg==} + '@unocss/inspector@65.4.2': resolution: {integrity: sha512-64m6SpjbeTQNqgWLUQpVwu1WQpuv4RshA1KIs4cc6WdDivckWb4woA+4Zdm+DjYjm0aLqX7oUE0kWwjK+pIZdA==} @@ -2247,8 +2252,8 @@ packages: '@unocss/preset-wind3@66.1.2': resolution: {integrity: sha512-S09imGOngAAOXCBCHb3JAtxD1/L7nDWrgEeX6NT0ElDp3X1T6XxUXYJlpjCfcqV/klMoXyYouKvp0YuG9QSgVg==} - '@unocss/preset-wind4@66.1.2': - resolution: {integrity: sha512-03p4rpBAWzz58BzAiKsUuG+6YO7IG6mJMGQAtPzuhd+nVBJLIRa3eBIVXOPmAVz1rNx5XPRTAr6PMC7ycdMFRA==} + '@unocss/preset-wind4@66.2.0': + resolution: {integrity: sha512-+qllvO142kajxD9EFag1WmiCJOjIxoMTVh1sW30SFXftB6rvVCaA8GbDo/Jnk9gXtmRQ2L9ZnuxPIx8W65pBjA==} '@unocss/preset-wind@65.4.2': resolution: {integrity: sha512-TQm9P2UHpqfn92APfZJtbK2brkXQ+GInFL2evup/ZChU1fqdbH9mL0ef6ZNQbCH4gjY6mEzwPXt4lhGod6CajA==} @@ -2264,6 +2269,10 @@ packages: resolution: {integrity: sha512-nn0ehvDh7yyWq2mcBDLVpmMAivjRATUroZ8ETinyN1rmfsGesm71R0d1gV3K+Z6YC7a3+dMLc+/qzI7VK3AG/Q==} engines: {node: '>=14'} + '@unocss/rule-utils@66.2.0': + resolution: {integrity: sha512-T2Gg8WwLeCi7QaOss6EKC5Ypmbls+dqet5sMRsiIE5Mi04j3ndS0+lTwV/x7X6NnN6kCoh0IlwCdBUU4tkJbkQ==} + engines: {node: '>=14'} + '@unocss/transformer-attributify-jsx@65.4.2': resolution: {integrity: sha512-3jANN8pnOd3xX8PhkUMhRYEwT97HOYNLMiACpRb2x3MRxYjmpOPR/We31r/tYz23hMsbGkR0C5xvpuCkDj2QAA==} @@ -2335,36 +2344,24 @@ packages: '@vue/compiler-core@3.4.21': resolution: {integrity: sha512-MjXawxZf2SbZszLPYxaFCjxfibYrzr3eYbKxwpLR9EQN+oaziSu3qKVbwBERj1IFIB8OLUewxB5m/BFzi613og==} - '@vue/compiler-core@3.5.13': - resolution: {integrity: sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==} - '@vue/compiler-core@3.5.15': resolution: {integrity: sha512-nGRc6YJg/kxNqbv/7Tg4juirPnjHvuVdhcmDvQWVZXlLHjouq7VsKmV1hIxM/8yKM0VUfwT/Uzc0lO510ltZqw==} '@vue/compiler-dom@3.4.21': resolution: {integrity: sha512-IZC6FKowtT1sl0CR5DpXSiEB5ayw75oT2bma1BEhV7RRR1+cfwLrxc2Z8Zq/RGFzJ8w5r9QtCOvTjQgdn0IKmA==} - '@vue/compiler-dom@3.5.13': - resolution: {integrity: sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==} - '@vue/compiler-dom@3.5.15': resolution: {integrity: sha512-ZelQd9n+O/UCBdL00rlwCrsArSak+YLZpBVuNDio1hN3+wrCshYZEDUO3khSLAzPbF1oQS2duEoMDUHScUlYjA==} '@vue/compiler-sfc@3.4.21': resolution: {integrity: sha512-me7epoTxYlY+2CUM7hy9PCDdpMPfIwrOvAXud2Upk10g4YLv9UBW7kL798TvMeDhPthkZ0CONNrK2GoeI1ODiQ==} - '@vue/compiler-sfc@3.5.13': - resolution: {integrity: sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ==} - '@vue/compiler-sfc@3.5.15': resolution: {integrity: sha512-3zndKbxMsOU6afQWer75Zot/aydjtxNj0T2KLg033rAFaQUn2PGuE32ZRe4iMhflbTcAxL0yEYsRWFxtPro8RQ==} '@vue/compiler-ssr@3.4.21': resolution: {integrity: sha512-M5+9nI2lPpAsgXOGQobnIueVqc9sisBFexh5yMIMRAPYLa7+5wEJs8iqOZc1WAa9WQbx9GR2twgznU8LTIiZ4Q==} - '@vue/compiler-ssr@3.5.13': - resolution: {integrity: sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA==} - '@vue/compiler-ssr@3.5.15': resolution: {integrity: sha512-gShn8zRREZbrXqTtmLSCffgZXDWv8nHc/GhsW+mbwBfNZL5pI96e7IWcIq8XGQe1TLtVbu7EV9gFIVSmfyarPg==} @@ -2468,6 +2465,11 @@ packages: engines: {node: '>=0.4.0'} hasBin: true + acorn@8.15.0: + resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} + engines: {node: '>=0.4.0'} + hasBin: true + address@1.2.2: resolution: {integrity: sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==} engines: {node: '>= 10.0.0'} @@ -2617,8 +2619,8 @@ packages: resolution: {integrity: sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + brace-expansion@1.1.12: + resolution: {integrity: sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==} brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} @@ -2825,10 +2827,6 @@ packages: confbox@0.2.2: resolution: {integrity: sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==} - consola@3.2.3: - resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} - engines: {node: ^14.18.0 || >=16.10.0} - consola@3.4.2: resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==} engines: {node: ^14.18.0 || >=16.10.0} @@ -3024,9 +3022,6 @@ packages: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} - destr@2.0.3: - resolution: {integrity: sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ==} - destr@2.0.5: resolution: {integrity: sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==} @@ -3034,6 +3029,10 @@ packages: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} + detect-indent@6.1.0: + resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} + engines: {node: '>=8'} + detect-newline@3.1.0: resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} engines: {node: '>=8'} @@ -3067,10 +3066,6 @@ packages: resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==} engines: {node: '>=8'} - dotenv@16.4.7: - resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==} - engines: {node: '>=12'} - dotenv@16.5.0: resolution: {integrity: sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg==} engines: {node: '>=12'} @@ -3413,10 +3408,6 @@ packages: get-tsconfig@4.10.1: resolution: {integrity: sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==} - giget@1.2.3: - resolution: {integrity: sha512-8EHPljDvs7qKykr6uw8b+lqLiUc/vUg+KVTI0uND4s63TdsZM2Xus3mflvF0DDG9SiM4RlCkFGL+7aAjRmV7KA==} - hasBin: true - giget@1.2.5: resolution: {integrity: sha512-r1ekGw/Bgpi3HLV3h1MRBIlSAdHoIMklpaQ3OQLFcRw9PwAj2rqigvIbg+dBUI51OxVI2jsEtDywDBjSiuf7Ug==} hasBin: true @@ -3575,6 +3566,9 @@ packages: import-meta-resolve@4.1.0: resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} + importx@0.4.4: + resolution: {integrity: sha512-Lo1pukzAREqrBnnHC+tj+lreMTAvyxtkKsMxLY8H15M/bvLl54p3YuoTI70Tz7Il0AsgSlD7Lrk/FaApRcBL7w==} + importx@0.5.2: resolution: {integrity: sha512-YEwlK86Ml5WiTxN/ECUYC5U7jd1CisAVw7ya4i9ZppBoHfFkT2+hChhr3PE2fYxUKLkNyivxEQpa5Ruil1LJBQ==} @@ -3856,6 +3850,10 @@ packages: resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} hasBin: true + jiti@2.0.0-beta.3: + resolution: {integrity: sha512-pmfRbVRs/7khFrSAYnSiJ8C0D5GvzkE4Ey2pAvUcJsw1ly/p+7ut27jbJrjY79BpAJQJ4gXYFtK6d1Aub+9baQ==} + hasBin: true + jiti@2.4.2: resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} hasBin: true @@ -4004,22 +4002,15 @@ packages: resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - lodash-es@4.17.21: - resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} - - lodash-unified@1.0.3: - resolution: {integrity: sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==} - peerDependencies: - '@types/lodash-es': '*' - lodash: '*' - lodash-es: '*' - lodash.camelcase@4.3.0: resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} lodash.debounce@4.0.8: resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} + lodash.groupby@4.6.0: + resolution: {integrity: sha512-5dcWxm23+VAoz+awKmBaiBvzox8+RqMgFhi7UvX9DHZr2HdxHXM/Wrf8cfKpsW37RNrvtPn6hSwNqurSILbmJw==} + lodash.isplainobject@4.0.6: resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} @@ -4259,9 +4250,6 @@ packages: resolution: {integrity: sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==} engines: {node: 4.x || >=6.0.0} - node-fetch-native@1.6.4: - resolution: {integrity: sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==} - node-fetch-native@1.6.6: resolution: {integrity: sha512-8Mc2HhqPdlIfedsuZoc3yioPuzp6b+L5jRCRY1QzuWZh2EGJVQrGppC6V6cF0bLdbW0+O2YpqCA25aF/1lvipQ==} @@ -4316,11 +4304,6 @@ packages: nwsapi@2.2.20: resolution: {integrity: sha512-/ieB+mDe4MrrKMT8z+mQL8klXydZWGR5Dowt4RAGKbJ3kIGEx3X4ljUo+6V73IXtUPWgfOlU5B9MlGxFO5T+cA==} - nypm@0.3.12: - resolution: {integrity: sha512-D3pzNDWIvgA+7IORhD/IuWzEk4uXv6GsgOxiid4UU3h9oq5IqV1KtPDi63n4sZJ/xcWlr88c0QM2RgN5VbOhFA==} - engines: {node: ^14.16.0 || >=16.10.0} - hasBin: true - nypm@0.5.4: resolution: {integrity: sha512-X0SNNrZiGU8/e/zAB7sCTtdxWTMSIO73q+xuKgglm2Yvzwlo8UoC5FNySQFCvl84uPaeADkqHUZUkWy4aH4xOA==} engines: {node: ^14.16.0 || >=16.10.0} @@ -5195,8 +5178,8 @@ packages: ufo@1.6.1: resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==} - unconfig@0.3.13: - resolution: {integrity: sha512-N9Ph5NC4+sqtcOjPfHrRcHekBCadCXWTBzp2VYYbySOHW0PfD9XLCeXshTXjkPYwLrBr9AtSeU0CZmkYECJhng==} + unconfig@0.5.5: + resolution: {integrity: sha512-VQZ5PT9HDX+qag0XdgQi8tJepPhXiR/yVOkn707gJDKo31lGjRilPREiQJ9Z6zd/Ugpv6ZvO5VxVIcatldYcNQ==} unconfig@0.6.1: resolution: {integrity: sha512-cVU+/sPloZqOyJEAfNwnQSFCzFrZm85vcVkryH7lnlB/PiTycUkAjt5Ds79cfIshGOZ+M5v3PBDnKgpmlE5DtA==} @@ -5207,6 +5190,9 @@ packages: undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + undici-types@6.21.0: + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + unicode-canonical-property-names-ecmascript@2.0.1: resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==} engines: {node: '>=4'} @@ -5660,10 +5646,10 @@ snapshots: '@jridgewell/trace-mapping': 0.3.25 jsesc: 3.1.0 - '@babel/generator@7.27.3': + '@babel/generator@7.27.5': dependencies: - '@babel/parser': 7.27.3 - '@babel/types': 7.27.3 + '@babel/parser': 7.27.5 + '@babel/types': 7.27.6 '@jridgewell/gen-mapping': 0.3.8 '@jridgewell/trace-mapping': 0.3.25 jsesc: 3.1.0 @@ -5810,9 +5796,9 @@ snapshots: dependencies: '@babel/types': 7.27.1 - '@babel/parser@7.27.3': + '@babel/parser@7.27.5': dependencies: - '@babel/types': 7.27.3 + '@babel/types': 7.27.6 '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(@babel/core@7.26.0)': dependencies: @@ -6405,13 +6391,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/traverse@7.27.3': + '@babel/traverse@7.27.4': dependencies: '@babel/code-frame': 7.27.1 - '@babel/generator': 7.27.3 - '@babel/parser': 7.27.3 + '@babel/generator': 7.27.5 + '@babel/parser': 7.27.5 '@babel/template': 7.27.2 - '@babel/types': 7.27.3 + '@babel/types': 7.27.6 debug: 4.4.1 globals: 11.12.0 transitivePeerDependencies: @@ -6427,7 +6413,7 @@ snapshots: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 - '@babel/types@7.27.3': + '@babel/types@7.27.6': dependencies: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 @@ -7478,7 +7464,7 @@ snapshots: '@jest/console@27.5.1': dependencies: '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 chalk: 4.1.2 jest-message-util: 27.5.1 jest-util: 27.5.1 @@ -7491,7 +7477,7 @@ snapshots: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 @@ -7525,14 +7511,14 @@ snapshots: dependencies: '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 jest-mock: 27.5.1 '@jest/fake-timers@27.5.1': dependencies: '@jest/types': 27.5.1 '@sinonjs/fake-timers': 8.1.0 - '@types/node': 20.17.50 + '@types/node': 20.19.0 jest-message-util: 27.5.1 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -7550,7 +7536,7 @@ snapshots: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -7619,7 +7605,7 @@ snapshots: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.17.50 + '@types/node': 20.19.0 '@types/yargs': 16.0.9 chalk: 4.1.2 @@ -8175,24 +8161,24 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.27.3 - '@babel/types': 7.27.3 + '@babel/parser': 7.27.5 + '@babel/types': 7.27.6 '@types/babel__generator': 7.27.0 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.7 '@types/babel__generator@7.27.0': dependencies: - '@babel/types': 7.27.3 + '@babel/types': 7.27.6 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.27.3 - '@babel/types': 7.27.3 + '@babel/parser': 7.27.5 + '@babel/types': 7.27.6 '@types/babel__traverse@7.20.7': dependencies: - '@babel/types': 7.27.3 + '@babel/types': 7.27.6 '@types/cacheable-request@6.0.3': dependencies: @@ -8211,7 +8197,7 @@ snapshots: '@types/graceful-fs@4.1.9': dependencies: - '@types/node': 20.17.50 + '@types/node': 20.19.0 '@types/http-cache-semantics@4.0.4': {} @@ -8229,12 +8215,6 @@ snapshots: dependencies: '@types/node': 20.17.9 - '@types/lodash-es@4.17.12': - dependencies: - '@types/lodash': 4.17.17 - - '@types/lodash@4.17.17': {} - '@types/node@20.17.50': dependencies: undici-types: 6.19.8 @@ -8243,6 +8223,10 @@ snapshots: dependencies: undici-types: 6.19.8 + '@types/node@20.19.0': + dependencies: + undici-types: 6.21.0 + '@types/prettier@2.7.3': {} '@types/responselike@1.0.3': @@ -8289,13 +8273,13 @@ snapshots: typescript: 5.7.2 vue: 3.5.15(typescript@5.7.2) - '@uni-helper/unocss-preset-uni@0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.1.2)(@unocss/vite@66.1.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.1.2)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)))': + '@uni-helper/unocss-preset-uni@0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)))': dependencies: '@uni-helper/uni-env': 0.1.7 '@unocss/preset-legacy-compat': 0.59.4 - '@unocss/rule-utils': 66.1.2 + '@unocss/rule-utils': 66.2.0 unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) - unocss-applet: 0.10.0(@unocss/core@66.1.2)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))) + unocss-applet: 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))) optionalDependencies: '@unocss/preset-mini': 66.1.2 '@unocss/vite': 66.1.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) @@ -8303,7 +8287,7 @@ snapshots: '@uni-helper/vite-plugin-uni-components@0.2.0(rollup@4.41.1)': dependencies: '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.3(rollup@4.41.1) + '@rollup/pluginutils': 5.1.4(rollup@4.41.1) chokidar: 3.6.0 debug: 4.4.1 fast-glob: 3.3.3 @@ -8317,16 +8301,16 @@ snapshots: '@uni-helper/vite-plugin-uni-layouts@0.1.10(rollup@4.41.1)': dependencies: - '@babel/types': 7.26.0 + '@babel/types': 7.27.6 '@uni-helper/uni-env': 0.1.7 - '@vue/compiler-core': 3.5.13 - '@vue/compiler-sfc': 3.5.13 + '@vue/compiler-core': 3.5.15 + '@vue/compiler-sfc': 3.5.15 ast-kit: 0.11.3(rollup@4.41.1) c12: 1.11.2 chokidar: 3.6.0 - fast-glob: 3.3.2 + fast-glob: 3.3.3 jsonc-parser: 3.3.1 - magic-string: 0.30.14 + magic-string: 0.30.17 scule: 1.3.0 transitivePeerDependencies: - magicast @@ -8339,22 +8323,22 @@ snapshots: transitivePeerDependencies: - magicast - '@uni-helper/vite-plugin-uni-pages@0.2.20(@types/lodash-es@4.17.12)(lodash-es@4.17.21)(lodash@4.17.21)': + '@uni-helper/vite-plugin-uni-pages@0.2.28(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))': dependencies: '@uni-helper/uni-env': 0.1.7 - '@vue/compiler-sfc': 3.5.13 + '@vue/compiler-sfc': 3.5.15 chokidar: 3.6.0 - debug: 4.3.7 - fast-glob: 3.3.2 + debug: 4.4.1 + detect-indent: 6.1.0 + detect-newline: 3.1.0 + fast-glob: 3.3.3 json5: 2.2.3 - lodash-unified: 1.0.3(@types/lodash-es@4.17.12)(lodash-es@4.17.21)(lodash@4.17.21) - magic-string: 0.30.14 - unconfig: 0.3.13 + lodash.groupby: 4.6.0 + magic-string: 0.30.17 + unconfig: 0.5.5 + vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) yaml: 2.6.1 transitivePeerDependencies: - - '@types/lodash-es' - - lodash - - lodash-es - supports-color '@uni-helper/vite-plugin-uni-platform@0.0.4': @@ -8378,20 +8362,20 @@ snapshots: - ts-node - vue - '@unocss-applet/preset-applet@0.10.0(@unocss/core@66.1.2)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)': + '@unocss-applet/preset-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)': dependencies: - '@unocss/core': 66.1.2 + '@unocss/core': 66.2.0 '@unocss/preset-mini': 66.1.2 '@unocss/preset-wind3': 66.1.2 - '@unocss/preset-wind4': 66.1.2 + '@unocss/preset-wind4': 66.2.0 - '@unocss-applet/preset-rem-rpx@0.10.0(@unocss/core@66.1.2)': + '@unocss-applet/preset-rem-rpx@0.10.0(@unocss/core@66.2.0)': dependencies: - '@unocss/core': 66.1.2 + '@unocss/core': 66.2.0 - '@unocss-applet/transformer-attributify@0.10.0(@unocss/core@66.1.2)': + '@unocss-applet/transformer-attributify@0.10.0(@unocss/core@66.2.0)': dependencies: - '@unocss/core': 66.1.2 + '@unocss/core': 66.2.0 magic-string: 0.30.17 '@unocss/astro@65.4.2(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': @@ -8444,6 +8428,8 @@ snapshots: '@unocss/core@66.1.2': {} + '@unocss/core@66.2.0': {} + '@unocss/extractor-arbitrary-variants@65.4.2': dependencies: '@unocss/core': 65.4.2 @@ -8452,6 +8438,10 @@ snapshots: dependencies: '@unocss/core': 66.1.2 + '@unocss/extractor-arbitrary-variants@66.2.0': + dependencies: + '@unocss/core': 66.2.0 + '@unocss/inspector@65.4.2(vue@3.5.15(typescript@5.7.2))': dependencies: '@unocss/core': 65.4.2 @@ -8541,11 +8531,11 @@ snapshots: '@unocss/preset-mini': 66.1.2 '@unocss/rule-utils': 66.1.2 - '@unocss/preset-wind4@66.1.2': + '@unocss/preset-wind4@66.2.0': dependencies: - '@unocss/core': 66.1.2 - '@unocss/extractor-arbitrary-variants': 66.1.2 - '@unocss/rule-utils': 66.1.2 + '@unocss/core': 66.2.0 + '@unocss/extractor-arbitrary-variants': 66.2.0 + '@unocss/rule-utils': 66.2.0 '@unocss/preset-wind@65.4.2': dependencies: @@ -8562,7 +8552,12 @@ snapshots: '@unocss/rule-utils@66.1.2': dependencies: - '@unocss/core': 66.1.2 + '@unocss/core': 66.2.0 + magic-string: 0.30.17 + + '@unocss/rule-utils@66.2.0': + dependencies: + '@unocss/core': 66.2.0 magic-string: 0.30.17 '@unocss/transformer-attributify-jsx@65.4.2': @@ -8695,14 +8690,6 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.1 - '@vue/compiler-core@3.5.13': - dependencies: - '@babel/parser': 7.26.2 - '@vue/shared': 3.5.13 - entities: 4.5.0 - estree-walker: 2.0.2 - source-map-js: 1.2.1 - '@vue/compiler-core@3.5.15': dependencies: '@babel/parser': 7.27.2 @@ -8716,11 +8703,6 @@ snapshots: '@vue/compiler-core': 3.4.21 '@vue/shared': 3.4.21 - '@vue/compiler-dom@3.5.13': - dependencies: - '@vue/compiler-core': 3.5.13 - '@vue/shared': 3.5.13 - '@vue/compiler-dom@3.5.15': dependencies: '@vue/compiler-core': 3.5.15 @@ -8738,18 +8720,6 @@ snapshots: postcss: 8.4.49 source-map-js: 1.2.1 - '@vue/compiler-sfc@3.5.13': - dependencies: - '@babel/parser': 7.26.2 - '@vue/compiler-core': 3.5.13 - '@vue/compiler-dom': 3.5.13 - '@vue/compiler-ssr': 3.5.13 - '@vue/shared': 3.5.13 - estree-walker: 2.0.2 - magic-string: 0.30.14 - postcss: 8.4.49 - source-map-js: 1.2.1 - '@vue/compiler-sfc@3.5.15': dependencies: '@babel/parser': 7.27.2 @@ -8767,11 +8737,6 @@ snapshots: '@vue/compiler-dom': 3.4.21 '@vue/shared': 3.4.21 - '@vue/compiler-ssr@3.5.13': - dependencies: - '@vue/compiler-dom': 3.5.13 - '@vue/shared': 3.5.13 - '@vue/compiler-ssr@3.5.15': dependencies: '@vue/compiler-dom': 3.5.15 @@ -8875,6 +8840,8 @@ snapshots: acorn@8.14.1: {} + acorn@8.15.0: {} + address@1.2.2: {} adm-zip@0.5.16: {} @@ -8935,8 +8902,8 @@ snapshots: ast-kit@0.11.3(rollup@4.41.1): dependencies: - '@babel/parser': 7.26.2 - '@rollup/pluginutils': 5.1.3(rollup@4.41.1) + '@babel/parser': 7.27.5 + '@rollup/pluginutils': 5.1.4(rollup@4.41.1) pathe: 1.1.2 transitivePeerDependencies: - rollup @@ -8988,7 +8955,7 @@ snapshots: babel-plugin-jest-hoist@27.5.1: dependencies: '@babel/template': 7.27.2 - '@babel/types': 7.27.3 + '@babel/types': 7.27.6 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.7 @@ -9072,7 +9039,7 @@ snapshots: transitivePeerDependencies: - supports-color - brace-expansion@1.1.11: + brace-expansion@1.1.12: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 @@ -9112,6 +9079,11 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 + bundle-require@5.1.0(esbuild@0.20.2): + dependencies: + esbuild: 0.20.2 + load-tsconfig: 0.2.5 + bundle-require@5.1.0(esbuild@0.25.5): dependencies: esbuild: 0.25.5 @@ -9124,14 +9096,14 @@ snapshots: chokidar: 3.6.0 confbox: 0.1.8 defu: 6.1.4 - dotenv: 16.4.7 - giget: 1.2.3 + dotenv: 16.5.0 + giget: 1.2.5 jiti: 1.21.6 - mlly: 1.7.3 + mlly: 1.7.4 ohash: 1.1.4 pathe: 1.1.2 perfect-debounce: 1.0.0 - pkg-types: 1.2.1 + pkg-types: 1.3.1 rc9: 2.1.2 c12@2.0.4: @@ -9225,7 +9197,7 @@ snapshots: citty@0.1.6: dependencies: - consola: 3.2.3 + consola: 3.4.2 cjs-module-lexer@1.4.3: {} @@ -9289,8 +9261,6 @@ snapshots: confbox@0.2.2: {} - consola@3.2.3: {} - consola@3.4.2: {} content-disposition@0.5.4: @@ -9442,12 +9412,12 @@ snapshots: depd@2.0.0: {} - destr@2.0.3: {} - destr@2.0.5: {} destroy@1.2.0: {} + detect-indent@6.1.0: {} + detect-newline@3.1.0: {} diff-sequences@27.5.1: {} @@ -9480,8 +9450,6 @@ snapshots: dependencies: is-obj: 2.0.0 - dotenv@16.4.7: {} - dotenv@16.5.0: {} dunder-proto@1.0.1: @@ -9897,17 +9865,6 @@ snapshots: dependencies: resolve-pkg-maps: 1.0.0 - giget@1.2.3: - dependencies: - citty: 0.1.6 - consola: 3.2.3 - defu: 6.1.4 - node-fetch-native: 1.6.4 - nypm: 0.3.12 - ohash: 1.1.4 - pathe: 1.1.2 - tar: 6.2.1 - giget@1.2.5: dependencies: citty: 0.1.6 @@ -10080,6 +10037,18 @@ snapshots: import-meta-resolve@4.1.0: {} + importx@0.4.4: + dependencies: + bundle-require: 5.1.0(esbuild@0.20.2) + debug: 4.4.1 + esbuild: 0.20.2 + jiti: 2.0.0-beta.3 + jiti-v1: jiti@1.21.6 + pathe: 1.1.2 + tsx: 4.19.4 + transitivePeerDependencies: + - supports-color + importx@0.5.2: dependencies: bundle-require: 5.1.0(esbuild@0.25.5) @@ -10167,7 +10136,7 @@ snapshots: istanbul-lib-instrument@5.2.1: dependencies: '@babel/core': 7.26.0 - '@babel/parser': 7.27.3 + '@babel/parser': 7.27.5 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -10210,7 +10179,7 @@ snapshots: '@jest/environment': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -10306,7 +10275,7 @@ snapshots: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 jest-mock: 27.5.1 jest-util: 27.5.1 jsdom: 16.7.0 @@ -10321,7 +10290,7 @@ snapshots: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -10331,7 +10300,7 @@ snapshots: dependencies: '@jest/types': 27.5.1 '@types/graceful-fs': 4.1.9 - '@types/node': 20.17.50 + '@types/node': 20.19.0 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -10350,7 +10319,7 @@ snapshots: '@jest/source-map': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 chalk: 4.1.2 co: 4.6.0 expect: 27.5.1 @@ -10393,7 +10362,7 @@ snapshots: jest-mock@27.5.1: dependencies: '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 jest-pnp-resolver@1.2.3(jest-resolve@27.5.1): optionalDependencies: @@ -10429,7 +10398,7 @@ snapshots: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 chalk: 4.1.2 emittery: 0.8.1 graceful-fs: 4.2.11 @@ -10480,16 +10449,16 @@ snapshots: jest-serializer@27.5.1: dependencies: - '@types/node': 20.17.50 + '@types/node': 20.19.0 graceful-fs: 4.2.11 jest-snapshot@27.5.1: dependencies: '@babel/core': 7.26.0 - '@babel/generator': 7.27.3 + '@babel/generator': 7.27.5 '@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.26.0) - '@babel/traverse': 7.27.3 - '@babel/types': 7.27.3 + '@babel/traverse': 7.27.4 + '@babel/types': 7.27.6 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 '@types/babel__traverse': 7.20.7 @@ -10513,7 +10482,7 @@ snapshots: jest-util@27.5.1: dependencies: '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -10532,7 +10501,7 @@ snapshots: dependencies: '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.17.50 + '@types/node': 20.19.0 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 27.5.1 @@ -10540,7 +10509,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 20.17.50 + '@types/node': 20.19.0 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -10569,6 +10538,8 @@ snapshots: jiti@1.21.6: {} + jiti@2.0.0-beta.3: {} + jiti@2.4.2: {} jpeg-js@0.3.7: {} @@ -10591,7 +10562,7 @@ snapshots: jsdom@16.7.0: dependencies: abab: 2.0.6 - acorn: 8.14.1 + acorn: 8.15.0 acorn-globals: 6.0.0 cssom: 0.4.4 cssstyle: 2.3.0 @@ -10732,18 +10703,12 @@ snapshots: dependencies: p-locate: 6.0.0 - lodash-es@4.17.21: {} - - lodash-unified@1.0.3(@types/lodash-es@4.17.12)(lodash-es@4.17.21)(lodash@4.17.21): - dependencies: - '@types/lodash-es': 4.17.12 - lodash: 4.17.21 - lodash-es: 4.17.21 - lodash.camelcase@4.3.0: {} lodash.debounce@4.0.8: {} + lodash.groupby@4.6.0: {} + lodash.isplainobject@4.0.6: {} lodash.kebabcase@4.1.1: {} @@ -10866,7 +10831,7 @@ snapshots: minimatch@3.1.2: dependencies: - brace-expansion: 1.1.11 + brace-expansion: 1.1.12 minimatch@8.0.4: dependencies: @@ -10939,8 +10904,6 @@ snapshots: dependencies: http2-client: 1.3.5 - node-fetch-native@1.6.4: {} - node-fetch-native@1.6.6: {} node-fetch@2.7.0: @@ -10979,15 +10942,6 @@ snapshots: nwsapi@2.2.20: {} - nypm@0.3.12: - dependencies: - citty: 0.1.6 - consola: 3.2.3 - execa: 8.0.1 - pathe: 1.1.2 - pkg-types: 1.2.1 - ufo: 1.5.4 - nypm@0.5.4: dependencies: citty: 0.1.6 @@ -11415,7 +11369,7 @@ snapshots: rc9@2.1.2: dependencies: defu: 6.1.4 - destr: 2.0.3 + destr: 2.0.5 react-is@17.0.2: {} @@ -11900,11 +11854,13 @@ snapshots: ufo@1.6.1: {} - unconfig@0.3.13: + unconfig@0.5.5: dependencies: '@antfu/utils': 0.7.10 defu: 6.1.4 - jiti: 1.21.6 + importx: 0.4.4 + transitivePeerDependencies: + - supports-color unconfig@0.6.1: dependencies: @@ -11924,6 +11880,8 @@ snapshots: undici-types@6.19.8: {} + undici-types@6.21.0: {} + unicode-canonical-property-names-ecmascript@2.0.1: {} unicode-match-property-ecmascript@2.0.0: @@ -11977,11 +11935,11 @@ snapshots: universalify@2.0.1: {} - unocss-applet@0.10.0(@unocss/core@66.1.2)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))): + unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))): dependencies: - '@unocss-applet/preset-applet': 0.10.0(@unocss/core@66.1.2)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2) - '@unocss-applet/preset-rem-rpx': 0.10.0(@unocss/core@66.1.2) - '@unocss-applet/transformer-attributify': 0.10.0(@unocss/core@66.1.2) + '@unocss-applet/preset-applet': 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2) + '@unocss-applet/preset-rem-rpx': 0.10.0(@unocss/core@66.2.0) + '@unocss-applet/transformer-attributify': 0.10.0(@unocss/core@66.2.0) unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) transitivePeerDependencies: - '@unocss/core' From 0864bc9e3f70dac8e5ddbd90473e0bf76eea8472 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 14 Jun 2025 10:54:05 +0800 Subject: [PATCH 081/147] =?UTF-8?q?chore:=20=E9=99=8D=E7=BA=A7=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E7=89=88=E6=9C=AC=E8=87=B3vue@3.4.21=E5=92=8Cvite@5.2?= =?UTF-8?q?.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新package.json和pnpm-lock.yaml文件,将vue从3.5.15降级至3.4.21,vite从6.3.5降级至5.2.8版本 --- package.json | 4 +- pnpm-lock.yaml | 140 +++++++++++++++++++++---------------------------- 2 files changed, 63 insertions(+), 81 deletions(-) diff --git a/package.json b/package.json index 575bdc7..af4760d 100644 --- a/package.json +++ b/package.json @@ -111,7 +111,7 @@ "pinia": "2.0.36", "pinia-plugin-persistedstate": "3.2.1", "qs": "6.5.3", - "vue": "^3.5.15", + "vue": "^3.4.21", "wot-design-uni": "^1.9.1", "z-paging": "^2.8.4" }, @@ -154,7 +154,7 @@ "typescript": "^5.7.2", "unocss": "65.4.2", "unplugin-auto-import": "^0.17.8", - "vite": "6.3.5", + "vite": "5.2.8", "vite-plugin-restart": "^0.4.2", "vue-tsc": "^2.2.10" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 37449f9..6139983 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,10 +16,10 @@ importers: version: 3.0.0-4060620250520001(@dcloudio/types@3.4.14)(postcss@8.4.49)(rollup@4.41.1)(vue@3.5.15(typescript@5.7.2)) '@dcloudio/uni-app-harmony': specifier: 3.0.0-4060620250520001 - version: 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + version: 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@dcloudio/uni-app-plus': specifier: 3.0.0-4060620250520001 - version: 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + version: 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@dcloudio/uni-components': specifier: 3.0.0-4060620250520001 version: 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vue@3.5.15(typescript@5.7.2)) @@ -81,7 +81,7 @@ importers: specifier: 6.5.3 version: 6.5.3 vue: - specifier: ^3.5.15 + specifier: ^3.4.21 version: 3.5.15(typescript@5.7.2) wot-design-uni: specifier: ^1.9.1 @@ -110,7 +110,7 @@ importers: version: 3.0.0-4060620250520001 '@dcloudio/vite-plugin-uni': specifier: 3.0.0-4060620250520001 - version: 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + version: 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@esbuild/darwin-arm64': specifier: 0.25.5 version: 0.25.5 @@ -134,7 +134,7 @@ importers: version: 1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-cloud-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-ui-types@1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)) '@uni-helper/unocss-preset-uni': specifier: ^0.2.11 - version: 0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))) + version: 0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) '@uni-helper/vite-plugin-uni-components': specifier: 0.2.0 version: 0.2.0(rollup@4.41.1) @@ -143,16 +143,16 @@ importers: version: 0.1.10(rollup@4.41.1) '@uni-helper/vite-plugin-uni-manifest': specifier: 0.2.8 - version: 0.2.8(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1)) + version: 0.2.8(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0)) '@uni-helper/vite-plugin-uni-pages': specifier: 0.2.28 - version: 0.2.28(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1)) + version: 0.2.28(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0)) '@uni-helper/vite-plugin-uni-platform': specifier: 0.0.4 version: 0.0.4 '@uni-ku/bundle-optimizer': specifier: ^1.3.3 - version: 1.3.3(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + version: 1.3.3(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@unocss/preset-legacy-compat': specifier: ^0.59.4 version: 0.59.4 @@ -200,16 +200,16 @@ importers: version: 5.7.2 unocss: specifier: 65.4.2 - version: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + version: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) unplugin-auto-import: specifier: ^0.17.8 version: 0.17.8(rollup@4.41.1) vite: - specifier: 6.3.5 - version: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + specifier: 5.2.8 + version: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) vite-plugin-restart: specifier: ^0.4.2 - version: 0.4.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1)) + version: 0.4.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0)) vue-tsc: specifier: ^2.2.10 version: 2.2.10(typescript@5.7.2) @@ -5332,45 +5332,33 @@ packages: peerDependencies: vite: ^2.9.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 - vite@6.3.5: - resolution: {integrity: sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + vite@5.2.8: + resolution: {integrity: sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - jiti: '>=1.21.0' + '@types/node': ^18.0.0 || >=20.0.0 less: '*' lightningcss: ^1.21.0 sass: '*' - sass-embedded: '*' stylus: '*' sugarss: '*' - terser: ^5.16.0 - tsx: ^4.8.1 - yaml: ^2.4.2 + terser: ^5.4.0 peerDependenciesMeta: '@types/node': optional: true - jiti: - optional: true less: optional: true lightningcss: optional: true sass: optional: true - sass-embedded: - optional: true stylus: optional: true sugarss: optional: true terser: optional: true - tsx: - optional: true - yaml: - optional: true vscode-uri@3.1.0: resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==} @@ -6532,10 +6520,10 @@ snapshots: '@dcloudio/types@3.4.14': {} - '@dcloudio/uni-app-harmony@3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@dcloudio/uni-app-harmony@3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@dcloudio/uni-app-uts': 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vue@3.5.15(typescript@5.7.2)) - '@dcloudio/uni-app-vite': 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + '@dcloudio/uni-app-vite': 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) debug: 4.4.1 fs-extra: 10.1.0 licia: 1.46.0 @@ -6550,10 +6538,10 @@ snapshots: - vite - vue - '@dcloudio/uni-app-plus@3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@dcloudio/uni-app-plus@3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@dcloudio/uni-app-uts': 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vue@3.5.15(typescript@5.7.2)) - '@dcloudio/uni-app-vite': 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + '@dcloudio/uni-app-vite': 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@dcloudio/uni-app-vue': 3.0.0-4060620250520001 debug: 4.4.1 fs-extra: 10.1.0 @@ -6603,14 +6591,14 @@ snapshots: - ts-node - vue - '@dcloudio/uni-app-vite@3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@dcloudio/uni-app-vite@3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@dcloudio/uni-cli-shared': 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vue@3.5.15(typescript@5.7.2)) '@dcloudio/uni-i18n': 3.0.0-4060620250520001 '@dcloudio/uni-nvue-styler': 3.0.0-4060620250520001 '@dcloudio/uni-shared': 3.0.0-4060620250520001 '@rollup/pluginutils': 5.1.3(rollup@4.41.1) - '@vitejs/plugin-vue': 5.1.0(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + '@vitejs/plugin-vue': 5.1.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@vue/compiler-dom': 3.4.21 '@vue/compiler-sfc': 3.4.21 debug: 4.4.1 @@ -7191,7 +7179,7 @@ snapshots: - ts-node - vue - '@dcloudio/vite-plugin-uni@3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@dcloudio/vite-plugin-uni@3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.26.0) @@ -7199,9 +7187,9 @@ snapshots: '@dcloudio/uni-cli-shared': 3.0.0-4060620250520001(postcss@8.4.49)(rollup@4.41.1)(vue@3.5.15(typescript@5.7.2)) '@dcloudio/uni-shared': 3.0.0-4060620250520001 '@rollup/pluginutils': 5.1.3(rollup@4.41.1) - '@vitejs/plugin-legacy': 5.3.2(terser@5.36.0)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1)) - '@vitejs/plugin-vue': 5.1.0(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) - '@vitejs/plugin-vue-jsx': 3.1.0(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + '@vitejs/plugin-legacy': 5.3.2(terser@5.36.0)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0)) + '@vitejs/plugin-vue': 5.1.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + '@vitejs/plugin-vue-jsx': 3.1.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@vue/compiler-core': 3.4.21 '@vue/compiler-dom': 3.4.21 '@vue/compiler-sfc': 3.4.21 @@ -7218,7 +7206,7 @@ snapshots: picocolors: 1.1.1 terser: 5.36.0 unplugin-auto-import: 19.1.0 - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - '@nuxt/kit' - '@vueuse/core' @@ -8273,16 +8261,16 @@ snapshots: typescript: 5.7.2 vue: 3.5.15(typescript@5.7.2) - '@uni-helper/unocss-preset-uni@0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)))': + '@uni-helper/unocss-preset-uni@0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))': dependencies: '@uni-helper/uni-env': 0.1.7 '@unocss/preset-legacy-compat': 0.59.4 '@unocss/rule-utils': 66.2.0 - unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) - unocss-applet: 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))) + unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + unocss-applet: 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) optionalDependencies: '@unocss/preset-mini': 66.1.2 - '@unocss/vite': 66.1.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + '@unocss/vite': 66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@uni-helper/vite-plugin-uni-components@0.2.0(rollup@4.41.1)': dependencies: @@ -8316,14 +8304,14 @@ snapshots: - magicast - rollup - '@uni-helper/vite-plugin-uni-manifest@0.2.8(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))': + '@uni-helper/vite-plugin-uni-manifest@0.2.8(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))': dependencies: c12: 2.0.4 - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - magicast - '@uni-helper/vite-plugin-uni-pages@0.2.28(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))': + '@uni-helper/vite-plugin-uni-pages@0.2.28(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))': dependencies: '@uni-helper/uni-env': 0.1.7 '@vue/compiler-sfc': 3.5.15 @@ -8336,7 +8324,7 @@ snapshots: lodash.groupby: 4.6.0 magic-string: 0.30.17 unconfig: 0.5.5 - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) yaml: 2.6.1 transitivePeerDependencies: - supports-color @@ -8345,14 +8333,14 @@ snapshots: dependencies: '@uni-helper/uni-env': 0.0.3 - '@uni-ku/bundle-optimizer@1.3.3(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@uni-ku/bundle-optimizer@1.3.3(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@dcloudio/uni-cli-shared': 3.0.0-4020820240925001(postcss@8.4.49)(rollup@4.41.1)(vue@3.5.15(typescript@5.7.2)) '@node-rs/xxhash': 1.7.6 chalk: 4.1.2 magic-string: 0.30.17 minimatch: 9.0.5 - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - '@nuxt/kit' - '@vueuse/core' @@ -8378,13 +8366,13 @@ snapshots: '@unocss/core': 66.2.0 magic-string: 0.30.17 - '@unocss/astro@65.4.2(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@unocss/astro@65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@unocss/core': 65.4.2 '@unocss/reset': 65.4.2 - '@unocss/vite': 65.4.2(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + '@unocss/vite': 65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) optionalDependencies: - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - rollup - supports-color @@ -8578,7 +8566,7 @@ snapshots: dependencies: '@unocss/core': 65.4.2 - '@unocss/vite@65.4.2(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@unocss/vite@65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@ampproject/remapping': 2.3.0 '@rollup/pluginutils': 5.1.4(rollup@4.41.1) @@ -8588,13 +8576,13 @@ snapshots: chokidar: 3.6.0 magic-string: 0.30.17 tinyglobby: 0.2.14 - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - rollup - supports-color - vue - '@unocss/vite@66.1.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@unocss/vite@66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@ampproject/remapping': 2.3.0 '@unocss/config': 66.1.2 @@ -8605,12 +8593,12 @@ snapshots: pathe: 2.0.3 tinyglobby: 0.2.14 unplugin-utils: 0.2.4 - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - vue optional: true - '@vitejs/plugin-legacy@5.3.2(terser@5.36.0)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))': + '@vitejs/plugin-legacy@5.3.2(terser@5.36.0)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))': dependencies: '@babel/core': 7.26.0 '@babel/preset-env': 7.26.0(@babel/core@7.26.0) @@ -8621,23 +8609,23 @@ snapshots: regenerator-runtime: 0.14.1 systemjs: 6.15.1 terser: 5.36.0 - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue-jsx@3.1.0(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-typescript': 7.25.9(@babel/core@7.26.0) '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.26.0) - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) vue: 3.5.15(typescript@5.7.2) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.0(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))': + '@vitejs/plugin-vue@5.1.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) vue: 3.5.15(typescript@5.7.2) '@volar/language-core@2.4.14': @@ -11935,20 +11923,20 @@ snapshots: universalify@2.0.1: {} - unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2))): + unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))): dependencies: '@unocss-applet/preset-applet': 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2) '@unocss-applet/preset-rem-rpx': 0.10.0(@unocss/core@66.2.0) '@unocss-applet/transformer-attributify': 0.10.0(@unocss/core@66.2.0) - unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) transitivePeerDependencies: - '@unocss/core' - '@unocss/preset-mini' - '@unocss/preset-wind3' - unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)): + unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)): dependencies: - '@unocss/astro': 65.4.2(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + '@unocss/astro': 65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@unocss/cli': 65.4.2(rollup@4.41.1) '@unocss/core': 65.4.2 '@unocss/postcss': 65.4.2(postcss@8.4.49) @@ -11964,9 +11952,9 @@ snapshots: '@unocss/transformer-compile-class': 65.4.2 '@unocss/transformer-directives': 65.4.2 '@unocss/transformer-variant-group': 65.4.2 - '@unocss/vite': 65.4.2(rollup@4.41.1)(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1))(vue@3.5.15(typescript@5.7.2)) + '@unocss/vite': 65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) optionalDependencies: - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - postcss - rollup @@ -12055,27 +12043,21 @@ snapshots: vary@1.1.2: {} - vite-plugin-restart@0.4.2(vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1)): + vite-plugin-restart@0.4.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0)): dependencies: micromatch: 4.0.8 - vite: 6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1) + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) - vite@6.3.5(@types/node@20.17.9)(jiti@2.4.2)(sass@1.77.8)(terser@5.36.0)(tsx@4.19.4)(yaml@2.6.1): + vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0): dependencies: - esbuild: 0.25.5 - fdir: 6.4.4(picomatch@4.0.2) - picomatch: 4.0.2 + esbuild: 0.20.2 postcss: 8.5.3 rollup: 4.41.1 - tinyglobby: 0.2.14 optionalDependencies: '@types/node': 20.17.9 fsevents: 2.3.3 - jiti: 2.4.2 sass: 1.77.8 terser: 5.36.0 - tsx: 4.19.4 - yaml: 2.6.1 vscode-uri@3.1.0: {} From c1200eabe875019b4ff2e1aff53dff49d0ef9bcf Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 14 Jun 2025 10:55:57 +0800 Subject: [PATCH 082/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20unocss=20?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E8=87=B3=2066.2.0=20=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- pnpm-lock.yaml | 412 ++++++++++++++++--------------------------------- 2 files changed, 137 insertions(+), 277 deletions(-) diff --git a/package.json b/package.json index af4760d..a2d8f7f 100644 --- a/package.json +++ b/package.json @@ -152,7 +152,7 @@ "sass": "1.77.8", "terser": "^5.36.0", "typescript": "^5.7.2", - "unocss": "65.4.2", + "unocss": "66.2.0", "unplugin-auto-import": "^0.17.8", "vite": "5.2.8", "vite-plugin-restart": "^0.4.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6139983..4d535ae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,7 +134,7 @@ importers: version: 1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-cloud-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-ui-types@1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)) '@uni-helper/unocss-preset-uni': specifier: ^0.2.11 - version: 0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) + version: 0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.2.0)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) '@uni-helper/vite-plugin-uni-components': specifier: 0.2.0 version: 0.2.0(rollup@4.41.1) @@ -199,8 +199,8 @@ importers: specifier: ^5.7.2 version: 5.7.2 unocss: - specifier: 65.4.2 - version: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + specifier: 66.2.0 + version: 66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) unplugin-auto-import: specifier: ^0.17.8 version: 0.17.8(rollup@4.41.1) @@ -2168,130 +2168,95 @@ packages: peerDependencies: '@unocss/core': '>=66.0.0' - '@unocss/astro@65.4.2': - resolution: {integrity: sha512-5UR8KmonbpeeSG5pxWtBYlwr9XNbcsrVTfXKzWZAic5kRUWQREFpmjMcDL/+Co+OYWe4z5WWayjwfQUmLLPG5w==} + '@unocss/astro@66.2.0': + resolution: {integrity: sha512-UL95urnTaAtdu4WfRRuD52vziULkatco+Mdmza6FWhMnMaCvj5ErY1VDJQRCyO5foEYT4ky8pbzs5gv6ZGU40A==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 peerDependenciesMeta: vite: optional: true - '@unocss/cli@65.4.2': - resolution: {integrity: sha512-eQmzBhph67CDe+MNz8k/3rMwR1g1xCKZIWfrFoSQv7CqlJxgjRgFOxmnIw7pGhUEC0wenrvauGkVjFkIUHFqeg==} + '@unocss/cli@66.2.0': + resolution: {integrity: sha512-8yV4YuDFuuw9uizj9ic62f8AVqINz5zAaNFMi9SbfkAhDwHCIuozTQEgaQ80sH3M8wPc+lsZHi+HTbsvRXdFaA==} engines: {node: '>=14'} hasBin: true - '@unocss/config@65.4.2': - resolution: {integrity: sha512-2xyWDt6t879rsdxJ0TiRbk9ENkGuLjAWjl3aAph5HHxwgGaBN1c9S5G9607j/WXP+tO6c37B4Q1iG/XYx35HBA==} - engines: {node: '>=14'} - - '@unocss/config@66.1.2': - resolution: {integrity: sha512-2sQXj+Qaq4RVDELVTPoXMggZ30g1WKHeCuur396I12Ab0HgAR6bTc/DIrNtqKVHFI3mmlvP1oM1ynhKWSKPsTg==} + '@unocss/config@66.2.0': + resolution: {integrity: sha512-vJM00OU1FG/sZ4+uTO20e3ASRuUzlKkihwfd8BPTFDamkdbYehl7wZO1DI1TxtQv+bIc4Ociox6EKKCeQVJ/mA==} engines: {node: '>=14'} '@unocss/core@0.59.4': resolution: {integrity: sha512-bBZ1sgcAtezQVZ1BST9IS3jqcsTLyqKNjiIf7FTnX3DHpfpYuMDFzSOtmkZDzBleOLO/CtcRWjT0HwTSQAmV0A==} - '@unocss/core@65.4.2': - resolution: {integrity: sha512-VmXy5D25por+pt9LBlKZ3gk4rOE5ldm80MyVOEnLcpaFb9LqB0g/8qUU9/Dk3TSA+ZPeoGm53Juo0p8LMFIigA==} - - '@unocss/core@66.1.2': - resolution: {integrity: sha512-mN9h1hHEuhDcdbI4z74o7UnxlBZYVsJpYcdC1YLWBKROcLYTkuyZ7hgBzpo1FBNox2Bt3JnrSinVDmc44Bxjow==} - '@unocss/core@66.2.0': resolution: {integrity: sha512-jq+UPvmf271MjY/RoREBmjSCzTYdjzdlgBcjmtymYjBRg7a6a0GiSuhdL0D20cwQ4MoBvlO1tIzgCqnqImACBg==} - '@unocss/extractor-arbitrary-variants@65.4.2': - resolution: {integrity: sha512-qm5JXfjbxgXqhQAeOfV1jFT1ThBTi1bP1m+Nu2p6tB9EUbAUp+AKY4sODueqDXoriUtOc7h0QzyW3Lm+s3fTGw==} - - '@unocss/extractor-arbitrary-variants@66.1.2': - resolution: {integrity: sha512-F570wH9VYeFTb4r8qgcbN5QpEVIAvFC1zOnrAPUr6B6kbU2YChMXxHP7PHK0AzLHnEr458Pwpzl6hmP6bzxZ8g==} - '@unocss/extractor-arbitrary-variants@66.2.0': resolution: {integrity: sha512-tRvWLbLLZweCv+eujbkvjflNclbkrJHhW2asuBUcaHXCzXIHCYgbBdF3lV5ww1lBBfEUWekgyFC/9fbB4rh1fg==} - '@unocss/inspector@65.4.2': - resolution: {integrity: sha512-64m6SpjbeTQNqgWLUQpVwu1WQpuv4RshA1KIs4cc6WdDivckWb4woA+4Zdm+DjYjm0aLqX7oUE0kWwjK+pIZdA==} + '@unocss/inspector@66.2.0': + resolution: {integrity: sha512-pks1xo8A33IUun9imnZasjsqyocKEYsy+KJHXZjvx+ikD1Lnwfnym7plHdn6wvKry7bjF1H+Pm8mBtawDLaOTA==} - '@unocss/inspector@66.1.2': - resolution: {integrity: sha512-ftdZzFP5DAKDzgBI078xDDZbNNVq1RV/yhpNkviBvWCUsgRWc6o3G8swqJPIvFaphmUms0RIYH9shmXilVXFtA==} - - '@unocss/postcss@65.4.2': - resolution: {integrity: sha512-LKb8K9B1zTFN6zaQYIYSiFRz4a+HpNHKSIGjo/dtN0p0R1ME7VaGOgwg3+cEsNguNhTeXoaX5y/ADp8KP/HD6A==} + '@unocss/postcss@66.2.0': + resolution: {integrity: sha512-GBBP/gcDVpu+kjh3PvurhWwB670ei69bxWU40/cxAcgmLbl4EdG5g1FmlI2FaK/e1DhDf/+3v4dFmzy/Tz6pow==} engines: {node: '>=14'} peerDependencies: postcss: ^8.4.21 - '@unocss/preset-attributify@65.4.2': - resolution: {integrity: sha512-DHFHU+tvknLMk01cWQjLjEdJkRyPIdVYVoCoR9yzmwwVT6n7JKK1R/Ailwofm2229GjplY5c9qu1PjA5K1K7Vw==} + '@unocss/preset-attributify@66.2.0': + resolution: {integrity: sha512-O1ZK5spw/tgcwACEcurw/BR6C594vh1hnAuEWnIoSH+3b2WBCpSORC7uF+UyW4Z5zvGz4asU3G27CGzuzIM31A==} - '@unocss/preset-icons@65.4.2': - resolution: {integrity: sha512-XytFiMSbIqPshiVtsiFoq1nqyFYNTGnxMe6g3w+Zj5B+vNwfwHPR6CD8pTSkXpbW6zo+Ed/CBYe0pRwCrYjcgw==} + '@unocss/preset-icons@66.2.0': + resolution: {integrity: sha512-MpANsJ4hpEfII180i23Tl+Sf0yNVa6lusfQglhjNYFMJwUIobiwMD2zehDLHwcBW31IwbjAXSYW0xs2xzemUkA==} '@unocss/preset-legacy-compat@0.59.4': resolution: {integrity: sha512-vUggTaG8qXNzaLn5tGzQ+7VzYTjH3sjaN+wVV5I9XojgoiBGmyuyw0xuSVBmiQmxvdGV3KPUBZ5td///hprW8w==} - '@unocss/preset-mini@65.4.2': - resolution: {integrity: sha512-4ZZK9KwDHjI8wFUKeB+30GHekPmy1OzXncjlXhqm+vNQ7FO3xCee7VY00E5bgz5Tt0pXALcKFlrEspjpSaeCoQ==} + '@unocss/preset-mini@66.2.0': + resolution: {integrity: sha512-ESOinBvDeCVKFvS1goI1+sp9tgasO0WSQmwaB+G+GK9uA8LMMMuslOjha3gUUVCskY9V+e5pVmZEJ6YmA72bJQ==} - '@unocss/preset-mini@66.1.2': - resolution: {integrity: sha512-oiDe+VhwZ8B5Z0UGfggtOwgpRZMLtH1RTDFvmJmJEXYYX5BPWknS6wYcQzxy0i/y9ym0xp2QnEaTpGmR7LKdkg==} + '@unocss/preset-tagify@66.2.0': + resolution: {integrity: sha512-x1kqtcbMsLCvM9MpjXt8nsEA17Y3HIXbGpe88iXTPDu1b+cxgprSKbMTQRWvzZgBansCN6XpB+9/QJK1UtvLiA==} - '@unocss/preset-tagify@65.4.2': - resolution: {integrity: sha512-Ldk2QU8Zmy9irQQ/ZlFLBTPfPTHDBXcbxsxCFFCjI/MiTMh1Wac6cpryoYlju5SJ+yQuys4sIKzjkhRUD2d7Ug==} + '@unocss/preset-typography@66.2.0': + resolution: {integrity: sha512-27vlixFSjdF6SHodFhqIiXXmMxk11UXAFML+yHc/6jW01hpUnaFlwns+Jg47bLlVVvjLuVlTkgGr6oRftDA29g==} - '@unocss/preset-typography@65.4.2': - resolution: {integrity: sha512-Mp3GSS24qP8Fdf3wH2UeM4PRqGOuJGvKMNuZsIPX09Y/HcpleyjolBDNiagaM2rdp5cs2jcvWDAJ2fz9OXR3HQ==} + '@unocss/preset-uno@66.2.0': + resolution: {integrity: sha512-8tkDSrjZm4FIm7SxtmD9BEvQ0QxDO4jerV32LfvlhZCHeSypZGNGWWQROJdEpgOOz9axOuWibn/r4klidEAATw==} - '@unocss/preset-uno@65.4.2': - resolution: {integrity: sha512-rJcGx/+EWA3wXGOAZdYQFSEn8knsiqiST/Ji1adN+9dTq4BVYMZ9n3zYRF6GZ8p61aZomhU4jmzpLk12RMdxpg==} + '@unocss/preset-web-fonts@66.2.0': + resolution: {integrity: sha512-6uJRmbooDmZOBw/vKj4vghqguTXGBmJYtHbJjmTZ1dW3322l38w1RVU1hWrFJf/xSFyMv5ir38dSwSS7gygrwQ==} - '@unocss/preset-web-fonts@65.4.2': - resolution: {integrity: sha512-YVgjB3igldU5uKgwkDXNvxe9cISiLBnaKwW2bjJJyyTZ3QbjbYklgI4LyakxtnY4hf6U1vO+1W83/GIhl2RAdw==} - - '@unocss/preset-wind3@66.1.2': - resolution: {integrity: sha512-S09imGOngAAOXCBCHb3JAtxD1/L7nDWrgEeX6NT0ElDp3X1T6XxUXYJlpjCfcqV/klMoXyYouKvp0YuG9QSgVg==} + '@unocss/preset-wind3@66.2.0': + resolution: {integrity: sha512-87o52P0y3g7Xq9iya/QO7lij6CI6FfM/wu6ivTwLEdio+SSC8m8QcDYFakGprUvFY4GdYk+Hv4WXYu6f3EV+zw==} '@unocss/preset-wind4@66.2.0': resolution: {integrity: sha512-+qllvO142kajxD9EFag1WmiCJOjIxoMTVh1sW30SFXftB6rvVCaA8GbDo/Jnk9gXtmRQ2L9ZnuxPIx8W65pBjA==} - '@unocss/preset-wind@65.4.2': - resolution: {integrity: sha512-TQm9P2UHpqfn92APfZJtbK2brkXQ+GInFL2evup/ZChU1fqdbH9mL0ef6ZNQbCH4gjY6mEzwPXt4lhGod6CajA==} + '@unocss/preset-wind@66.2.0': + resolution: {integrity: sha512-04h1WPRoAli+XQX9g+k4ryFTTcWiFuF0LQX83Py7DNbTYRKFtTaNqLWQrZcORsEV8azo/VztMxygloqxJhUmfg==} - '@unocss/reset@65.4.2': - resolution: {integrity: sha512-Sas0lTGEgzdWKafSiT+dyhhrUOkOpPbhJYbPMgjW6Ol/tB5JXhdlCNm90Xue1wt453P8O3J4v+dQcyrdRSq0Ig==} - - '@unocss/rule-utils@65.4.2': - resolution: {integrity: sha512-OdMSJZiZUr8XmLo3Bz3Wrw1nZLT1nTPnPOV8gdi4vZ+2RgCChua9o8Dz4IyeQ7mMhLXoqHIUpJ7jE5Nv+Uz1Fw==} - engines: {node: '>=14'} - - '@unocss/rule-utils@66.1.2': - resolution: {integrity: sha512-nn0ehvDh7yyWq2mcBDLVpmMAivjRATUroZ8ETinyN1rmfsGesm71R0d1gV3K+Z6YC7a3+dMLc+/qzI7VK3AG/Q==} - engines: {node: '>=14'} + '@unocss/reset@66.2.0': + resolution: {integrity: sha512-lANXvmU81Cmx5wo4Bwuw9VhOdOFzo/I2L0RCHSmH22m6+VQwG+ho9YONygf6AcN/ookyXX2F7si3CPM6Hkf4Cw==} '@unocss/rule-utils@66.2.0': resolution: {integrity: sha512-T2Gg8WwLeCi7QaOss6EKC5Ypmbls+dqet5sMRsiIE5Mi04j3ndS0+lTwV/x7X6NnN6kCoh0IlwCdBUU4tkJbkQ==} engines: {node: '>=14'} - '@unocss/transformer-attributify-jsx@65.4.2': - resolution: {integrity: sha512-3jANN8pnOd3xX8PhkUMhRYEwT97HOYNLMiACpRb2x3MRxYjmpOPR/We31r/tYz23hMsbGkR0C5xvpuCkDj2QAA==} + '@unocss/transformer-attributify-jsx@66.2.0': + resolution: {integrity: sha512-qtJJ8KCPRRdsjvTvfz71MMjAD3WAZVPBDjewOtw2OSJDSkrjHf9SiBXlxpo11nNTADscJw6RsVfVaU1drgnQbg==} - '@unocss/transformer-compile-class@65.4.2': - resolution: {integrity: sha512-9kRV7W6LA7D+OBfbA2ayKJyZl9RnOb1mv+XW0KcFdD8KP0r8DfxT5rOj6QpEt88d6KwDo09iOaExsy0rHU7ZTg==} + '@unocss/transformer-compile-class@66.2.0': + resolution: {integrity: sha512-fQ4ma/JKgzmQp20IksCCirNNMcwgSE6JS54glwactEdgTTCsedfigAbjaqnX0wGYkqI8Q8mRb06sT8+dCwbjfA==} - '@unocss/transformer-directives@65.4.2': - resolution: {integrity: sha512-u/hbpRe/mEasRdzznGQnKmJqDHcoJ2MJJBLpDc2RisiAEokz73dno3JtT70HZVA+DN7Y9ddAKioxlvSU+iJxFA==} + '@unocss/transformer-directives@66.2.0': + resolution: {integrity: sha512-FHhcXJFyzlzIGE9gDo3jSQZ1E25xhWGjwWmOtX7bt2s8QBNg3HjKlYHUrj9TRR0ksV3YENLk0WP3VzOnLBUFdg==} - '@unocss/transformer-variant-group@65.4.2': - resolution: {integrity: sha512-a5xjR9mPUo7n6wD3nO5tcEcH7j0ks25E3d100XdNUeVUJeszzMAeLZ/uYrkd6Z3amyLLxwVOkAdYcczGhKdsbA==} + '@unocss/transformer-variant-group@66.2.0': + resolution: {integrity: sha512-mgmvDlBpeZ/hblbwE3jGRK8RpoDgrllFARR2+g3tvGw9ZM2BA+RAgMz307s9th1F+PCrDHCG1R+dCLN1b1qyww==} - '@unocss/vite@65.4.2': - resolution: {integrity: sha512-pEIU/egxec0CErgUwo/Nuyfi+ZZPIBD+XQBi2Pa51VKeuD91BBnXc1JGu9yzRT2WbrGP3hwsDgYqhj2G6wGXyA==} - peerDependencies: - vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 - - '@unocss/vite@66.1.2': - resolution: {integrity: sha512-ZJHN8+HKSrclVjT/+S7Vh2t59DK8J44d5nLZPG1Goua7uNK8yYJeOLK2sCGX7aackRer1ZynmglFFzxNFVt+IA==} + '@unocss/vite@66.2.0': + resolution: {integrity: sha512-nWEH0Ym/161nu66T1ANIjmsh5quGOINaunTqUnb41j1U5Y6StW35JmiH3d4Gpk5IsNJ8plBIEaUADxoBIPZZMw==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 @@ -3569,9 +3534,6 @@ packages: importx@0.4.4: resolution: {integrity: sha512-Lo1pukzAREqrBnnHC+tj+lreMTAvyxtkKsMxLY8H15M/bvLl54p3YuoTI70Tz7Il0AsgSlD7Lrk/FaApRcBL7w==} - importx@0.5.2: - resolution: {integrity: sha512-YEwlK86Ml5WiTxN/ECUYC5U7jd1CisAVw7ya4i9ZppBoHfFkT2+hChhr3PE2fYxUKLkNyivxEQpa5Ruil1LJBQ==} - imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -5181,9 +5143,6 @@ packages: unconfig@0.5.5: resolution: {integrity: sha512-VQZ5PT9HDX+qag0XdgQi8tJepPhXiR/yVOkn707gJDKo31lGjRilPREiQJ9Z6zd/Ugpv6ZvO5VxVIcatldYcNQ==} - unconfig@0.6.1: - resolution: {integrity: sha512-cVU+/sPloZqOyJEAfNwnQSFCzFrZm85vcVkryH7lnlB/PiTycUkAjt5Ds79cfIshGOZ+M5v3PBDnKgpmlE5DtA==} - unconfig@7.3.2: resolution: {integrity: sha512-nqG5NNL2wFVGZ0NA/aCFw0oJ2pxSf1lwg4Z5ill8wd7K4KX/rQbHlwbh+bjctXL5Ly1xtzHenHGOK0b+lG6JVg==} @@ -5233,11 +5192,11 @@ packages: peerDependencies: unocss: '>=66.0.0' - unocss@65.4.2: - resolution: {integrity: sha512-fAmolcpWyU9TlYw04cXu1ba4+lxh/PKjT5xKEAobWCTmwkS+yQDJ3LrEkqfGvry2EJr2os+/qhQm1lAx/0o7Ww==} + unocss@66.2.0: + resolution: {integrity: sha512-cAOwKnjcXZPXthg97oiQN0V7G0E44bbSqLoCvO3ukeHdu2/xKnAZgDJudAnKe/LT7HOYYbBHxUUPEtAjy4Ob6Q==} engines: {node: '>=14'} peerDependencies: - '@unocss/webpack': 65.4.2 + '@unocss/webpack': 66.2.0 vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 peerDependenciesMeta: '@unocss/webpack': @@ -8018,7 +7977,6 @@ snapshots: '@quansync/fs@0.1.3': dependencies: quansync: 0.2.10 - optional: true '@rollup/pluginutils@5.1.3(rollup@4.41.1)': dependencies: @@ -8261,16 +8219,16 @@ snapshots: typescript: 5.7.2 vue: 3.5.15(typescript@5.7.2) - '@uni-helper/unocss-preset-uni@0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))': + '@uni-helper/unocss-preset-uni@0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.2.0)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))': dependencies: '@uni-helper/uni-env': 0.1.7 '@unocss/preset-legacy-compat': 0.59.4 '@unocss/rule-utils': 66.2.0 - unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) - unocss-applet: 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) + unocss: 66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + unocss-applet: 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) optionalDependencies: - '@unocss/preset-mini': 66.1.2 - '@unocss/vite': 66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + '@unocss/preset-mini': 66.2.0 + '@unocss/vite': 66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@uni-helper/vite-plugin-uni-components@0.2.0(rollup@4.41.1)': dependencies: @@ -8350,11 +8308,11 @@ snapshots: - ts-node - vue - '@unocss-applet/preset-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)': + '@unocss-applet/preset-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)': dependencies: '@unocss/core': 66.2.0 - '@unocss/preset-mini': 66.1.2 - '@unocss/preset-wind3': 66.1.2 + '@unocss/preset-mini': 66.2.0 + '@unocss/preset-wind3': 66.2.0 '@unocss/preset-wind4': 66.2.0 '@unocss-applet/preset-rem-rpx@0.10.0(@unocss/core@66.2.0)': @@ -8366,74 +8324,49 @@ snapshots: '@unocss/core': 66.2.0 magic-string: 0.30.17 - '@unocss/astro@65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': + '@unocss/astro@66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: - '@unocss/core': 65.4.2 - '@unocss/reset': 65.4.2 - '@unocss/vite': 65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + '@unocss/core': 66.2.0 + '@unocss/reset': 66.2.0 + '@unocss/vite': 66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) optionalDependencies: vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - - rollup - - supports-color - vue - '@unocss/cli@65.4.2(rollup@4.41.1)': + '@unocss/cli@66.2.0': dependencies: '@ampproject/remapping': 2.3.0 - '@rollup/pluginutils': 5.1.4(rollup@4.41.1) - '@unocss/config': 65.4.2 - '@unocss/core': 65.4.2 - '@unocss/preset-uno': 65.4.2 + '@unocss/config': 66.2.0 + '@unocss/core': 66.2.0 + '@unocss/preset-uno': 66.2.0 cac: 6.7.14 chokidar: 3.6.0 colorette: 2.0.20 consola: 3.4.2 magic-string: 0.30.17 - pathe: 1.1.2 + pathe: 2.0.3 perfect-debounce: 1.0.0 tinyglobby: 0.2.14 - transitivePeerDependencies: - - rollup - - supports-color + unplugin-utils: 0.2.4 - '@unocss/config@65.4.2': + '@unocss/config@66.2.0': dependencies: - '@unocss/core': 65.4.2 - unconfig: 0.6.1 - transitivePeerDependencies: - - supports-color - - '@unocss/config@66.1.2': - dependencies: - '@unocss/core': 66.1.2 + '@unocss/core': 66.2.0 unconfig: 7.3.2 - optional: true '@unocss/core@0.59.4': {} - '@unocss/core@65.4.2': {} - - '@unocss/core@66.1.2': {} - '@unocss/core@66.2.0': {} - '@unocss/extractor-arbitrary-variants@65.4.2': - dependencies: - '@unocss/core': 65.4.2 - - '@unocss/extractor-arbitrary-variants@66.1.2': - dependencies: - '@unocss/core': 66.1.2 - '@unocss/extractor-arbitrary-variants@66.2.0': dependencies: '@unocss/core': 66.2.0 - '@unocss/inspector@65.4.2(vue@3.5.15(typescript@5.7.2))': + '@unocss/inspector@66.2.0(vue@3.5.15(typescript@5.7.2))': dependencies: - '@unocss/core': 65.4.2 - '@unocss/rule-utils': 65.4.2 + '@unocss/core': 66.2.0 + '@unocss/rule-utils': 66.2.0 colorette: 2.0.20 gzip-size: 6.0.0 sirv: 3.0.1 @@ -8441,37 +8374,23 @@ snapshots: transitivePeerDependencies: - vue - '@unocss/inspector@66.1.2(vue@3.5.15(typescript@5.7.2))': + '@unocss/postcss@66.2.0(postcss@8.4.49)': dependencies: - '@unocss/core': 66.1.2 - '@unocss/rule-utils': 66.1.2 - colorette: 2.0.20 - gzip-size: 6.0.0 - sirv: 3.0.1 - vue-flow-layout: 0.1.1(vue@3.5.15(typescript@5.7.2)) - transitivePeerDependencies: - - vue - optional: true - - '@unocss/postcss@65.4.2(postcss@8.4.49)': - dependencies: - '@unocss/config': 65.4.2 - '@unocss/core': 65.4.2 - '@unocss/rule-utils': 65.4.2 + '@unocss/config': 66.2.0 + '@unocss/core': 66.2.0 + '@unocss/rule-utils': 66.2.0 css-tree: 3.1.0 postcss: 8.4.49 tinyglobby: 0.2.14 - transitivePeerDependencies: - - supports-color - '@unocss/preset-attributify@65.4.2': + '@unocss/preset-attributify@66.2.0': dependencies: - '@unocss/core': 65.4.2 + '@unocss/core': 66.2.0 - '@unocss/preset-icons@65.4.2': + '@unocss/preset-icons@66.2.0': dependencies: '@iconify/utils': 2.3.0 - '@unocss/core': 65.4.2 + '@unocss/core': 66.2.0 ofetch: 1.4.1 transitivePeerDependencies: - supports-color @@ -8480,44 +8399,37 @@ snapshots: dependencies: '@unocss/core': 0.59.4 - '@unocss/preset-mini@65.4.2': + '@unocss/preset-mini@66.2.0': dependencies: - '@unocss/core': 65.4.2 - '@unocss/extractor-arbitrary-variants': 65.4.2 - '@unocss/rule-utils': 65.4.2 + '@unocss/core': 66.2.0 + '@unocss/extractor-arbitrary-variants': 66.2.0 + '@unocss/rule-utils': 66.2.0 - '@unocss/preset-mini@66.1.2': + '@unocss/preset-tagify@66.2.0': dependencies: - '@unocss/core': 66.1.2 - '@unocss/extractor-arbitrary-variants': 66.1.2 - '@unocss/rule-utils': 66.1.2 + '@unocss/core': 66.2.0 - '@unocss/preset-tagify@65.4.2': + '@unocss/preset-typography@66.2.0': dependencies: - '@unocss/core': 65.4.2 + '@unocss/core': 66.2.0 + '@unocss/preset-mini': 66.2.0 + '@unocss/rule-utils': 66.2.0 - '@unocss/preset-typography@65.4.2': + '@unocss/preset-uno@66.2.0': dependencies: - '@unocss/core': 65.4.2 - '@unocss/preset-mini': 65.4.2 + '@unocss/core': 66.2.0 + '@unocss/preset-wind3': 66.2.0 - '@unocss/preset-uno@65.4.2': + '@unocss/preset-web-fonts@66.2.0': dependencies: - '@unocss/core': 65.4.2 - '@unocss/preset-mini': 65.4.2 - '@unocss/preset-wind': 65.4.2 - '@unocss/rule-utils': 65.4.2 - - '@unocss/preset-web-fonts@65.4.2': - dependencies: - '@unocss/core': 65.4.2 + '@unocss/core': 66.2.0 ofetch: 1.4.1 - '@unocss/preset-wind3@66.1.2': + '@unocss/preset-wind3@66.2.0': dependencies: - '@unocss/core': 66.1.2 - '@unocss/preset-mini': 66.1.2 - '@unocss/rule-utils': 66.1.2 + '@unocss/core': 66.2.0 + '@unocss/preset-mini': 66.2.0 + '@unocss/rule-utils': 66.2.0 '@unocss/preset-wind4@66.2.0': dependencies: @@ -8525,69 +8437,42 @@ snapshots: '@unocss/extractor-arbitrary-variants': 66.2.0 '@unocss/rule-utils': 66.2.0 - '@unocss/preset-wind@65.4.2': - dependencies: - '@unocss/core': 65.4.2 - '@unocss/preset-mini': 65.4.2 - '@unocss/rule-utils': 65.4.2 - - '@unocss/reset@65.4.2': {} - - '@unocss/rule-utils@65.4.2': - dependencies: - '@unocss/core': 65.4.2 - magic-string: 0.30.17 - - '@unocss/rule-utils@66.1.2': + '@unocss/preset-wind@66.2.0': dependencies: '@unocss/core': 66.2.0 - magic-string: 0.30.17 + '@unocss/preset-wind3': 66.2.0 + + '@unocss/reset@66.2.0': {} '@unocss/rule-utils@66.2.0': dependencies: '@unocss/core': 66.2.0 magic-string: 0.30.17 - '@unocss/transformer-attributify-jsx@65.4.2': + '@unocss/transformer-attributify-jsx@66.2.0': dependencies: - '@unocss/core': 65.4.2 + '@unocss/core': 66.2.0 - '@unocss/transformer-compile-class@65.4.2': + '@unocss/transformer-compile-class@66.2.0': dependencies: - '@unocss/core': 65.4.2 + '@unocss/core': 66.2.0 - '@unocss/transformer-directives@65.4.2': + '@unocss/transformer-directives@66.2.0': dependencies: - '@unocss/core': 65.4.2 - '@unocss/rule-utils': 65.4.2 + '@unocss/core': 66.2.0 + '@unocss/rule-utils': 66.2.0 css-tree: 3.1.0 - '@unocss/transformer-variant-group@65.4.2': + '@unocss/transformer-variant-group@66.2.0': dependencies: - '@unocss/core': 65.4.2 + '@unocss/core': 66.2.0 - '@unocss/vite@65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': + '@unocss/vite@66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@ampproject/remapping': 2.3.0 - '@rollup/pluginutils': 5.1.4(rollup@4.41.1) - '@unocss/config': 65.4.2 - '@unocss/core': 65.4.2 - '@unocss/inspector': 65.4.2(vue@3.5.15(typescript@5.7.2)) - chokidar: 3.6.0 - magic-string: 0.30.17 - tinyglobby: 0.2.14 - vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) - transitivePeerDependencies: - - rollup - - supports-color - - vue - - '@unocss/vite@66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': - dependencies: - '@ampproject/remapping': 2.3.0 - '@unocss/config': 66.1.2 - '@unocss/core': 66.1.2 - '@unocss/inspector': 66.1.2(vue@3.5.15(typescript@5.7.2)) + '@unocss/config': 66.2.0 + '@unocss/core': 66.2.0 + '@unocss/inspector': 66.2.0(vue@3.5.15(typescript@5.7.2)) chokidar: 3.6.0 magic-string: 0.30.17 pathe: 2.0.3 @@ -8596,7 +8481,6 @@ snapshots: vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - vue - optional: true '@vitejs/plugin-legacy@5.3.2(terser@5.36.0)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))': dependencies: @@ -9072,11 +8956,6 @@ snapshots: esbuild: 0.20.2 load-tsconfig: 0.2.5 - bundle-require@5.1.0(esbuild@0.25.5): - dependencies: - esbuild: 0.25.5 - load-tsconfig: 0.2.5 - bytes@3.1.2: {} c12@1.11.2: @@ -10037,17 +9916,6 @@ snapshots: transitivePeerDependencies: - supports-color - importx@0.5.2: - dependencies: - bundle-require: 5.1.0(esbuild@0.25.5) - debug: 4.4.1 - esbuild: 0.25.5 - jiti: 2.4.2 - pathe: 2.0.3 - tsx: 4.19.4 - transitivePeerDependencies: - - supports-color - imurmurhash@0.1.4: {} inflight@1.0.6: @@ -11850,21 +11718,12 @@ snapshots: transitivePeerDependencies: - supports-color - unconfig@0.6.1: - dependencies: - '@antfu/utils': 8.1.1 - defu: 6.1.4 - importx: 0.5.2 - transitivePeerDependencies: - - supports-color - unconfig@7.3.2: dependencies: '@quansync/fs': 0.1.3 defu: 6.1.4 jiti: 2.4.2 quansync: 0.2.10 - optional: true undici-types@6.19.8: {} @@ -11923,41 +11782,42 @@ snapshots: universalify@2.0.1: {} - unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))): + unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))): dependencies: - '@unocss-applet/preset-applet': 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2) + '@unocss-applet/preset-applet': 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0) '@unocss-applet/preset-rem-rpx': 0.10.0(@unocss/core@66.2.0) '@unocss-applet/transformer-attributify': 0.10.0(@unocss/core@66.2.0) - unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + unocss: 66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) transitivePeerDependencies: - '@unocss/core' - '@unocss/preset-mini' - '@unocss/preset-wind3' - unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)): + unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)): dependencies: - '@unocss/astro': 65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) - '@unocss/cli': 65.4.2(rollup@4.41.1) - '@unocss/core': 65.4.2 - '@unocss/postcss': 65.4.2(postcss@8.4.49) - '@unocss/preset-attributify': 65.4.2 - '@unocss/preset-icons': 65.4.2 - '@unocss/preset-mini': 65.4.2 - '@unocss/preset-tagify': 65.4.2 - '@unocss/preset-typography': 65.4.2 - '@unocss/preset-uno': 65.4.2 - '@unocss/preset-web-fonts': 65.4.2 - '@unocss/preset-wind': 65.4.2 - '@unocss/transformer-attributify-jsx': 65.4.2 - '@unocss/transformer-compile-class': 65.4.2 - '@unocss/transformer-directives': 65.4.2 - '@unocss/transformer-variant-group': 65.4.2 - '@unocss/vite': 65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + '@unocss/astro': 66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + '@unocss/cli': 66.2.0 + '@unocss/core': 66.2.0 + '@unocss/postcss': 66.2.0(postcss@8.4.49) + '@unocss/preset-attributify': 66.2.0 + '@unocss/preset-icons': 66.2.0 + '@unocss/preset-mini': 66.2.0 + '@unocss/preset-tagify': 66.2.0 + '@unocss/preset-typography': 66.2.0 + '@unocss/preset-uno': 66.2.0 + '@unocss/preset-web-fonts': 66.2.0 + '@unocss/preset-wind': 66.2.0 + '@unocss/preset-wind3': 66.2.0 + '@unocss/preset-wind4': 66.2.0 + '@unocss/transformer-attributify-jsx': 66.2.0 + '@unocss/transformer-compile-class': 66.2.0 + '@unocss/transformer-directives': 66.2.0 + '@unocss/transformer-variant-group': 66.2.0 + '@unocss/vite': 66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) optionalDependencies: vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - postcss - - rollup - supports-color - vue From 6996037cd44b3a3c062b55e6ad71ba01a67e52e7 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 14 Jun 2025 12:00:17 +0800 Subject: [PATCH 083/147] =?UTF-8?q?Revert=20"chore:=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=20unocss=20=E4=BE=9D=E8=B5=96=E8=87=B3=2066.2.0=20=E7=89=88?= =?UTF-8?q?=E6=9C=AC"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit c1200eabe875019b4ff2e1aff53dff49d0ef9bcf. --- package.json | 2 +- pnpm-lock.yaml | 412 +++++++++++++++++++++++++++++++++---------------- 2 files changed, 277 insertions(+), 137 deletions(-) diff --git a/package.json b/package.json index a2d8f7f..af4760d 100644 --- a/package.json +++ b/package.json @@ -152,7 +152,7 @@ "sass": "1.77.8", "terser": "^5.36.0", "typescript": "^5.7.2", - "unocss": "66.2.0", + "unocss": "65.4.2", "unplugin-auto-import": "^0.17.8", "vite": "5.2.8", "vite-plugin-restart": "^0.4.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4d535ae..6139983 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,7 +134,7 @@ importers: version: 1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-cloud-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-ui-types@1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)) '@uni-helper/unocss-preset-uni': specifier: ^0.2.11 - version: 0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.2.0)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) + version: 0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) '@uni-helper/vite-plugin-uni-components': specifier: 0.2.0 version: 0.2.0(rollup@4.41.1) @@ -199,8 +199,8 @@ importers: specifier: ^5.7.2 version: 5.7.2 unocss: - specifier: 66.2.0 - version: 66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + specifier: 65.4.2 + version: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) unplugin-auto-import: specifier: ^0.17.8 version: 0.17.8(rollup@4.41.1) @@ -2168,95 +2168,130 @@ packages: peerDependencies: '@unocss/core': '>=66.0.0' - '@unocss/astro@66.2.0': - resolution: {integrity: sha512-UL95urnTaAtdu4WfRRuD52vziULkatco+Mdmza6FWhMnMaCvj5ErY1VDJQRCyO5foEYT4ky8pbzs5gv6ZGU40A==} + '@unocss/astro@65.4.2': + resolution: {integrity: sha512-5UR8KmonbpeeSG5pxWtBYlwr9XNbcsrVTfXKzWZAic5kRUWQREFpmjMcDL/+Co+OYWe4z5WWayjwfQUmLLPG5w==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 peerDependenciesMeta: vite: optional: true - '@unocss/cli@66.2.0': - resolution: {integrity: sha512-8yV4YuDFuuw9uizj9ic62f8AVqINz5zAaNFMi9SbfkAhDwHCIuozTQEgaQ80sH3M8wPc+lsZHi+HTbsvRXdFaA==} + '@unocss/cli@65.4.2': + resolution: {integrity: sha512-eQmzBhph67CDe+MNz8k/3rMwR1g1xCKZIWfrFoSQv7CqlJxgjRgFOxmnIw7pGhUEC0wenrvauGkVjFkIUHFqeg==} engines: {node: '>=14'} hasBin: true - '@unocss/config@66.2.0': - resolution: {integrity: sha512-vJM00OU1FG/sZ4+uTO20e3ASRuUzlKkihwfd8BPTFDamkdbYehl7wZO1DI1TxtQv+bIc4Ociox6EKKCeQVJ/mA==} + '@unocss/config@65.4.2': + resolution: {integrity: sha512-2xyWDt6t879rsdxJ0TiRbk9ENkGuLjAWjl3aAph5HHxwgGaBN1c9S5G9607j/WXP+tO6c37B4Q1iG/XYx35HBA==} + engines: {node: '>=14'} + + '@unocss/config@66.1.2': + resolution: {integrity: sha512-2sQXj+Qaq4RVDELVTPoXMggZ30g1WKHeCuur396I12Ab0HgAR6bTc/DIrNtqKVHFI3mmlvP1oM1ynhKWSKPsTg==} engines: {node: '>=14'} '@unocss/core@0.59.4': resolution: {integrity: sha512-bBZ1sgcAtezQVZ1BST9IS3jqcsTLyqKNjiIf7FTnX3DHpfpYuMDFzSOtmkZDzBleOLO/CtcRWjT0HwTSQAmV0A==} + '@unocss/core@65.4.2': + resolution: {integrity: sha512-VmXy5D25por+pt9LBlKZ3gk4rOE5ldm80MyVOEnLcpaFb9LqB0g/8qUU9/Dk3TSA+ZPeoGm53Juo0p8LMFIigA==} + + '@unocss/core@66.1.2': + resolution: {integrity: sha512-mN9h1hHEuhDcdbI4z74o7UnxlBZYVsJpYcdC1YLWBKROcLYTkuyZ7hgBzpo1FBNox2Bt3JnrSinVDmc44Bxjow==} + '@unocss/core@66.2.0': resolution: {integrity: sha512-jq+UPvmf271MjY/RoREBmjSCzTYdjzdlgBcjmtymYjBRg7a6a0GiSuhdL0D20cwQ4MoBvlO1tIzgCqnqImACBg==} + '@unocss/extractor-arbitrary-variants@65.4.2': + resolution: {integrity: sha512-qm5JXfjbxgXqhQAeOfV1jFT1ThBTi1bP1m+Nu2p6tB9EUbAUp+AKY4sODueqDXoriUtOc7h0QzyW3Lm+s3fTGw==} + + '@unocss/extractor-arbitrary-variants@66.1.2': + resolution: {integrity: sha512-F570wH9VYeFTb4r8qgcbN5QpEVIAvFC1zOnrAPUr6B6kbU2YChMXxHP7PHK0AzLHnEr458Pwpzl6hmP6bzxZ8g==} + '@unocss/extractor-arbitrary-variants@66.2.0': resolution: {integrity: sha512-tRvWLbLLZweCv+eujbkvjflNclbkrJHhW2asuBUcaHXCzXIHCYgbBdF3lV5ww1lBBfEUWekgyFC/9fbB4rh1fg==} - '@unocss/inspector@66.2.0': - resolution: {integrity: sha512-pks1xo8A33IUun9imnZasjsqyocKEYsy+KJHXZjvx+ikD1Lnwfnym7plHdn6wvKry7bjF1H+Pm8mBtawDLaOTA==} + '@unocss/inspector@65.4.2': + resolution: {integrity: sha512-64m6SpjbeTQNqgWLUQpVwu1WQpuv4RshA1KIs4cc6WdDivckWb4woA+4Zdm+DjYjm0aLqX7oUE0kWwjK+pIZdA==} - '@unocss/postcss@66.2.0': - resolution: {integrity: sha512-GBBP/gcDVpu+kjh3PvurhWwB670ei69bxWU40/cxAcgmLbl4EdG5g1FmlI2FaK/e1DhDf/+3v4dFmzy/Tz6pow==} + '@unocss/inspector@66.1.2': + resolution: {integrity: sha512-ftdZzFP5DAKDzgBI078xDDZbNNVq1RV/yhpNkviBvWCUsgRWc6o3G8swqJPIvFaphmUms0RIYH9shmXilVXFtA==} + + '@unocss/postcss@65.4.2': + resolution: {integrity: sha512-LKb8K9B1zTFN6zaQYIYSiFRz4a+HpNHKSIGjo/dtN0p0R1ME7VaGOgwg3+cEsNguNhTeXoaX5y/ADp8KP/HD6A==} engines: {node: '>=14'} peerDependencies: postcss: ^8.4.21 - '@unocss/preset-attributify@66.2.0': - resolution: {integrity: sha512-O1ZK5spw/tgcwACEcurw/BR6C594vh1hnAuEWnIoSH+3b2WBCpSORC7uF+UyW4Z5zvGz4asU3G27CGzuzIM31A==} + '@unocss/preset-attributify@65.4.2': + resolution: {integrity: sha512-DHFHU+tvknLMk01cWQjLjEdJkRyPIdVYVoCoR9yzmwwVT6n7JKK1R/Ailwofm2229GjplY5c9qu1PjA5K1K7Vw==} - '@unocss/preset-icons@66.2.0': - resolution: {integrity: sha512-MpANsJ4hpEfII180i23Tl+Sf0yNVa6lusfQglhjNYFMJwUIobiwMD2zehDLHwcBW31IwbjAXSYW0xs2xzemUkA==} + '@unocss/preset-icons@65.4.2': + resolution: {integrity: sha512-XytFiMSbIqPshiVtsiFoq1nqyFYNTGnxMe6g3w+Zj5B+vNwfwHPR6CD8pTSkXpbW6zo+Ed/CBYe0pRwCrYjcgw==} '@unocss/preset-legacy-compat@0.59.4': resolution: {integrity: sha512-vUggTaG8qXNzaLn5tGzQ+7VzYTjH3sjaN+wVV5I9XojgoiBGmyuyw0xuSVBmiQmxvdGV3KPUBZ5td///hprW8w==} - '@unocss/preset-mini@66.2.0': - resolution: {integrity: sha512-ESOinBvDeCVKFvS1goI1+sp9tgasO0WSQmwaB+G+GK9uA8LMMMuslOjha3gUUVCskY9V+e5pVmZEJ6YmA72bJQ==} + '@unocss/preset-mini@65.4.2': + resolution: {integrity: sha512-4ZZK9KwDHjI8wFUKeB+30GHekPmy1OzXncjlXhqm+vNQ7FO3xCee7VY00E5bgz5Tt0pXALcKFlrEspjpSaeCoQ==} - '@unocss/preset-tagify@66.2.0': - resolution: {integrity: sha512-x1kqtcbMsLCvM9MpjXt8nsEA17Y3HIXbGpe88iXTPDu1b+cxgprSKbMTQRWvzZgBansCN6XpB+9/QJK1UtvLiA==} + '@unocss/preset-mini@66.1.2': + resolution: {integrity: sha512-oiDe+VhwZ8B5Z0UGfggtOwgpRZMLtH1RTDFvmJmJEXYYX5BPWknS6wYcQzxy0i/y9ym0xp2QnEaTpGmR7LKdkg==} - '@unocss/preset-typography@66.2.0': - resolution: {integrity: sha512-27vlixFSjdF6SHodFhqIiXXmMxk11UXAFML+yHc/6jW01hpUnaFlwns+Jg47bLlVVvjLuVlTkgGr6oRftDA29g==} + '@unocss/preset-tagify@65.4.2': + resolution: {integrity: sha512-Ldk2QU8Zmy9irQQ/ZlFLBTPfPTHDBXcbxsxCFFCjI/MiTMh1Wac6cpryoYlju5SJ+yQuys4sIKzjkhRUD2d7Ug==} - '@unocss/preset-uno@66.2.0': - resolution: {integrity: sha512-8tkDSrjZm4FIm7SxtmD9BEvQ0QxDO4jerV32LfvlhZCHeSypZGNGWWQROJdEpgOOz9axOuWibn/r4klidEAATw==} + '@unocss/preset-typography@65.4.2': + resolution: {integrity: sha512-Mp3GSS24qP8Fdf3wH2UeM4PRqGOuJGvKMNuZsIPX09Y/HcpleyjolBDNiagaM2rdp5cs2jcvWDAJ2fz9OXR3HQ==} - '@unocss/preset-web-fonts@66.2.0': - resolution: {integrity: sha512-6uJRmbooDmZOBw/vKj4vghqguTXGBmJYtHbJjmTZ1dW3322l38w1RVU1hWrFJf/xSFyMv5ir38dSwSS7gygrwQ==} + '@unocss/preset-uno@65.4.2': + resolution: {integrity: sha512-rJcGx/+EWA3wXGOAZdYQFSEn8knsiqiST/Ji1adN+9dTq4BVYMZ9n3zYRF6GZ8p61aZomhU4jmzpLk12RMdxpg==} - '@unocss/preset-wind3@66.2.0': - resolution: {integrity: sha512-87o52P0y3g7Xq9iya/QO7lij6CI6FfM/wu6ivTwLEdio+SSC8m8QcDYFakGprUvFY4GdYk+Hv4WXYu6f3EV+zw==} + '@unocss/preset-web-fonts@65.4.2': + resolution: {integrity: sha512-YVgjB3igldU5uKgwkDXNvxe9cISiLBnaKwW2bjJJyyTZ3QbjbYklgI4LyakxtnY4hf6U1vO+1W83/GIhl2RAdw==} + + '@unocss/preset-wind3@66.1.2': + resolution: {integrity: sha512-S09imGOngAAOXCBCHb3JAtxD1/L7nDWrgEeX6NT0ElDp3X1T6XxUXYJlpjCfcqV/klMoXyYouKvp0YuG9QSgVg==} '@unocss/preset-wind4@66.2.0': resolution: {integrity: sha512-+qllvO142kajxD9EFag1WmiCJOjIxoMTVh1sW30SFXftB6rvVCaA8GbDo/Jnk9gXtmRQ2L9ZnuxPIx8W65pBjA==} - '@unocss/preset-wind@66.2.0': - resolution: {integrity: sha512-04h1WPRoAli+XQX9g+k4ryFTTcWiFuF0LQX83Py7DNbTYRKFtTaNqLWQrZcORsEV8azo/VztMxygloqxJhUmfg==} + '@unocss/preset-wind@65.4.2': + resolution: {integrity: sha512-TQm9P2UHpqfn92APfZJtbK2brkXQ+GInFL2evup/ZChU1fqdbH9mL0ef6ZNQbCH4gjY6mEzwPXt4lhGod6CajA==} - '@unocss/reset@66.2.0': - resolution: {integrity: sha512-lANXvmU81Cmx5wo4Bwuw9VhOdOFzo/I2L0RCHSmH22m6+VQwG+ho9YONygf6AcN/ookyXX2F7si3CPM6Hkf4Cw==} + '@unocss/reset@65.4.2': + resolution: {integrity: sha512-Sas0lTGEgzdWKafSiT+dyhhrUOkOpPbhJYbPMgjW6Ol/tB5JXhdlCNm90Xue1wt453P8O3J4v+dQcyrdRSq0Ig==} + + '@unocss/rule-utils@65.4.2': + resolution: {integrity: sha512-OdMSJZiZUr8XmLo3Bz3Wrw1nZLT1nTPnPOV8gdi4vZ+2RgCChua9o8Dz4IyeQ7mMhLXoqHIUpJ7jE5Nv+Uz1Fw==} + engines: {node: '>=14'} + + '@unocss/rule-utils@66.1.2': + resolution: {integrity: sha512-nn0ehvDh7yyWq2mcBDLVpmMAivjRATUroZ8ETinyN1rmfsGesm71R0d1gV3K+Z6YC7a3+dMLc+/qzI7VK3AG/Q==} + engines: {node: '>=14'} '@unocss/rule-utils@66.2.0': resolution: {integrity: sha512-T2Gg8WwLeCi7QaOss6EKC5Ypmbls+dqet5sMRsiIE5Mi04j3ndS0+lTwV/x7X6NnN6kCoh0IlwCdBUU4tkJbkQ==} engines: {node: '>=14'} - '@unocss/transformer-attributify-jsx@66.2.0': - resolution: {integrity: sha512-qtJJ8KCPRRdsjvTvfz71MMjAD3WAZVPBDjewOtw2OSJDSkrjHf9SiBXlxpo11nNTADscJw6RsVfVaU1drgnQbg==} + '@unocss/transformer-attributify-jsx@65.4.2': + resolution: {integrity: sha512-3jANN8pnOd3xX8PhkUMhRYEwT97HOYNLMiACpRb2x3MRxYjmpOPR/We31r/tYz23hMsbGkR0C5xvpuCkDj2QAA==} - '@unocss/transformer-compile-class@66.2.0': - resolution: {integrity: sha512-fQ4ma/JKgzmQp20IksCCirNNMcwgSE6JS54glwactEdgTTCsedfigAbjaqnX0wGYkqI8Q8mRb06sT8+dCwbjfA==} + '@unocss/transformer-compile-class@65.4.2': + resolution: {integrity: sha512-9kRV7W6LA7D+OBfbA2ayKJyZl9RnOb1mv+XW0KcFdD8KP0r8DfxT5rOj6QpEt88d6KwDo09iOaExsy0rHU7ZTg==} - '@unocss/transformer-directives@66.2.0': - resolution: {integrity: sha512-FHhcXJFyzlzIGE9gDo3jSQZ1E25xhWGjwWmOtX7bt2s8QBNg3HjKlYHUrj9TRR0ksV3YENLk0WP3VzOnLBUFdg==} + '@unocss/transformer-directives@65.4.2': + resolution: {integrity: sha512-u/hbpRe/mEasRdzznGQnKmJqDHcoJ2MJJBLpDc2RisiAEokz73dno3JtT70HZVA+DN7Y9ddAKioxlvSU+iJxFA==} - '@unocss/transformer-variant-group@66.2.0': - resolution: {integrity: sha512-mgmvDlBpeZ/hblbwE3jGRK8RpoDgrllFARR2+g3tvGw9ZM2BA+RAgMz307s9th1F+PCrDHCG1R+dCLN1b1qyww==} + '@unocss/transformer-variant-group@65.4.2': + resolution: {integrity: sha512-a5xjR9mPUo7n6wD3nO5tcEcH7j0ks25E3d100XdNUeVUJeszzMAeLZ/uYrkd6Z3amyLLxwVOkAdYcczGhKdsbA==} - '@unocss/vite@66.2.0': - resolution: {integrity: sha512-nWEH0Ym/161nu66T1ANIjmsh5quGOINaunTqUnb41j1U5Y6StW35JmiH3d4Gpk5IsNJ8plBIEaUADxoBIPZZMw==} + '@unocss/vite@65.4.2': + resolution: {integrity: sha512-pEIU/egxec0CErgUwo/Nuyfi+ZZPIBD+XQBi2Pa51VKeuD91BBnXc1JGu9yzRT2WbrGP3hwsDgYqhj2G6wGXyA==} + peerDependencies: + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 + + '@unocss/vite@66.1.2': + resolution: {integrity: sha512-ZJHN8+HKSrclVjT/+S7Vh2t59DK8J44d5nLZPG1Goua7uNK8yYJeOLK2sCGX7aackRer1ZynmglFFzxNFVt+IA==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 @@ -3534,6 +3569,9 @@ packages: importx@0.4.4: resolution: {integrity: sha512-Lo1pukzAREqrBnnHC+tj+lreMTAvyxtkKsMxLY8H15M/bvLl54p3YuoTI70Tz7Il0AsgSlD7Lrk/FaApRcBL7w==} + importx@0.5.2: + resolution: {integrity: sha512-YEwlK86Ml5WiTxN/ECUYC5U7jd1CisAVw7ya4i9ZppBoHfFkT2+hChhr3PE2fYxUKLkNyivxEQpa5Ruil1LJBQ==} + imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -5143,6 +5181,9 @@ packages: unconfig@0.5.5: resolution: {integrity: sha512-VQZ5PT9HDX+qag0XdgQi8tJepPhXiR/yVOkn707gJDKo31lGjRilPREiQJ9Z6zd/Ugpv6ZvO5VxVIcatldYcNQ==} + unconfig@0.6.1: + resolution: {integrity: sha512-cVU+/sPloZqOyJEAfNwnQSFCzFrZm85vcVkryH7lnlB/PiTycUkAjt5Ds79cfIshGOZ+M5v3PBDnKgpmlE5DtA==} + unconfig@7.3.2: resolution: {integrity: sha512-nqG5NNL2wFVGZ0NA/aCFw0oJ2pxSf1lwg4Z5ill8wd7K4KX/rQbHlwbh+bjctXL5Ly1xtzHenHGOK0b+lG6JVg==} @@ -5192,11 +5233,11 @@ packages: peerDependencies: unocss: '>=66.0.0' - unocss@66.2.0: - resolution: {integrity: sha512-cAOwKnjcXZPXthg97oiQN0V7G0E44bbSqLoCvO3ukeHdu2/xKnAZgDJudAnKe/LT7HOYYbBHxUUPEtAjy4Ob6Q==} + unocss@65.4.2: + resolution: {integrity: sha512-fAmolcpWyU9TlYw04cXu1ba4+lxh/PKjT5xKEAobWCTmwkS+yQDJ3LrEkqfGvry2EJr2os+/qhQm1lAx/0o7Ww==} engines: {node: '>=14'} peerDependencies: - '@unocss/webpack': 66.2.0 + '@unocss/webpack': 65.4.2 vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 peerDependenciesMeta: '@unocss/webpack': @@ -7977,6 +8018,7 @@ snapshots: '@quansync/fs@0.1.3': dependencies: quansync: 0.2.10 + optional: true '@rollup/pluginutils@5.1.3(rollup@4.41.1)': dependencies: @@ -8219,16 +8261,16 @@ snapshots: typescript: 5.7.2 vue: 3.5.15(typescript@5.7.2) - '@uni-helper/unocss-preset-uni@0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.2.0)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))': + '@uni-helper/unocss-preset-uni@0.2.11(@unocss/preset-legacy-compat@0.59.4)(@unocss/preset-mini@66.1.2)(@unocss/rule-utils@66.2.0)(@unocss/vite@66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))(unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))))(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)))': dependencies: '@uni-helper/uni-env': 0.1.7 '@unocss/preset-legacy-compat': 0.59.4 '@unocss/rule-utils': 66.2.0 - unocss: 66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) - unocss-applet: 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) + unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + unocss-applet: 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))) optionalDependencies: - '@unocss/preset-mini': 66.2.0 - '@unocss/vite': 66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + '@unocss/preset-mini': 66.1.2 + '@unocss/vite': 66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) '@uni-helper/vite-plugin-uni-components@0.2.0(rollup@4.41.1)': dependencies: @@ -8308,11 +8350,11 @@ snapshots: - ts-node - vue - '@unocss-applet/preset-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)': + '@unocss-applet/preset-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)': dependencies: '@unocss/core': 66.2.0 - '@unocss/preset-mini': 66.2.0 - '@unocss/preset-wind3': 66.2.0 + '@unocss/preset-mini': 66.1.2 + '@unocss/preset-wind3': 66.1.2 '@unocss/preset-wind4': 66.2.0 '@unocss-applet/preset-rem-rpx@0.10.0(@unocss/core@66.2.0)': @@ -8324,49 +8366,74 @@ snapshots: '@unocss/core': 66.2.0 magic-string: 0.30.17 - '@unocss/astro@66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': + '@unocss/astro@65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: - '@unocss/core': 66.2.0 - '@unocss/reset': 66.2.0 - '@unocss/vite': 66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + '@unocss/core': 65.4.2 + '@unocss/reset': 65.4.2 + '@unocss/vite': 65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) optionalDependencies: vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: + - rollup + - supports-color - vue - '@unocss/cli@66.2.0': + '@unocss/cli@65.4.2(rollup@4.41.1)': dependencies: '@ampproject/remapping': 2.3.0 - '@unocss/config': 66.2.0 - '@unocss/core': 66.2.0 - '@unocss/preset-uno': 66.2.0 + '@rollup/pluginutils': 5.1.4(rollup@4.41.1) + '@unocss/config': 65.4.2 + '@unocss/core': 65.4.2 + '@unocss/preset-uno': 65.4.2 cac: 6.7.14 chokidar: 3.6.0 colorette: 2.0.20 consola: 3.4.2 magic-string: 0.30.17 - pathe: 2.0.3 + pathe: 1.1.2 perfect-debounce: 1.0.0 tinyglobby: 0.2.14 - unplugin-utils: 0.2.4 + transitivePeerDependencies: + - rollup + - supports-color - '@unocss/config@66.2.0': + '@unocss/config@65.4.2': dependencies: - '@unocss/core': 66.2.0 + '@unocss/core': 65.4.2 + unconfig: 0.6.1 + transitivePeerDependencies: + - supports-color + + '@unocss/config@66.1.2': + dependencies: + '@unocss/core': 66.1.2 unconfig: 7.3.2 + optional: true '@unocss/core@0.59.4': {} + '@unocss/core@65.4.2': {} + + '@unocss/core@66.1.2': {} + '@unocss/core@66.2.0': {} + '@unocss/extractor-arbitrary-variants@65.4.2': + dependencies: + '@unocss/core': 65.4.2 + + '@unocss/extractor-arbitrary-variants@66.1.2': + dependencies: + '@unocss/core': 66.1.2 + '@unocss/extractor-arbitrary-variants@66.2.0': dependencies: '@unocss/core': 66.2.0 - '@unocss/inspector@66.2.0(vue@3.5.15(typescript@5.7.2))': + '@unocss/inspector@65.4.2(vue@3.5.15(typescript@5.7.2))': dependencies: - '@unocss/core': 66.2.0 - '@unocss/rule-utils': 66.2.0 + '@unocss/core': 65.4.2 + '@unocss/rule-utils': 65.4.2 colorette: 2.0.20 gzip-size: 6.0.0 sirv: 3.0.1 @@ -8374,23 +8441,37 @@ snapshots: transitivePeerDependencies: - vue - '@unocss/postcss@66.2.0(postcss@8.4.49)': + '@unocss/inspector@66.1.2(vue@3.5.15(typescript@5.7.2))': dependencies: - '@unocss/config': 66.2.0 - '@unocss/core': 66.2.0 - '@unocss/rule-utils': 66.2.0 + '@unocss/core': 66.1.2 + '@unocss/rule-utils': 66.1.2 + colorette: 2.0.20 + gzip-size: 6.0.0 + sirv: 3.0.1 + vue-flow-layout: 0.1.1(vue@3.5.15(typescript@5.7.2)) + transitivePeerDependencies: + - vue + optional: true + + '@unocss/postcss@65.4.2(postcss@8.4.49)': + dependencies: + '@unocss/config': 65.4.2 + '@unocss/core': 65.4.2 + '@unocss/rule-utils': 65.4.2 css-tree: 3.1.0 postcss: 8.4.49 tinyglobby: 0.2.14 + transitivePeerDependencies: + - supports-color - '@unocss/preset-attributify@66.2.0': + '@unocss/preset-attributify@65.4.2': dependencies: - '@unocss/core': 66.2.0 + '@unocss/core': 65.4.2 - '@unocss/preset-icons@66.2.0': + '@unocss/preset-icons@65.4.2': dependencies: '@iconify/utils': 2.3.0 - '@unocss/core': 66.2.0 + '@unocss/core': 65.4.2 ofetch: 1.4.1 transitivePeerDependencies: - supports-color @@ -8399,37 +8480,44 @@ snapshots: dependencies: '@unocss/core': 0.59.4 - '@unocss/preset-mini@66.2.0': + '@unocss/preset-mini@65.4.2': dependencies: - '@unocss/core': 66.2.0 - '@unocss/extractor-arbitrary-variants': 66.2.0 - '@unocss/rule-utils': 66.2.0 + '@unocss/core': 65.4.2 + '@unocss/extractor-arbitrary-variants': 65.4.2 + '@unocss/rule-utils': 65.4.2 - '@unocss/preset-tagify@66.2.0': + '@unocss/preset-mini@66.1.2': dependencies: - '@unocss/core': 66.2.0 + '@unocss/core': 66.1.2 + '@unocss/extractor-arbitrary-variants': 66.1.2 + '@unocss/rule-utils': 66.1.2 - '@unocss/preset-typography@66.2.0': + '@unocss/preset-tagify@65.4.2': dependencies: - '@unocss/core': 66.2.0 - '@unocss/preset-mini': 66.2.0 - '@unocss/rule-utils': 66.2.0 + '@unocss/core': 65.4.2 - '@unocss/preset-uno@66.2.0': + '@unocss/preset-typography@65.4.2': dependencies: - '@unocss/core': 66.2.0 - '@unocss/preset-wind3': 66.2.0 + '@unocss/core': 65.4.2 + '@unocss/preset-mini': 65.4.2 - '@unocss/preset-web-fonts@66.2.0': + '@unocss/preset-uno@65.4.2': dependencies: - '@unocss/core': 66.2.0 + '@unocss/core': 65.4.2 + '@unocss/preset-mini': 65.4.2 + '@unocss/preset-wind': 65.4.2 + '@unocss/rule-utils': 65.4.2 + + '@unocss/preset-web-fonts@65.4.2': + dependencies: + '@unocss/core': 65.4.2 ofetch: 1.4.1 - '@unocss/preset-wind3@66.2.0': + '@unocss/preset-wind3@66.1.2': dependencies: - '@unocss/core': 66.2.0 - '@unocss/preset-mini': 66.2.0 - '@unocss/rule-utils': 66.2.0 + '@unocss/core': 66.1.2 + '@unocss/preset-mini': 66.1.2 + '@unocss/rule-utils': 66.1.2 '@unocss/preset-wind4@66.2.0': dependencies: @@ -8437,42 +8525,69 @@ snapshots: '@unocss/extractor-arbitrary-variants': 66.2.0 '@unocss/rule-utils': 66.2.0 - '@unocss/preset-wind@66.2.0': + '@unocss/preset-wind@65.4.2': + dependencies: + '@unocss/core': 65.4.2 + '@unocss/preset-mini': 65.4.2 + '@unocss/rule-utils': 65.4.2 + + '@unocss/reset@65.4.2': {} + + '@unocss/rule-utils@65.4.2': + dependencies: + '@unocss/core': 65.4.2 + magic-string: 0.30.17 + + '@unocss/rule-utils@66.1.2': dependencies: '@unocss/core': 66.2.0 - '@unocss/preset-wind3': 66.2.0 - - '@unocss/reset@66.2.0': {} + magic-string: 0.30.17 '@unocss/rule-utils@66.2.0': dependencies: '@unocss/core': 66.2.0 magic-string: 0.30.17 - '@unocss/transformer-attributify-jsx@66.2.0': + '@unocss/transformer-attributify-jsx@65.4.2': dependencies: - '@unocss/core': 66.2.0 + '@unocss/core': 65.4.2 - '@unocss/transformer-compile-class@66.2.0': + '@unocss/transformer-compile-class@65.4.2': dependencies: - '@unocss/core': 66.2.0 + '@unocss/core': 65.4.2 - '@unocss/transformer-directives@66.2.0': + '@unocss/transformer-directives@65.4.2': dependencies: - '@unocss/core': 66.2.0 - '@unocss/rule-utils': 66.2.0 + '@unocss/core': 65.4.2 + '@unocss/rule-utils': 65.4.2 css-tree: 3.1.0 - '@unocss/transformer-variant-group@66.2.0': + '@unocss/transformer-variant-group@65.4.2': dependencies: - '@unocss/core': 66.2.0 + '@unocss/core': 65.4.2 - '@unocss/vite@66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': + '@unocss/vite@65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': dependencies: '@ampproject/remapping': 2.3.0 - '@unocss/config': 66.2.0 - '@unocss/core': 66.2.0 - '@unocss/inspector': 66.2.0(vue@3.5.15(typescript@5.7.2)) + '@rollup/pluginutils': 5.1.4(rollup@4.41.1) + '@unocss/config': 65.4.2 + '@unocss/core': 65.4.2 + '@unocss/inspector': 65.4.2(vue@3.5.15(typescript@5.7.2)) + chokidar: 3.6.0 + magic-string: 0.30.17 + tinyglobby: 0.2.14 + vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) + transitivePeerDependencies: + - rollup + - supports-color + - vue + + '@unocss/vite@66.1.2(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))': + dependencies: + '@ampproject/remapping': 2.3.0 + '@unocss/config': 66.1.2 + '@unocss/core': 66.1.2 + '@unocss/inspector': 66.1.2(vue@3.5.15(typescript@5.7.2)) chokidar: 3.6.0 magic-string: 0.30.17 pathe: 2.0.3 @@ -8481,6 +8596,7 @@ snapshots: vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - vue + optional: true '@vitejs/plugin-legacy@5.3.2(terser@5.36.0)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))': dependencies: @@ -8956,6 +9072,11 @@ snapshots: esbuild: 0.20.2 load-tsconfig: 0.2.5 + bundle-require@5.1.0(esbuild@0.25.5): + dependencies: + esbuild: 0.25.5 + load-tsconfig: 0.2.5 + bytes@3.1.2: {} c12@1.11.2: @@ -9916,6 +10037,17 @@ snapshots: transitivePeerDependencies: - supports-color + importx@0.5.2: + dependencies: + bundle-require: 5.1.0(esbuild@0.25.5) + debug: 4.4.1 + esbuild: 0.25.5 + jiti: 2.4.2 + pathe: 2.0.3 + tsx: 4.19.4 + transitivePeerDependencies: + - supports-color + imurmurhash@0.1.4: {} inflight@1.0.6: @@ -11718,12 +11850,21 @@ snapshots: transitivePeerDependencies: - supports-color + unconfig@0.6.1: + dependencies: + '@antfu/utils': 8.1.1 + defu: 6.1.4 + importx: 0.5.2 + transitivePeerDependencies: + - supports-color + unconfig@7.3.2: dependencies: '@quansync/fs': 0.1.3 defu: 6.1.4 jiti: 2.4.2 quansync: 0.2.10 + optional: true undici-types@6.19.8: {} @@ -11782,42 +11923,41 @@ snapshots: universalify@2.0.1: {} - unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0)(unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))): + unocss-applet@0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2)(unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2))): dependencies: - '@unocss-applet/preset-applet': 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.2.0)(@unocss/preset-wind3@66.2.0) + '@unocss-applet/preset-applet': 0.10.0(@unocss/core@66.2.0)(@unocss/preset-mini@66.1.2)(@unocss/preset-wind3@66.1.2) '@unocss-applet/preset-rem-rpx': 0.10.0(@unocss/core@66.2.0) '@unocss-applet/transformer-attributify': 0.10.0(@unocss/core@66.2.0) - unocss: 66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + unocss: 65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) transitivePeerDependencies: - '@unocss/core' - '@unocss/preset-mini' - '@unocss/preset-wind3' - unocss@66.2.0(postcss@8.4.49)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)): + unocss@65.4.2(postcss@8.4.49)(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)): dependencies: - '@unocss/astro': 66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) - '@unocss/cli': 66.2.0 - '@unocss/core': 66.2.0 - '@unocss/postcss': 66.2.0(postcss@8.4.49) - '@unocss/preset-attributify': 66.2.0 - '@unocss/preset-icons': 66.2.0 - '@unocss/preset-mini': 66.2.0 - '@unocss/preset-tagify': 66.2.0 - '@unocss/preset-typography': 66.2.0 - '@unocss/preset-uno': 66.2.0 - '@unocss/preset-web-fonts': 66.2.0 - '@unocss/preset-wind': 66.2.0 - '@unocss/preset-wind3': 66.2.0 - '@unocss/preset-wind4': 66.2.0 - '@unocss/transformer-attributify-jsx': 66.2.0 - '@unocss/transformer-compile-class': 66.2.0 - '@unocss/transformer-directives': 66.2.0 - '@unocss/transformer-variant-group': 66.2.0 - '@unocss/vite': 66.2.0(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + '@unocss/astro': 65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) + '@unocss/cli': 65.4.2(rollup@4.41.1) + '@unocss/core': 65.4.2 + '@unocss/postcss': 65.4.2(postcss@8.4.49) + '@unocss/preset-attributify': 65.4.2 + '@unocss/preset-icons': 65.4.2 + '@unocss/preset-mini': 65.4.2 + '@unocss/preset-tagify': 65.4.2 + '@unocss/preset-typography': 65.4.2 + '@unocss/preset-uno': 65.4.2 + '@unocss/preset-web-fonts': 65.4.2 + '@unocss/preset-wind': 65.4.2 + '@unocss/transformer-attributify-jsx': 65.4.2 + '@unocss/transformer-compile-class': 65.4.2 + '@unocss/transformer-directives': 65.4.2 + '@unocss/transformer-variant-group': 65.4.2 + '@unocss/vite': 65.4.2(rollup@4.41.1)(vite@5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0))(vue@3.5.15(typescript@5.7.2)) optionalDependencies: vite: 5.2.8(@types/node@20.17.9)(sass@1.77.8)(terser@5.36.0) transitivePeerDependencies: - postcss + - rollup - supports-color - vue From da79ac04e6a50cf141cdca61252b603b8abf3cfd Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 14 Jun 2025 12:36:00 +0800 Subject: [PATCH 084/147] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4.eslintignor?= =?UTF-8?q?e=E5=B9=B6=E5=B0=86=E5=BF=BD=E7=95=A5=E8=A7=84=E5=88=99?= =?UTF-8?q?=E7=A7=BB=E8=87=B3.oxlintrc.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将原本在.eslintignore中配置的忽略文件移动到.oxlintrc.json的ignorePatterns中,简化配置文件管理 --- .eslintignore | 4 ---- .oxlintrc.json | 11 ++++++++++- 2 files changed, 10 insertions(+), 5 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 9f68e8c..0000000 --- a/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -vite.config.ts -uno.config.ts -pages.config.ts -manifest.config.ts diff --git a/.oxlintrc.json b/.oxlintrc.json index be6932b..7b5e001 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -12,7 +12,16 @@ "globals": { "foo": "readonly" }, - "ignorePatterns": ["node_modules", "dist", "src/static/**", "src/uni_modules/**"], + "ignorePatterns": [ + "node_modules", + "dist", + "src/static/**", + "src/uni_modules/**", + "vite.config.ts", + "uno.config.ts", + "pages.config.ts", + "manifest.config.ts" + ], "settings": {}, "overrides": [ { From 8f711caadacab1fdbacb5403fa3dbd3863df8caa Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sun, 15 Jun 2025 16:46:28 +0800 Subject: [PATCH 085/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20z-paging?= =?UTF-8?q?=20=E4=BE=9D=E8=B5=96=E8=87=B3=202.8.7=20=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index af4760d..739d7e5 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "qs": "6.5.3", "vue": "^3.4.21", "wot-design-uni": "^1.9.1", - "z-paging": "^2.8.4" + "z-paging": "2.8.7" }, "devDependencies": { "@commitlint/cli": "^19.8.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6139983..7797e83 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -87,8 +87,8 @@ importers: specifier: ^1.9.1 version: 1.9.1(vue@3.5.15(typescript@5.7.2)) z-paging: - specifier: ^2.8.4 - version: 2.8.4 + specifier: 2.8.7 + version: 2.8.7 devDependencies: '@commitlint/cli': specifier: ^19.8.1 @@ -5564,8 +5564,8 @@ packages: resolution: {integrity: sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==} engines: {node: '>=12.20'} - z-paging@2.8.4: - resolution: {integrity: sha512-967aWGPZsC9siwIoWtXH6L+9gCoKe29jZtW+AMD9NSfsfymPZjBBYu7owT/siUQyCaaNJ7uUbpAet+YgpMn0xA==} + z-paging@2.8.7: + resolution: {integrity: sha512-RcDeKFoCQB51dmrrTb1PMIazjTqGuAbFmjPS0/N5hdUNTCRvxGOOBTBFolvIxUcsWhrocI9C0mYDgUwXT6Dwcg==} engines: {HBuilderX: ^3.0.7} snapshots: @@ -12230,4 +12230,4 @@ snapshots: yocto-queue@1.2.1: {} - z-paging@2.8.4: {} + z-paging@2.8.7: {} From bd64215f867f7c0bade91756340aae516f16d590 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sun, 15 Jun 2025 16:46:57 +0800 Subject: [PATCH 086/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E8=87=B3=202.12.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 739d7e5..ad88c87 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unibest", "type": "commonjs", - "version": "2.12.1", + "version": "2.12.2", "description": "unibest - 最好的 uniapp 开发模板", "update-time": "2025-05-28", "author": { From 3808f515cf55879910f73db5691f2a950ea306e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Sun, 15 Jun 2025 12:50:45 +0000 Subject: [PATCH 087/147] =?UTF-8?q?!16=20=E8=AE=A9http=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E6=94=AF=E6=8C=81=E4=BC=A0=E9=80=92=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A=E5=8F=82=E6=95=B0=20Merge=20pull=20request=20!16=20fr?= =?UTF-8?q?om=20=E6=B5=91=E5=AE=A3=E5=87=AF/N/A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/http.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/utils/http.ts b/src/utils/http.ts index afa1eaf..f4ccd36 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -53,12 +53,14 @@ export const httpGet = ( url: string, query?: Record, header?: Record, + options?: Partial, ) => { return http({ url, query, method: 'GET', header, + ...options, }) } @@ -75,6 +77,7 @@ export const httpPost = ( data?: Record, query?: Record, header?: Record, + options?: Partial, ) => { return http({ url, @@ -82,6 +85,7 @@ export const httpPost = ( data, method: 'POST', header, + ...options, }) } /** @@ -92,6 +96,7 @@ export const httpPut = ( data?: Record, query?: Record, header?: Record, + options?: Partial, ) => { return http({ url, @@ -99,6 +104,7 @@ export const httpPut = ( query, method: 'PUT', header, + ...options, }) } @@ -109,12 +115,14 @@ export const httpDelete = ( url: string, query?: Record, header?: Record, + options?: Partial, ) => { return http({ url, query, method: 'DELETE', header, + ...options, }) } From f2119f3f731ff4610295444b995e7db00ad1d05f Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Mon, 16 Jun 2025 09:53:03 +0800 Subject: [PATCH 088/147] fix: await getUserInfo need await --- src/store/user.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/user.ts b/src/store/user.ts index 400e8f2..a6a1a84 100644 --- a/src/store/user.ts +++ b/src/store/user.ts @@ -59,7 +59,7 @@ export const useUserStore = defineStore( const res = await _login(credentials) console.log('登录信息', res) toast.success('登录成功') - getUserInfo() + await getUserInfo() return res } /** @@ -90,7 +90,7 @@ export const useUserStore = defineStore( console.log('微信登录code', data) const res = await _wxLogin(data) - getUserInfo() + await getUserInfo() return res } From f6208a191dbfc254cd527151abbfa6b117bd52fd Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 18:09:51 +0800 Subject: [PATCH 089/147] =?UTF-8?q?feat(build):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0package.json=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=88=B3=E7=9A=84vite=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加updatePackageJson插件,在构建时自动更新package.json中的时间戳字段 --- scripts/updatePackageJson.ts | 31 +++++++++++++++++++++++++++++++ src/pages.json | 1 + vite.config.ts | 2 ++ 3 files changed, 34 insertions(+) create mode 100644 scripts/updatePackageJson.ts diff --git a/scripts/updatePackageJson.ts b/scripts/updatePackageJson.ts new file mode 100644 index 0000000..22a13fc --- /dev/null +++ b/scripts/updatePackageJson.ts @@ -0,0 +1,31 @@ +// src/plugins/updatePackageJson.ts +import { Plugin } from 'vite' +import fs from 'fs/promises' +import path from 'path' + +const updatePackageJson = (): Plugin => { + return { + name: 'update-package-json', + async buildStart() { + const packageJsonPath = path.resolve(process.cwd(), 'package.json') + + try { + // 读取并解析 package.json + const content = await fs.readFile(packageJsonPath, 'utf-8') + const packageJson = JSON.parse(content) + + // 更新时间戳(使用 ISO 格式或自定义格式) + packageJson['update-time'] = new Date().toISOString().split('T')[0] // YYYY-MM-DD + + // 写回文件(保持 2 空格缩进) + await fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n', 'utf-8') + + console.log(`[update-package-json] 更新时间戳: ${packageJson['update-time']}`) + } catch (error) { + console.error('[update-package-json] 插件执行失败:', error) + } + }, + } +} + +export default updatePackageJson diff --git a/src/pages.json b/src/pages.json index d8c43f9..f5d9e48 100644 --- a/src/pages.json +++ b/src/pages.json @@ -44,6 +44,7 @@ } ] }, + "__esModule": true, "pages": [ { "path": "pages/index/index", diff --git a/vite.config.ts b/vite.config.ts index 6111304..3175df7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -21,6 +21,7 @@ import AutoImport from 'unplugin-auto-import/vite' import ViteRestart from 'vite-plugin-restart' import { copyNativeRes } from './vite-plugins/copyNativeRes' import Components from '@uni-helper/vite-plugin-uni-components' +import updatePackageJson from './scripts/updatePackageJson' // https://vitejs.dev/config/ export default async ({ command, mode }) => { @@ -129,6 +130,7 @@ export default async ({ command, mode }) => { dts: 'src/types/components.d.ts', // 自动生成的组件类型声明文件路径(用于 TypeScript 支持) }), Uni(), + updatePackageJson(), ], define: { __UNI_PLATFORM__: JSON.stringify(UNI_PLATFORM), From 39f4ba793dc9846d7400327b3dd869ad9ba7b44a Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 18:11:15 +0800 Subject: [PATCH 090/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20package.j?= =?UTF-8?q?son=20=E4=B8=AD=E7=9A=84=20update-time=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ad88c87..eb46774 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "type": "commonjs", "version": "2.12.2", "description": "unibest - 最好的 uniapp 开发模板", - "update-time": "2025-05-28", + "update-time": "2025-06-17", "author": { "name": "feige996", "zhName": "菲鸽", From 968a0908764afcb87a489004686edb1e4d9f4fdc Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 18:11:41 +0800 Subject: [PATCH 091/147] =?UTF-8?q?refactor(vite):=20=E5=B0=86=20updatePac?= =?UTF-8?q?kageJson=20=E6=8F=92=E4=BB=B6=E4=BB=8E=20scripts=20=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E5=88=B0=20vite-plugins=20=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {scripts => vite-plugins}/updatePackageJson.ts | 0 vite.config.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {scripts => vite-plugins}/updatePackageJson.ts (100%) diff --git a/scripts/updatePackageJson.ts b/vite-plugins/updatePackageJson.ts similarity index 100% rename from scripts/updatePackageJson.ts rename to vite-plugins/updatePackageJson.ts diff --git a/vite.config.ts b/vite.config.ts index 3175df7..3efc208 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -20,8 +20,8 @@ import { visualizer } from 'rollup-plugin-visualizer' import AutoImport from 'unplugin-auto-import/vite' import ViteRestart from 'vite-plugin-restart' import { copyNativeRes } from './vite-plugins/copyNativeRes' +import updatePackageJson from './vite-plugins/updatePackageJson' import Components from '@uni-helper/vite-plugin-uni-components' -import updatePackageJson from './scripts/updatePackageJson' // https://vitejs.dev/config/ export default async ({ command, mode }) => { From c6d4a469688bd176c578ddabfc7056e031bb61a5 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 18:15:08 +0800 Subject: [PATCH 092/147] =?UTF-8?q?fix(vite-plugins):=20=E4=BB=85=E5=9C=A8?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83=E6=9E=84=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0package.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite-plugins/updatePackageJson.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite-plugins/updatePackageJson.ts b/vite-plugins/updatePackageJson.ts index 22a13fc..0d2282f 100644 --- a/vite-plugins/updatePackageJson.ts +++ b/vite-plugins/updatePackageJson.ts @@ -7,6 +7,9 @@ const updatePackageJson = (): Plugin => { return { name: 'update-package-json', async buildStart() { + // 只在生产环境构建时执行 + if (process.env.NODE_ENV !== 'production') return + const packageJsonPath = path.resolve(process.cwd(), 'package.json') try { From 2f2a14cd06d4101cb8a620e470530ed632175f8f Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 18:16:32 +0800 Subject: [PATCH 093/147] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E5=BA=9F?= =?UTF-8?q?=E5=BC=83=E4=BB=93=E5=BA=93=E5=AD=97=E6=AE=B5=E5=90=8D=E4=BB=8E?= =?UTF-8?q?repository-deprecated=E5=88=B0repository-old?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index eb46774..6c8a288 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,10 @@ "license": "MIT", "repository": "https://github.com/feige996/unibest", "repository-gitee": "https://gitee.com/feige996/unibest", - "repository-deprecated": "https://github.com/codercup/unibest", + "repository-old": "https://github.com/codercup/unibest", "bugs": { - "url": "https://github.com/feige996/unibest/issues" + "url": "https://github.com/feige996/unibest/issues", + "old-url": "https://github.com/codercup/unibest/issues" }, "homepage": "https://feige996.github.io/unibest/", "engines": { From 7dd210e42708b54872085057e6361e2943df6b0b Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 18:17:37 +0800 Subject: [PATCH 094/147] =?UTF-8?q?docs(package.json):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dbugs.url=E5=AD=97=E6=AE=B5=E7=9A=84=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6c8a288..a681422 100644 --- a/package.json +++ b/package.json @@ -11,15 +11,15 @@ "github": "https://github.com/feige996", "gitee": "https://gitee.com/feige996" }, + "homepage": "https://unibest.tech", "license": "MIT", "repository": "https://github.com/feige996/unibest", "repository-gitee": "https://gitee.com/feige996/unibest", "repository-old": "https://github.com/codercup/unibest", "bugs": { "url": "https://github.com/feige996/unibest/issues", - "old-url": "https://github.com/codercup/unibest/issues" + "url-old": "https://github.com/codercup/unibest/issues" }, - "homepage": "https://feige996.github.io/unibest/", "engines": { "node": ">=18", "pnpm": ">=7.30" From 4445e18b0208261b62af2127b32b49dfc784154f Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 22:35:29 +0800 Subject: [PATCH 095/147] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=B8=AD=E5=BF=83=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=92=8C=E9=9A=90=E7=A7=81=E5=BC=B9=E7=AA=97=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除与用户中心相关的所有页面,包括个人资料、修改密码、关于我们等 移除不再使用的隐私协议弹窗组件及相关样式文件 清理路由配置中不再需要的页面路径 --- pages.config.ts | 6 - src/components/privacy-popup/index.scss | 47 -- .../privacy-popup/privacy-popup.vue | 144 ----- src/pages.json | 42 -- src/pages/login/index.vue | 584 ------------------ src/pages/mine/about/index.vue | 173 ------ src/pages/mine/index.vue | 374 ----------- src/pages/mine/info/index.vue | 190 ------ src/pages/mine/password/index.vue | 203 ------ 9 files changed, 1763 deletions(-) delete mode 100644 src/components/privacy-popup/index.scss delete mode 100644 src/components/privacy-popup/privacy-popup.vue delete mode 100644 src/pages/login/index.vue delete mode 100644 src/pages/mine/about/index.vue delete mode 100644 src/pages/mine/index.vue delete mode 100644 src/pages/mine/info/index.vue delete mode 100644 src/pages/mine/password/index.vue diff --git a/pages.config.ts b/pages.config.ts index 547d0da..c801b46 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -40,12 +40,6 @@ export default defineUniPages({ pagePath: 'pages/about/about', text: '关于', }, - { - iconPath: 'static/tabbar/personal.png', - selectedIconPath: 'static/tabbar/personalHL.png', - pagePath: 'pages/mine/index', - text: '我的', - }, ], }, }) diff --git a/src/components/privacy-popup/index.scss b/src/components/privacy-popup/index.scss deleted file mode 100644 index 8cba003..0000000 --- a/src/components/privacy-popup/index.scss +++ /dev/null @@ -1,47 +0,0 @@ -@import 'wot-design-uni/components/wd-button/index.scss'; -:deep(.wd-privacy-popup) { - width: 600rpx; - padding: 0 24rpx; - box-sizing: border-box; - border-radius: 32rpx; - overflow: hidden; -} - -.wd-privacy-popup { - &__header { - width: 100%; - height: 128rpx; - line-height: 128rpx; - color: rgba(0, 0, 0, 0.85); - font-size: 30rpx; - padding: 0 12rpx; - box-sizing: border-box; - } - - &__container { - width: 100%; - box-sizing: border-box; - padding: 0 12rpx; - margin-bottom: 32rpx; - - font-size: 28rpx; - line-height: 1.8; - color: #3e3e3e; - text-align: left; - font-weight: 550; - &-protocol { - color: #4d80f0; - } - } - - &__footer { - display: flex; - justify-content: space-between; - padding-bottom: 36rpx; - - button { - border: none; - outline: none; - } - } -} \ No newline at end of file diff --git a/src/components/privacy-popup/privacy-popup.vue b/src/components/privacy-popup/privacy-popup.vue deleted file mode 100644 index 9bf9ec9..0000000 --- a/src/components/privacy-popup/privacy-popup.vue +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - diff --git a/src/pages.json b/src/pages.json index f5d9e48..0ba59a0 100644 --- a/src/pages.json +++ b/src/pages.json @@ -35,12 +35,6 @@ "selectedIconPath": "static/tabbar/exampleHL.png", "pagePath": "pages/about/about", "text": "关于" - }, - { - "iconPath": "static/tabbar/personal.png", - "selectedIconPath": "static/tabbar/personalHL.png", - "pagePath": "pages/mine/index", - "text": "我的" } ] }, @@ -61,42 +55,6 @@ "navigationBarTitleText": "关于", "navigationStyle": "custom" } - }, - { - "path": "pages/login/index", - "type": "page", - "style": { - "navigationBarTitleText": "登录", - "navigationStyle": "custom" - } - }, - { - "path": "pages/mine/index", - "type": "page", - "style": { - "navigationBarTitleText": "我的" - } - }, - { - "path": "pages/mine/about/index", - "type": "page", - "style": { - "navigationBarTitleText": "关于我们" - } - }, - { - "path": "pages/mine/info/index", - "type": "page", - "style": { - "navigationBarTitleText": "个人资料" - } - }, - { - "path": "pages/mine/password/index", - "type": "page", - "style": { - "navigationBarTitleText": "修改密码" - } } ], "subPackages": [] diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue deleted file mode 100644 index 5195f14..0000000 --- a/src/pages/login/index.vue +++ /dev/null @@ -1,584 +0,0 @@ - -{ - style: { - navigationBarTitleText: '登录', - navigationStyle: 'custom', - }, -} - - - - - - diff --git a/src/pages/mine/about/index.vue b/src/pages/mine/about/index.vue deleted file mode 100644 index d7e152a..0000000 --- a/src/pages/mine/about/index.vue +++ /dev/null @@ -1,173 +0,0 @@ - -{ - style: { - navigationBarTitleText: '关于我们', - }, -} - - - - - - - diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue deleted file mode 100644 index 11cbc1e..0000000 --- a/src/pages/mine/index.vue +++ /dev/null @@ -1,374 +0,0 @@ - -{ - style: { - navigationBarTitleText: '我的', - }, -} - - - - - - - diff --git a/src/pages/mine/info/index.vue b/src/pages/mine/info/index.vue deleted file mode 100644 index 2feb64d..0000000 --- a/src/pages/mine/info/index.vue +++ /dev/null @@ -1,190 +0,0 @@ - -{ - style: { - navigationBarTitleText: '个人资料', - }, -} - - - - - - - diff --git a/src/pages/mine/password/index.vue b/src/pages/mine/password/index.vue deleted file mode 100644 index a92d2d5..0000000 --- a/src/pages/mine/password/index.vue +++ /dev/null @@ -1,203 +0,0 @@ - -{ - style: { - navigationBarTitleText: '修改密码', - }, -} - - - - - - - From 136fb5d50719c9df766ec5f8f9b5423ffbbfd8e4 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 22:36:31 +0800 Subject: [PATCH 096/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E8=87=B32.13.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a681422..4be7ef6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unibest", "type": "commonjs", - "version": "2.12.2", + "version": "2.13.0", "description": "unibest - 最好的 uniapp 开发模板", "update-time": "2025-06-17", "author": { From 11b78808107ff44102f4be8d4f7a540783464940 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 22:39:31 +0800 Subject: [PATCH 097/147] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84"=E6=88=91=E7=9A=84"=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=8F=8A=E7=9B=B8=E5=85=B3=E8=B7=AF=E7=94=B1=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/src/pages.json b/src/pages.json index 4d93795..7f469db 100644 --- a/src/pages.json +++ b/src/pages.json @@ -36,12 +36,6 @@ "text": "关于", "icon": "i-carbon-code", "iconType": "unocss" - }, - { - "pagePath": "pages/mine/index", - "text": "我的", - "icon": "iconfont icon-my", - "iconType": "iconfont" } ] }, @@ -64,43 +58,6 @@ "navigationBarTitleText": "关于", "navigationStyle": "custom" } - }, - { - "path": "pages/login/index", - "type": "page", - "style": { - "navigationBarTitleText": "登录", - "navigationStyle": "custom" - } - }, - { - "path": "pages/mine/index", - "type": "page", - "layout": "tabbar", - "style": { - "navigationBarTitleText": "我的" - } - }, - { - "path": "pages/mine/about/index", - "type": "page", - "style": { - "navigationBarTitleText": "关于我们" - } - }, - { - "path": "pages/mine/info/index", - "type": "page", - "style": { - "navigationBarTitleText": "个人资料" - } - }, - { - "path": "pages/mine/password/index", - "type": "page", - "style": { - "navigationBarTitleText": "修改密码" - } } ], "subPackages": [] From 47d8401c47fe536a011aa9c3979807a131b4f140 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 17 Jun 2025 22:57:37 +0800 Subject: [PATCH 098/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20package.j?= =?UTF-8?q?son=20=E7=89=88=E6=9C=AC=E5=8F=B7=E8=87=B3=202.13.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4be7ef6..671661d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unibest", "type": "commonjs", - "version": "2.13.0", + "version": "2.13.1", "description": "unibest - 最好的 uniapp 开发模板", "update-time": "2025-06-17", "author": { From 33638c5a9efaa7b80cb84932505f12c7dbefea0c Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Fri, 20 Jun 2025 10:43:18 +0800 Subject: [PATCH 099/147] =?UTF-8?q?build:=20=E6=B7=BB=E5=8A=A0=20prettier?= =?UTF-8?q?=20=E4=BE=9D=E8=B5=96=E5=B9=B6=E5=8D=87=E7=BA=A7=E8=87=B3=203.5?= =?UTF-8?q?.3=20=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 671661d..b9f8d09 100644 --- a/package.json +++ b/package.json @@ -149,6 +149,7 @@ "postcss": "^8.4.49", "postcss-html": "^1.7.0", "postcss-scss": "^4.0.9", + "prettier": "^3.5.3", "rollup-plugin-visualizer": "^5.12.0", "sass": "1.77.8", "terser": "^5.36.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7797e83..693dc14 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -186,6 +186,9 @@ importers: postcss-scss: specifier: ^4.0.9 version: 4.0.9(postcss@8.4.49) + prettier: + specifier: ^3.5.3 + version: 3.5.3 rollup-plugin-visualizer: specifier: ^5.12.0 version: 5.12.0(rollup@4.41.1) @@ -4635,8 +4638,8 @@ packages: resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} engines: {node: ^10 || ^12 || >=14} - prettier@3.3.2: - resolution: {integrity: sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==} + prettier@3.5.3: + resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==} engines: {node: '>=14'} hasBin: true @@ -8010,10 +8013,10 @@ snapshots: '@polka/url@1.0.0-next.29': {} - '@prettier/sync@0.5.2(prettier@3.3.2)': + '@prettier/sync@0.5.2(prettier@3.5.3)': dependencies: make-synchronized: 0.2.9 - prettier: 3.3.2 + prettier: 3.5.3 '@quansync/fs@0.1.3': dependencies: @@ -8128,7 +8131,7 @@ snapshots: '@tootallnate/once@1.1.2': {} - '@trivago/prettier-plugin-sort-imports@5.2.1(@vue/compiler-sfc@3.5.15)(prettier@3.3.2)': + '@trivago/prettier-plugin-sort-imports@5.2.1(@vue/compiler-sfc@3.5.15)(prettier@3.5.3)': dependencies: '@babel/generator': 7.26.2 '@babel/parser': 7.26.2 @@ -8136,7 +8139,7 @@ snapshots: '@babel/types': 7.26.0 javascript-natural-sort: 0.7.1 lodash: 4.17.21 - prettier: 3.3.2 + prettier: 3.5.3 optionalDependencies: '@vue/compiler-sfc': 3.5.15 transitivePeerDependencies: @@ -11012,8 +11015,8 @@ snapshots: openapi-ts-request@1.1.2(@types/node@20.17.9)(@vue/compiler-sfc@3.5.15)(chokidar@3.6.0)(typescript@5.7.2): dependencies: - '@prettier/sync': 0.5.2(prettier@3.3.2) - '@trivago/prettier-plugin-sort-imports': 5.2.1(@vue/compiler-sfc@3.5.15)(prettier@3.3.2) + '@prettier/sync': 0.5.2(prettier@3.5.3) + '@trivago/prettier-plugin-sort-imports': 5.2.1(@vue/compiler-sfc@3.5.15)(prettier@3.5.3) axios: 1.7.9 bing-translate-api: 4.0.2 chalk: 4.1.2 @@ -11027,7 +11030,7 @@ snapshots: minimatch: 10.0.1 mockjs: 1.1.0 nunjucks: 3.2.4(chokidar@3.6.0) - prettier: 3.3.2 + prettier: 3.5.3 reserved-words: 0.1.2 rimraf: 6.0.1 swagger2openapi: 7.0.8 @@ -11294,7 +11297,7 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 - prettier@3.3.2: {} + prettier@3.5.3: {} pretty-format@27.5.1: dependencies: From 29f526242da271f779d8f3e6d5f37f5bf9b8c719 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Fri, 20 Jun 2025 10:45:22 +0800 Subject: [PATCH 100/147] =?UTF-8?q?ci:=20=E7=A7=BB=E9=99=A4=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E9=9C=80=E8=A6=81=E7=9A=84=E8=87=AA=E5=8A=A8=E5=90=88?= =?UTF-8?q?=E5=B9=B6=E5=88=B0main=E7=9A=84=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-merge.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 0c12579..f548d8b 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -7,24 +7,6 @@ on: workflow_dispatch: # 手动触发 jobs: - merge-to-main: - name: Merge base into main - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.GH_TOKEN_AUTO_MERGE }} - - - name: Merge base into main - run: | - git config user.name "GitHub Actions" - git config user.email "actions@github.com" - git checkout main - git merge base --no-ff -m "Auto merge base into main" - git push origin main - merge-to-i18n: name: Merge base into i18n runs-on: ubuntu-latest From 9a34868fb75dfd4072fe8d85249469fc1fc08038 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Fri, 20 Jun 2025 19:32:34 +0800 Subject: [PATCH 101/147] =?UTF-8?q?refactor(tabbar):=20=E5=B0=86tabbar?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=8A=BD=E7=A6=BB=E4=B8=BA=E5=8D=95=E7=8B=AC?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=BB=A5=E6=8F=90=E9=AB=98=E5=8F=AF=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将pages.config.ts中的tabbar配置抽离到单独的tabbarList.ts文件 移除pages.json中无用的__esModule字段 --- pages.config.ts | 29 ++------------------------ src/components/fg-tabbar/tabbarList.ts | 27 ++++++++++++++++++++++++ src/pages.json | 1 - 3 files changed, 29 insertions(+), 28 deletions(-) create mode 100644 src/components/fg-tabbar/tabbarList.ts diff --git a/pages.config.ts b/pages.config.ts index e36fc30..8e98f1d 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -1,4 +1,5 @@ import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages' +import tabbarList from './src/components/fg-tabbar/tabbarList' export default defineUniPages({ globalStyle: { @@ -28,32 +29,6 @@ export default defineUniPages({ fontSize: '10px', iconWidth: '24px', spacing: '3px', - list: [ - // 注意tabbar路由需要使用 layout:tabbar 布局 - { - pagePath: 'pages/index/index', - text: '首页', - icon: 'home', - iconType: 'wot', - }, - { - pagePath: 'pages/about/about', - text: '关于', - icon: 'i-carbon-code', - iconType: 'unocss', - }, - // { - // pagePath: 'pages/my/index', - // text: '我的', - // icon: '/static/logo.svg', - // iconType: 'local', - // }, - // { - // pagePath: 'pages/mine/index', - // text: '我的', - // icon: 'iconfont icon-my', - // iconType: 'iconfont', - // }, - ], + list: tabbarList as any, }, }) diff --git a/src/components/fg-tabbar/tabbarList.ts b/src/components/fg-tabbar/tabbarList.ts new file mode 100644 index 0000000..d4f7b90 --- /dev/null +++ b/src/components/fg-tabbar/tabbarList.ts @@ -0,0 +1,27 @@ +export default [ + // 注意tabbar路由需要使用 layout:tabbar 布局 + { + pagePath: 'pages/index/index', + text: '首页', + icon: 'home', + iconType: 'wot', + }, + { + pagePath: 'pages/about/about', + text: '关于', + icon: 'i-carbon-code', + iconType: 'unocss', + }, + // { + // pagePath: 'pages/my/index', + // text: '我的', + // icon: '/static/logo.svg', + // iconType: 'local', + // }, + // { + // pagePath: 'pages/mine/index', + // text: '我的', + // icon: 'iconfont icon-my', + // iconType: 'iconfont', + // }, +] diff --git a/src/pages.json b/src/pages.json index 7f469db..a3ceb1c 100644 --- a/src/pages.json +++ b/src/pages.json @@ -39,7 +39,6 @@ } ] }, - "__esModule": true, "pages": [ { "path": "pages/index/index", From bf61c3d1f0a472c80a0fe936a7254f7311b9e2e7 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Fri, 20 Jun 2025 19:35:31 +0800 Subject: [PATCH 102/147] =?UTF-8?q?chore:=20=E5=9C=A8=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=E8=B0=83=E8=AF=95=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加console.log语句用于调试index和about页面 --- src/pages/about/about.vue | 1 + src/pages/index/index.vue | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/pages/about/about.vue b/src/pages/about/about.vue index 99c8061..f5cdf15 100644 --- a/src/pages/about/about.vue +++ b/src/pages/about/about.vue @@ -44,6 +44,7 @@ const toSubPage = () => { // console.log('oxlint') // } // testOxlint('oxlint') +console.log('about') diff --git a/src/pages.json b/src/pages.json index 15c7ff1..9b32bb1 100644 --- a/src/pages.json +++ b/src/pages.json @@ -62,4 +62,4 @@ } ], "subPackages": [] -} \ No newline at end of file +} diff --git a/src/pages/about/about.vue b/src/pages/about/about.vue index 5f11f82..71ca5fe 100644 --- a/src/pages/about/about.vue +++ b/src/pages/about/about.vue @@ -7,17 +7,6 @@ } - - + + diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 968a26a..ec3bcbf 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -9,25 +9,6 @@ }, } - + + diff --git a/src/service/index/foo.ts b/src/service/index/foo.ts index 34d523e..88c1138 100644 --- a/src/service/index/foo.ts +++ b/src/service/index/foo.ts @@ -1,27 +1,28 @@ import { http } from '@/utils/http' + export interface IFooItem { id: string name: string } /** GET 请求 */ -export const getFooAPI = (name: string) => { +export function getFooAPI(name: string) { return http.get('/foo', { name }) } /** GET 请求;支持 传递 header 的范例 */ -export const getFooAPI2 = (name: string) => { +export function getFooAPI2(name: string) { return http.get('/foo', { name }, { 'Content-Type-100': '100' }) } /** POST 请求 */ -export const postFooAPI = (name: string) => { +export function postFooAPI(name: string) { return http.post('/foo', { name }) } /** POST 请求;需要传递 query 参数的范例;微信小程序经常有同时需要query参数和body参数的场景 */ -export const postFooAPI2 = (name: string) => { +export function postFooAPI2(name: string) { return http.post('/foo', { name }) } /** POST 请求;支持 传递 header 的范例 */ -export const postFooAPI3 = (name: string) => { +export function postFooAPI3(name: string) { return http.post('/foo', { name }, { name }, { 'Content-Type-100': '100' }) } diff --git a/src/store/user.ts b/src/store/user.ts index a6a1a84..522036f 100644 --- a/src/store/user.ts +++ b/src/store/user.ts @@ -1,14 +1,14 @@ -import { - login as _login, - getUserInfo as _getUserInfo, - wxLogin as _wxLogin, - logout as _logout, - getWxCode, -} from '@/api/login' +import type { IUserInfoVo } from '@/api/login.typings' import { defineStore } from 'pinia' import { ref } from 'vue' +import { + getUserInfo as _getUserInfo, + login as _login, + logout as _logout, + wxLogin as _wxLogin, + getWxCode, +} from '@/api/login' import { toast } from '@/utils/toast' -import { IUserInfoVo } from '@/api/login.typings' // 初始化状态 const userInfoState: IUserInfoVo = { @@ -29,7 +29,8 @@ export const useUserStore = defineStore( // 若头像为空 则使用默认头像 if (!val.avatar) { val.avatar = userInfoState.avatar - } else { + } + else { val.avatar = 'https://oss.laf.run/ukw0y1-site/avatar.jpg?feige' } userInfo.value = val diff --git a/src/typings.d.ts b/src/typings.d.ts index 0ab0858..9ead3fb 100644 --- a/src/typings.d.ts +++ b/src/typings.d.ts @@ -1,14 +1,14 @@ // 全局要用的类型放到这里 declare global { - type IResData = { + interface IResData { code: number msg: string data: T } // uni.uploadFile文件上传参数 - type IUniUploadFileOptions = { + interface IUniUploadFileOptions { file?: File files?: UniApp.UploadFileOptionFiles[] filePath?: string @@ -16,7 +16,7 @@ declare global { formData?: any } - type IUserInfo = { + interface IUserInfo { nickname?: string avatar?: string /** 微信的 openid,非微信没有这个字段 */ diff --git a/src/typings.ts b/src/typings.ts index cadb468..b48b630 100644 --- a/src/typings.ts +++ b/src/typings.ts @@ -6,7 +6,7 @@ export enum TestEnum { } // uni.uploadFile文件上传参数 -export type IUniUploadFileOptions = { +export interface IUniUploadFileOptions { file?: File files?: UniApp.UploadFileOptionFiles[] filePath?: string diff --git a/src/utils/http.ts b/src/utils/http.ts index f4ccd36..fb4d9bd 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -1,6 +1,6 @@ -import { CustomRequestOptions } from '@/interceptors/request' +import type { CustomRequestOptions } from '@/interceptors/request' -export const http = (options: CustomRequestOptions) => { +export function http(options: CustomRequestOptions) { // 1. 返回 Promise 对象 return new Promise>((resolve, reject) => { uni.request({ @@ -15,18 +15,20 @@ export const http = (options: CustomRequestOptions) => { if (res.statusCode >= 200 && res.statusCode < 300) { // 2.1 提取核心数据 res.data resolve(res.data as IResData) - } else if (res.statusCode === 401) { + } + else if (res.statusCode === 401) { // 401错误 -> 清理用户信息,跳转到登录页 // userStore.clearUserInfo() // uni.navigateTo({ url: '/pages/login/login' }) reject(res) - } else { + } + else { // 其他错误 -> 根据后端错误信息轻提示 - !options.hideErrorToast && - uni.showToast({ - icon: 'none', - title: (res.data as IResData).msg || '请求错误', - }) + !options.hideErrorToast + && uni.showToast({ + icon: 'none', + title: (res.data as IResData).msg || '请求错误', + }) reject(res) } }, @@ -49,12 +51,7 @@ export const http = (options: CustomRequestOptions) => { * @param header 请求头,默认为json格式 * @returns */ -export const httpGet = ( - url: string, - query?: Record, - header?: Record, - options?: Partial, -) => { +export function httpGet(url: string, query?: Record, header?: Record, options?: Partial) { return http({ url, query, @@ -72,13 +69,7 @@ export const httpGet = ( * @param header 请求头,默认为json格式 * @returns */ -export const httpPost = ( - url: string, - data?: Record, - query?: Record, - header?: Record, - options?: Partial, -) => { +export function httpPost(url: string, data?: Record, query?: Record, header?: Record, options?: Partial) { return http({ url, query, @@ -91,13 +82,7 @@ export const httpPost = ( /** * PUT 请求 */ -export const httpPut = ( - url: string, - data?: Record, - query?: Record, - header?: Record, - options?: Partial, -) => { +export function httpPut(url: string, data?: Record, query?: Record, header?: Record, options?: Partial) { return http({ url, data, @@ -111,12 +96,7 @@ export const httpPut = ( /** * DELETE 请求(无请求体,仅 query) */ -export const httpDelete = ( - url: string, - query?: Record, - header?: Record, - options?: Partial, -) => { +export function httpDelete(url: string, query?: Record, header?: Record, options?: Partial) { return http({ url, query, diff --git a/src/utils/index.ts b/src/utils/index.ts index 42a8016..e015753 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,7 +1,7 @@ import { pages, subPackages } from '@/pages.json' import { isMpWeixin } from './platform' -export const getLastPage = () => { +export function getLastPage() { // getCurrentPages() 至少有1个元素,所以不再额外判断 // const lastPage = getCurrentPages().at(-1) // 上面那个在低版本安卓中打包会报错,所以改用下面这个【虽然我加了 src/interceptions/prototype.ts,但依然报错】 @@ -14,7 +14,7 @@ export const getLastPage = () => { * path 如 '/pages/login/index' * redirectPath 如 '/pages/demo/base/route-interceptor' */ -export const currRoute = () => { +export function currRoute() { const lastPage = getLastPage() const currRoute = (lastPage as any).$page // console.log('lastPage.$page:', currRoute) @@ -29,7 +29,7 @@ export const currRoute = () => { return getUrlObj(fullPath) } -const ensureDecodeURIComponent = (url: string) => { +function ensureDecodeURIComponent(url: string) { if (url.startsWith('%')) { return ensureDecodeURIComponent(decodeURIComponent(url)) } @@ -40,7 +40,7 @@ const ensureDecodeURIComponent = (url: string) => { * 比如输入url: /pages/login/index?redirect=%2Fpages%2Fdemo%2Fbase%2Froute-interceptor * 输出: {path: /pages/login/index, query: {redirect: /pages/demo/base/route-interceptor}} */ -export const getUrlObj = (url: string) => { +export function getUrlObj(url: string) { const [path, queryStr] = url.split('?') // console.log(path, queryStr) @@ -63,11 +63,11 @@ export const getUrlObj = (url: string) => { * 这里设计得通用一点,可以传递 key 作为判断依据,默认是 needLogin, 与 route-block 配对使用 * 如果没有传 key,则表示所有的 pages,如果传递了 key, 则表示通过 key 过滤 */ -export const getAllPages = (key = 'needLogin') => { +export function getAllPages(key = 'needLogin') { // 这里处理主包 const mainPages = pages - .filter((page) => !key || page[key]) - .map((page) => ({ + .filter(page => !key || page[key]) + .map(page => ({ ...page, path: `/${page.path}`, })) @@ -79,7 +79,7 @@ export const getAllPages = (key = 'needLogin') => { const { root } = subPageObj subPageObj.pages - .filter((page) => !key || page[key]) + .filter(page => !key || page[key]) .forEach((page: { path: string } & Record) => { subPages.push({ ...page, @@ -96,18 +96,18 @@ export const getAllPages = (key = 'needLogin') => { * 得到所有的需要登录的 pages,包括主包和分包的 * 只得到 path 数组 */ -export const getNeedLoginPages = (): string[] => getAllPages('needLogin').map((page) => page.path) +export const getNeedLoginPages = (): string[] => getAllPages('needLogin').map(page => page.path) /** * 得到所有的需要登录的 pages,包括主包和分包的 * 只得到 path 数组 */ -export const needLoginPages: string[] = getAllPages('needLogin').map((page) => page.path) +export const needLoginPages: string[] = getAllPages('needLogin').map(page => page.path) /** * 根据微信小程序当前环境,判断应该获取的 baseUrl */ -export const getEnvBaseUrl = () => { +export function getEnvBaseUrl() { // 请求基准地址 let baseUrl = import.meta.env.VITE_SERVER_BASEURL @@ -136,7 +136,7 @@ export const getEnvBaseUrl = () => { /** * 根据微信小程序当前环境,判断应该获取的 UPLOAD_BASEURL */ -export const getEnvBaseUploadUrl = () => { +export function getEnvBaseUploadUrl() { // 请求基准地址 let baseUploadUrl = import.meta.env.VITE_UPLOAD_BASEURL diff --git a/src/utils/request.ts b/src/utils/request.ts index 79f05ab..9879f25 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -1,11 +1,11 @@ -import { CustomRequestOptions } from '@/interceptors/request' +import type { CustomRequestOptions } from '@/interceptors/request' /** * 请求方法: 主要是对 uni.request 的封装,去适配 openapi-ts-request 的 request 方法 * @param options 请求参数 * @returns 返回 Promise 对象 */ -const http = (options: CustomRequestOptions) => { +function http(options: CustomRequestOptions) { // 1. 返回 Promise 对象 return new Promise((resolve, reject) => { uni.request({ @@ -20,18 +20,20 @@ const http = (options: CustomRequestOptions) => { if (res.statusCode >= 200 && res.statusCode < 300) { // 2.1 提取核心数据 res.data resolve(res.data as T) - } else if (res.statusCode === 401) { + } + else if (res.statusCode === 401) { // 401错误 -> 清理用户信息,跳转到登录页 // userStore.clearUserInfo() // uni.navigateTo({ url: '/pages/login/login' }) reject(res) - } else { + } + else { // 其他错误 -> 根据后端错误信息轻提示 - !options.hideErrorToast && - uni.showToast({ - icon: 'none', - title: (res.data as T & { msg?: string })?.msg || '请求错误', - }) + !options.hideErrorToast + && uni.showToast({ + icon: 'none', + title: (res.data as T & { msg?: string })?.msg || '请求错误', + }) reject(res) } }, diff --git a/src/utils/toast.ts b/src/utils/toast.ts index 30f6522..e524b00 100644 --- a/src/utils/toast.ts +++ b/src/utils/toast.ts @@ -21,8 +21,8 @@ export function showToast(options: ToastOptions | string) { position: 'middle', message: '', } - const mergedOptions = - typeof options === 'string' + const mergedOptions + = typeof options === 'string' ? { ...defaultOptions, message: options } : { ...defaultOptions, ...options } // 映射position到uniapp支持的格式 diff --git a/src/utils/uploadFile.ts b/src/utils/uploadFile.ts index 6c7f0a1..416d39c 100644 --- a/src/utils/uploadFile.ts +++ b/src/utils/uploadFile.ts @@ -21,7 +21,7 @@ import { toast } from './toast' */ export const uploadFileUrl = { /** 用户头像上传地址 */ - USER_AVATAR: import.meta.env.VITE_SERVER_BASEURL + '/user/avatar', + USER_AVATAR: `${import.meta.env.VITE_SERVER_BASEURL}/user/avatar`, } /** @@ -31,12 +31,7 @@ export const uploadFileUrl = { * @param formData 额外表单数据 * @param options 上传选项 */ -export const useFileUpload = ( - url: string, - filePath: string, - formData: Record = {}, - options: Omit = {}, -) => { +export function useFileUpload(url: string, filePath: string, formData: Record = {}, options: Omit = {}) { return useUpload( url, formData, @@ -76,13 +71,9 @@ export interface UploadOptions { * @param options 上传选项 * @returns 上传状态和控制对象 */ -export const useUpload = ( - url: string, - formData: Record = {}, - options: UploadOptions = {}, +export function useUpload(url: string, formData: Record = {}, options: UploadOptions = {}, /** 直接传入文件路径,跳过选择器 */ - directFilePath?: string, -) => { + directFilePath?: string) { /** 上传中状态 */ const loading = ref(false) /** 上传错误状态 */ @@ -161,7 +152,8 @@ export const useUpload = ( success: (res) => { const file = res.tempFiles[0] // 检查文件大小是否符合限制 - if (!checkFileSize(file.size)) return + if (!checkFileSize(file.size)) + return // 开始上传 loading.value = true @@ -295,7 +287,8 @@ function uploadFile({ // 上传成功 data.value = _data as T onSuccess?.(_data) - } catch (err) { + } + catch (err) { // 响应解析错误 console.error('解析上传响应失败:', err) error.value = true @@ -320,7 +313,8 @@ function uploadFile({ progress.value = res.progress onProgress?.(res.progress) }) - } catch (err) { + } + catch (err) { // 创建上传任务失败 console.error('创建上传任务失败:', err) error.value = true diff --git a/tsconfig.json b/tsconfig.json index d096903..7d03c63 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,21 +1,15 @@ { "compilerOptions": { "composite": true, - "skipLibCheck": true, + "lib": ["esnext", "dom"], + "baseUrl": ".", "module": "ESNext", "moduleResolution": "Node", - "resolveJsonModule": true, - "noImplicitThis": true, - "allowSyntheticDefaultImports": true, - "allowJs": true, - "sourceMap": true, - "baseUrl": ".", "paths": { "@/*": ["./src/*"], "@img/*": ["./src/static/*"] }, - "outDir": "dist", - "lib": ["esnext", "dom"], + "resolveJsonModule": true, "types": [ "@dcloudio/types", "@uni-helper/uni-types", @@ -23,12 +17,17 @@ "wot-design-uni/global.d.ts", "z-paging/types", "./src/typings.d.ts" - ] + ], + "allowJs": true, + "noImplicitThis": true, + "sourceMap": true, + "skipLibCheck": true, + "allowSyntheticDefaultImports": true, + "outDir": "dist" }, "vueCompilerOptions": { "plugins": ["@uni-helper/uni-types/volar-plugin"] }, - "exclude": ["node_modules"], "include": [ "src/**/*.ts", "src/**/*.js", @@ -37,5 +36,6 @@ "src/**/*.jsx", "src/**/*.vue", "src/**/*.json" - ] + ], + "exclude": ["node_modules"] } diff --git a/uno.config.ts b/uno.config.ts index c7b15b5..2ddbd83 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -2,8 +2,8 @@ import { presetUni } from '@uni-helper/unocss-preset-uni' import { defineConfig, - presetIcons, presetAttributify, + presetIcons, transformerDirectives, transformerVariantGroup, } from 'unocss' @@ -20,7 +20,7 @@ export default defineConfig({ scale: 1.2, warn: true, extraProperties: { - display: 'inline-block', + 'display': 'inline-block', 'vertical-align': 'middle', }, }), diff --git a/vite-plugins/copyNativeRes.ts b/vite-plugins/copyNativeRes.ts index f92aebc..69f32c4 100644 --- a/vite-plugins/copyNativeRes.ts +++ b/vite-plugins/copyNativeRes.ts @@ -1,5 +1,5 @@ +import path from 'node:path' import fs from 'fs-extra' -import path from 'path' export function copyNativeRes() { const waitPath = path.resolve(__dirname, '../src/nativeResources') @@ -31,7 +31,8 @@ export function copyNativeRes() { console.log( `[copyNativeRes] 成功将 nativeResources 目录中的资源移动到构建目录:${buildPath}`, ) - } catch (error) { + } + catch (error) { console.error(`[copyNativeRes] 复制资源失败:`, error) } }, diff --git a/vite-plugins/updatePackageJson.ts b/vite-plugins/updatePackageJson.ts index 0d2282f..0915b50 100644 --- a/vite-plugins/updatePackageJson.ts +++ b/vite-plugins/updatePackageJson.ts @@ -1,14 +1,15 @@ // src/plugins/updatePackageJson.ts -import { Plugin } from 'vite' -import fs from 'fs/promises' -import path from 'path' +import type { Plugin } from 'vite' +import fs from 'node:fs/promises' +import path from 'node:path' -const updatePackageJson = (): Plugin => { +function updatePackageJson(): Plugin { return { name: 'update-package-json', async buildStart() { // 只在生产环境构建时执行 - if (process.env.NODE_ENV !== 'production') return + if (process.env.NODE_ENV !== 'production') + return const packageJsonPath = path.resolve(process.cwd(), 'package.json') @@ -21,10 +22,11 @@ const updatePackageJson = (): Plugin => { packageJson['update-time'] = new Date().toISOString().split('T')[0] // YYYY-MM-DD // 写回文件(保持 2 空格缩进) - await fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n', 'utf-8') + await fs.writeFile(packageJsonPath, `${JSON.stringify(packageJson, null, 2)}\n`, 'utf-8') console.log(`[update-package-json] 更新时间戳: ${packageJson['update-time']}`) - } catch (error) { + } + catch (error) { console.error('[update-package-json] 插件执行失败:', error) } }, diff --git a/vite.config.ts b/vite.config.ts index 3efc208..f48749e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,27 +1,26 @@ -import Uni from '@dcloudio/vite-plugin-uni' -import dayjs from 'dayjs' import path from 'node:path' -import { defineConfig, loadEnv } from 'vite' -// @see https://uni-helper.js.org/vite-plugin-uni-pages -import UniPages from '@uni-helper/vite-plugin-uni-pages' +import Uni from '@dcloudio/vite-plugin-uni' +import Components from '@uni-helper/vite-plugin-uni-components' // @see https://uni-helper.js.org/vite-plugin-uni-layouts import UniLayouts from '@uni-helper/vite-plugin-uni-layouts' +// @see https://github.com/uni-helper/vite-plugin-uni-manifest +import UniManifest from '@uni-helper/vite-plugin-uni-manifest' +// @see https://uni-helper.js.org/vite-plugin-uni-pages +import UniPages from '@uni-helper/vite-plugin-uni-pages' // @see https://github.com/uni-helper/vite-plugin-uni-platform // 需要与 @uni-helper/vite-plugin-uni-pages 插件一起使用 import UniPlatform from '@uni-helper/vite-plugin-uni-platform' -// @see https://github.com/uni-helper/vite-plugin-uni-manifest -import UniManifest from '@uni-helper/vite-plugin-uni-manifest' /** * 分包优化、模块异步跨包调用、组件异步跨包引用 * @see https://github.com/uni-ku/bundle-optimizer */ import Optimization from '@uni-ku/bundle-optimizer' +import dayjs from 'dayjs' import { visualizer } from 'rollup-plugin-visualizer' import AutoImport from 'unplugin-auto-import/vite' +import { defineConfig, loadEnv } from 'vite' import ViteRestart from 'vite-plugin-restart' -import { copyNativeRes } from './vite-plugins/copyNativeRes' import updatePackageJson from './vite-plugins/updatePackageJson' -import Components from '@uni-helper/vite-plugin-uni-components' // https://vitejs.dev/config/ export default async ({ command, mode }) => { @@ -75,7 +74,7 @@ export default async ({ command, mode }) => { // 自定义插件禁用 vite:vue 插件的 devToolsEnabled,强制编译 vue 模板时 inline 为 true name: 'fix-vite-plugin-vue', configResolved(config) { - const plugin = config.plugins.find((p) => p.name === 'vite:vue') + const plugin = config.plugins.find(p => p.name === 'vite:vue') if (plugin && plugin.api && plugin.api.options) { plugin.api.options.devToolsEnabled = false } @@ -91,7 +90,7 @@ export default async ({ command, mode }) => { // Optimization 插件需要 page.json 文件,故应在 UniPages 插件之后执行 Optimization({ enable: { - optimization: true, + 'optimization': true, 'async-import': true, 'async-component': true, }, @@ -113,14 +112,14 @@ export default async ({ command, mode }) => { }, }, // 打包分析插件,h5 + 生产环境才弹出 - UNI_PLATFORM === 'h5' && - mode === 'production' && - visualizer({ - filename: './node_modules/.cache/visualizer/stats.html', - open: true, - gzipSize: true, - brotliSize: true, - }), + UNI_PLATFORM === 'h5' + && mode === 'production' + && visualizer({ + filename: './node_modules/.cache/visualizer/stats.html', + open: true, + gzipSize: true, + brotliSize: true, + }), // 只有在 app 平台时才启用 copyNativeRes 插件 // UNI_PLATFORM === 'app' && copyNativeRes(), Components({ @@ -163,7 +162,7 @@ export default async ({ command, mode }) => { [VITE_APP_PROXY_PREFIX]: { target: VITE_SERVER_BASEURL, changeOrigin: true, - rewrite: (path) => path.replace(new RegExp(`^${VITE_APP_PROXY_PREFIX}`), ''), + rewrite: path => path.replace(new RegExp(`^${VITE_APP_PROXY_PREFIX}`), ''), }, } : undefined, From c355f6e8f1dd1e1fca63d346fe3a0c233dbd51af Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 16:59:01 +0800 Subject: [PATCH 139/147] =?UTF-8?q?chore(eslint):=20=E6=9B=B4=E6=96=B0esli?= =?UTF-8?q?nt=E9=85=8D=E7=BD=AE=EF=BC=8C=E7=A6=81=E7=94=A8=E9=83=A8?= =?UTF-8?q?=E5=88=86=E8=A7=84=E5=88=99=E5=B9=B6=E6=B7=BB=E5=8A=A0=E5=BF=BD?= =?UTF-8?q?=E7=95=A5=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加markdown支持为false,并配置忽略目录src/uni_modules/和dist 禁用no-console等规则以提升开发体验 --- eslint.config.mjs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index e7eb400..62165d9 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -3,4 +3,19 @@ import antfu from '@antfu/eslint-config' export default antfu({ unocss: true, vue: true, + markdown: false, + ignores: [ + 'src/uni_modules/', + 'dist', + ], + rules: { + 'no-console': 'off', + 'no-unused-vars': 'off', + 'vue/no-unused-refs': 'off', + 'unused-imports/no-unused-vars': 'off', + 'eslint-comments/no-unlimited-disable': 'off', + 'jsdoc/check-param-names': 'off', + 'jsdoc/require-returns-description': 'off', + 'ts/no-empty-object-type': 'off', + }, }) From 32cf87240530f8e0bf3aeee9a86ed19e4a4f157f Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 17:03:45 +0800 Subject: [PATCH 140/147] =?UTF-8?q?refactor:=20=E5=9C=A8=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=AD=E6=B7=BB=E5=8A=A0process=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=B9=B6=E8=B0=83=E6=95=B4tsconfig=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统一添加node:process导入以提高代码一致性 调整tsconfig.json中配置项的顺序以提升可读性 --- manifest.config.ts | 1 + tsconfig.json | 4 ++-- vite-plugins/copyNativeRes.ts | 1 + vite-plugins/updatePackageJson.ts | 1 + vite.config.ts | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/manifest.config.ts b/manifest.config.ts index 5358d43..b498ca4 100644 --- a/manifest.config.ts +++ b/manifest.config.ts @@ -1,4 +1,5 @@ import path from 'node:path' +import process from 'node:process' // manifest.config.ts import { defineManifestConfig } from '@uni-helper/vite-plugin-uni-manifest' import { loadEnv } from 'vite' diff --git a/tsconfig.json b/tsconfig.json index 7d03c63..22a48c5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,10 +20,10 @@ ], "allowJs": true, "noImplicitThis": true, + "outDir": "dist", "sourceMap": true, - "skipLibCheck": true, "allowSyntheticDefaultImports": true, - "outDir": "dist" + "skipLibCheck": true }, "vueCompilerOptions": { "plugins": ["@uni-helper/uni-types/volar-plugin"] diff --git a/vite-plugins/copyNativeRes.ts b/vite-plugins/copyNativeRes.ts index 69f32c4..5a461d2 100644 --- a/vite-plugins/copyNativeRes.ts +++ b/vite-plugins/copyNativeRes.ts @@ -1,4 +1,5 @@ import path from 'node:path' +import process from 'node:process' import fs from 'fs-extra' export function copyNativeRes() { diff --git a/vite-plugins/updatePackageJson.ts b/vite-plugins/updatePackageJson.ts index 0915b50..bd93d6a 100644 --- a/vite-plugins/updatePackageJson.ts +++ b/vite-plugins/updatePackageJson.ts @@ -2,6 +2,7 @@ import type { Plugin } from 'vite' import fs from 'node:fs/promises' import path from 'node:path' +import process from 'node:process' function updatePackageJson(): Plugin { return { diff --git a/vite.config.ts b/vite.config.ts index f48749e..6d9e635 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,4 +1,5 @@ import path from 'node:path' +import process from 'node:process' import Uni from '@dcloudio/vite-plugin-uni' import Components from '@uni-helper/vite-plugin-uni-components' // @see https://uni-helper.js.org/vite-plugin-uni-layouts From e1654359fd65b4b3dcd842b9fdadebff60b6437c Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 17:11:17 +0800 Subject: [PATCH 141/147] =?UTF-8?q?style:=20=E6=80=BB=E7=AE=97=E5=A4=84?= =?UTF-8?q?=E7=90=86=E5=A5=BD=E6=89=80=E6=9C=89=E7=9A=84=20eslint=20?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint.config.mjs | 1 + scripts/postupgrade.js | 1 - src/env.d.ts | 2 +- src/hooks/useUpload.ts | 80 +++++++++++++++++------------------ src/interceptors/prototype.ts | 1 - src/store/user.ts | 25 +++++------ 6 files changed, 55 insertions(+), 55 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 62165d9..03038dc 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -17,5 +17,6 @@ export default antfu({ 'jsdoc/check-param-names': 'off', 'jsdoc/require-returns-description': 'off', 'ts/no-empty-object-type': 'off', + 'no-extend-native': 'off', }, }) diff --git a/scripts/postupgrade.js b/scripts/postupgrade.js index f8ada60..b1671d2 100644 --- a/scripts/postupgrade.js +++ b/scripts/postupgrade.js @@ -2,7 +2,6 @@ // # 在升级完后,会自动添加很多无用依赖,这需要删除以减小依赖包体积 // # 只需要执行下面的命令即可 -// eslint-disable-next-line @typescript-eslint/no-var-requires const { exec } = require('node:child_process') // 定义要执行的命令 diff --git a/src/env.d.ts b/src/env.d.ts index 846ff39..ffa725c 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -3,7 +3,7 @@ declare module '*.vue' { import type { DefineComponent } from 'vue' - // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types + const component: DefineComponent<{}, {}, any> export default component } diff --git a/src/hooks/useUpload.ts b/src/hooks/useUpload.ts index 79225dd..3080d5a 100644 --- a/src/hooks/useUpload.ts +++ b/src/hooks/useUpload.ts @@ -30,6 +30,46 @@ export default function useUpload(options: TOptions = {} const error = ref(null) const data = ref(null) + const handleFileChoose = ({ tempFilePath, size }: { tempFilePath: string, size: number }) => { + if (size > maxSize) { + uni.showToast({ + title: `文件大小不能超过 ${maxSize / 1024 / 1024}MB`, + icon: 'none', + }) + return + } + + // const fileExtension = file?.tempFiles?.name?.split('.').pop()?.toLowerCase() + // const isTypeValid = accept.some((type) => type === '*' || type.toLowerCase() === fileExtension) + + // if (!isTypeValid) { + // uni.showToast({ + // title: `仅支持 ${accept.join(', ')} 格式的文件`, + // icon: 'none', + // }) + // return + // } + + loading.value = true + uploadFile({ + tempFilePath, + formData, + onSuccess: (res) => { + const { data: _data } = JSON.parse(res) + data.value = _data + // console.log('上传成功', res) + success?.(_data) + }, + onError: (err) => { + error.value = err + onError?.(err) + }, + onComplete: () => { + loading.value = false + }, + }) + } + const run = () => { // 微信小程序从基础库 2.21.0 开始, wx.chooseImage 停止维护,请使用 uni.chooseMedia 代替。 // 微信小程序在2023年10月17日之后,使用本API需要配置隐私协议 @@ -81,46 +121,6 @@ export default function useUpload(options: TOptions = {} } } - const handleFileChoose = ({ tempFilePath, size }: { tempFilePath: string, size: number }) => { - if (size > maxSize) { - uni.showToast({ - title: `文件大小不能超过 ${maxSize / 1024 / 1024}MB`, - icon: 'none', - }) - return - } - - // const fileExtension = file?.tempFiles?.name?.split('.').pop()?.toLowerCase() - // const isTypeValid = accept.some((type) => type === '*' || type.toLowerCase() === fileExtension) - - // if (!isTypeValid) { - // uni.showToast({ - // title: `仅支持 ${accept.join(', ')} 格式的文件`, - // icon: 'none', - // }) - // return - // } - - loading.value = true - uploadFile({ - tempFilePath, - formData, - onSuccess: (res) => { - const { data: _data } = JSON.parse(res) - data.value = _data - // console.log('上传成功', res) - success?.(_data) - }, - onError: (err) => { - error.value = err - onError?.(err) - }, - onComplete: () => { - loading.value = false - }, - }) - } - return { loading, error, data, run } } diff --git a/src/interceptors/prototype.ts b/src/interceptors/prototype.ts index 360e65c..647e6bd 100644 --- a/src/interceptors/prototype.ts +++ b/src/interceptors/prototype.ts @@ -2,7 +2,6 @@ export const prototypeInterceptor = { install() { // 解决低版本手机不识别 array.at() 导致运行报错的问题 if (typeof Array.prototype.at !== 'function') { - // eslint-disable-next-line no-extend-native Array.prototype.at = function (index: number) { if (index < 0) return this[this.length + index] diff --git a/src/store/user.ts b/src/store/user.ts index 522036f..da73da3 100644 --- a/src/store/user.ts +++ b/src/store/user.ts @@ -46,6 +46,18 @@ export const useUserStore = defineStore( uni.removeStorageSync('userInfo') uni.removeStorageSync('token') } + /** + * 获取用户信息 + */ + const getUserInfo = async () => { + const res = await _getUserInfo() + const userInfo = res.data + setUserInfo(userInfo) + uni.setStorageSync('userInfo', userInfo) + uni.setStorageSync('token', userInfo.token) + // TODO 这里可以增加获取用户路由的方法 根据用户的角色动态生成路由 + return res + } /** * 用户登录 * @param credentials 登录参数 @@ -63,18 +75,7 @@ export const useUserStore = defineStore( await getUserInfo() return res } - /** - * 获取用户信息 - */ - const getUserInfo = async () => { - const res = await _getUserInfo() - const userInfo = res.data - setUserInfo(userInfo) - uni.setStorageSync('userInfo', userInfo) - uni.setStorageSync('token', userInfo.token) - // TODO 这里可以增加获取用户路由的方法 根据用户的角色动态生成路由 - return res - } + /** * 退出登录 并 删除用户信息 */ From ae515cd85e11e7daef54288bd06a3e968f20e515 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 17:18:35 +0800 Subject: [PATCH 142/147] =?UTF-8?q?chore:=20=E5=B0=86eslint=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2=E4=B8=BAoxlint=E5=B9=B6=E6=9B=B4=E6=96=B0vscode?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新package.json中的lint脚本,从eslint改为oxlint 调整.vscode/settings.json中的格式化配置,启用prettier并优化保存时的自动修复行为 --- .vscode/settings.json | 76 +++++++++++++++++++++++-------------------- package.json | 4 +-- 2 files changed, 42 insertions(+), 38 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index bbc6269..8413cd6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,14 +1,7 @@ { // 默认格式化工具选择prettier "editor.defaultFormatter": "esbenp.prettier-vscode", - // // 保存的时候自动格式化 - // "editor.formatOnSave": true, - // //开启自动修复 - // "editor.codeActionsOnSave": { - // "source.fixAll": "explicit", - // "source.fixAll.eslint": "explicit", - // "source.fixAll.stylelint": "explicit" - // }, + // 配置stylelint检查的文件类型范围 "stylelint.validate": ["css", "scss", "vue", "html"], // 与package.json的scripts对应 "stylelint.enable": true, @@ -62,15 +55,26 @@ "package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,.npmrc,.browserslistrc", ".oxlintrc.json": "tsconfig.json,.commitlintrc.*,.prettier*,.editorconfig,.commitlint.cjs,.eslint*" }, + + // 保存的时候自动格式化 + "prettier.enable": true, + "editor.formatOnSave": true, + // 开启自动修复 + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.fixAll.eslint": "explicit", + "source.fixAll.stylelint": "explicit" + }, + // Disable the default formatter, use eslint instead - "prettier.enable": false, - "editor.formatOnSave": false, + // "prettier.enable": false, + // "editor.formatOnSave": false, // Auto fix - "editor.codeActionsOnSave": { - "source.fixAll.eslint": "explicit", - "source.organizeImports": "never" - }, + // "editor.codeActionsOnSave": { + // "source.fixAll.eslint": "explicit", + // "source.organizeImports": "never" + // }, // Silent the stylistic rules in you IDE, but still auto fix them "eslint.rules.customizations": [ @@ -88,27 +92,27 @@ // Enable eslint for all supported languages "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "vue", - "html", - "markdown", - "json", - "json5", - "jsonc", - "yaml", - "toml", - "xml", - "gql", - "graphql", - "astro", - "svelte", - "css", - "less", - "scss", - "pcss", - "postcss" + // "javascript", + // "javascriptreact", + // "typescript", + // "typescriptreact", + "vue" + // "html", + // "markdown", + // "json", + // "json5", + // "jsonc", + // "yaml", + // "toml", + // "xml", + // "gql", + // "graphql", + // "astro", + // "svelte", + // "css", + // "less", + // "scss", + // "pcss", + // "postcss" ] } diff --git a/package.json b/package.json index 43bcccb..b78ca3d 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,8 @@ "type-check": "vue-tsc --noEmit", "openapi-ts-request": "openapi-ts", "prepare": "git init && husky", - "lint": "eslint", - "lint:fix": "eslint --fix" + "lint": "oxlint", + "lint:fix": "oxlint --fix" }, "dependencies": { "@dcloudio/uni-app": "3.0.0-4060620250520001", From e171c29d28641bc8acf19830797ed40f6c2b9bb0 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 17:22:06 +0800 Subject: [PATCH 143/147] =?UTF-8?q?chore:=20=E5=B0=86=20lint=20=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E4=BB=8E=20oxlint=20=E5=88=87=E6=8D=A2=E4=B8=BA=20esl?= =?UTF-8?q?int=20=E5=B9=B6=E5=90=AF=E7=94=A8=E5=A4=9A=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 package.json 中的 lint 脚本,使用 eslint 替代 oxlint 在 .vscode/settings.json 中启用 eslint 对所有支持语言的校验 --- .vscode/settings.json | 44 +++++++++++++++++++++---------------------- package.json | 4 ++-- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 8413cd6..b0f278a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -92,27 +92,27 @@ // Enable eslint for all supported languages "eslint.validate": [ - // "javascript", - // "javascriptreact", - // "typescript", - // "typescriptreact", - "vue" - // "html", - // "markdown", - // "json", - // "json5", - // "jsonc", - // "yaml", - // "toml", - // "xml", - // "gql", - // "graphql", - // "astro", - // "svelte", - // "css", - // "less", - // "scss", - // "pcss", - // "postcss" + "javascript", + "javascriptreact", + "typescript", + "typescriptreact", + "vue", + "html", + "markdown", + "json", + "json5", + "jsonc", + "yaml", + "toml", + "xml", + "gql", + "graphql", + "astro", + "svelte", + "css", + "less", + "scss", + "pcss", + "postcss" ] } diff --git a/package.json b/package.json index b78ca3d..43bcccb 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,8 @@ "type-check": "vue-tsc --noEmit", "openapi-ts-request": "openapi-ts", "prepare": "git init && husky", - "lint": "oxlint", - "lint:fix": "oxlint --fix" + "lint": "eslint", + "lint:fix": "eslint --fix" }, "dependencies": { "@dcloudio/uni-app": "3.0.0-4060620250520001", From 27d4441ca66f15200df4827f3f72e305f04e9b05 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 17:23:29 +0800 Subject: [PATCH 144/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E8=87=B32.16.0,=20=E4=BD=BF=E7=94=A8=20antfu?= =?UTF-8?q?/eslint-config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 43bcccb..30898aa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unibest", "type": "commonjs", - "version": "2.15.0", + "version": "2.16.0", "description": "unibest - 最好的 uniapp 开发模板", "update-time": "2025-06-17", "author": { From d5c14ac3aef8f4f22df981d05ba4e69f51bc1250 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 17:29:42 +0800 Subject: [PATCH 145/147] =?UTF-8?q?build:=20=E5=B0=86=20ESLint=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BB=8E=20@antfu=20=E8=BF=81=E7=A7=BB=E5=88=B0=20@un?= =?UTF-8?q?i-helper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统一使用 uni-app 生态的 ESLint 配置,保持工具链一致性 --- eslint.config.mjs | 4 ++-- package.json | 1 + pnpm-lock.yaml | 21 ++++++++++++++++++++- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 03038dc..a624835 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,6 +1,6 @@ -import antfu from '@antfu/eslint-config' +import uniHelper from '@uni-helper/eslint-config' -export default antfu({ +export default uniHelper({ unocss: true, vue: true, markdown: false, diff --git a/package.json b/package.json index 30898aa..e7130fc 100644 --- a/package.json +++ b/package.json @@ -118,6 +118,7 @@ "@rollup/rollup-darwin-x64": "^4.28.0", "@types/node": "^20.17.9", "@types/wechat-miniprogram": "^3.4.8", + "@uni-helper/eslint-config": "^0.4.0", "@uni-helper/uni-types": "1.0.0-alpha.3", "@uni-helper/unocss-preset-uni": "^0.2.11", "@uni-helper/vite-plugin-uni-components": "0.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eb3057c..4e7e789 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -137,6 +137,9 @@ importers: '@types/wechat-miniprogram': specifier: ^3.4.8 version: 3.4.8 + '@uni-helper/eslint-config': + specifier: ^0.4.0 + version: 0.4.0(@antfu/eslint-config@4.15.0(@unocss/eslint-plugin@66.2.3(eslint@9.29.0(jiti@2.4.2))(typescript@5.7.2))(@vue/compiler-sfc@3.5.15)(eslint@9.29.0(jiti@2.4.2))(typescript@5.7.2))(eslint@9.29.0(jiti@2.4.2)) '@uni-helper/uni-types': specifier: 1.0.0-alpha.3 version: 1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-cloud-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(@uni-helper/uni-ui-types@1.0.0-alpha.3(@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)) @@ -2330,6 +2333,12 @@ packages: resolution: {integrity: sha512-xoh5rJ+tgsRKoXnkBPFRLZ7rjKM0AfVbC68UZ/ECXoDbfggb9RbEySN359acY1vS3qZ0jVTVWzbtfapwm5ztxw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@uni-helper/eslint-config@0.4.0': + resolution: {integrity: sha512-8Cbe4Ortvxs9A708LWN5gyZoUx4TpjPQwusL7tPmRLeSgKvwMppeRq3pDckhXiFXXT2RTdn3LKE8SH5gMPD8fg==} + peerDependencies: + '@antfu/eslint-config': ^4.0.1 + eslint: ^9.10.0 + '@uni-helper/uni-app-types@1.0.0-alpha.3': resolution: {integrity: sha512-lhSpVroEUxzre1vzKAckg85CFLUpn6vw9L2FDO1d8cd9JtMstlXkYmIn/Oz8tqzXxQ1sOgd3YcwoQmkXsw+Oxw==} engines: {node: '>=14.18'} @@ -9424,6 +9433,16 @@ snapshots: '@typescript-eslint/types': 8.34.1 eslint-visitor-keys: 4.2.1 + '@uni-helper/eslint-config@0.4.0(@antfu/eslint-config@4.15.0(@unocss/eslint-plugin@66.2.3(eslint@9.29.0(jiti@2.4.2))(typescript@5.7.2))(@vue/compiler-sfc@3.5.15)(eslint@9.29.0(jiti@2.4.2))(typescript@5.7.2))(eslint@9.29.0(jiti@2.4.2))': + dependencies: + '@antfu/eslint-config': 4.15.0(@unocss/eslint-plugin@66.2.3(eslint@9.29.0(jiti@2.4.2))(typescript@5.7.2))(@vue/compiler-sfc@3.5.15)(eslint@9.29.0(jiti@2.4.2))(typescript@5.7.2) + '@eslint/eslintrc': 3.3.1 + eslint: 9.29.0(jiti@2.4.2) + eslint-flat-config-utils: 2.1.0 + local-pkg: 1.1.1 + transitivePeerDependencies: + - supports-color + '@uni-helper/uni-app-types@1.0.0-alpha.3(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2))': dependencies: typescript: 5.7.2 @@ -9758,7 +9777,7 @@ snapshots: '@unocss/rule-utils@66.2.0': dependencies: - '@unocss/core': 66.2.0 + '@unocss/core': 66.2.3 magic-string: 0.30.17 '@unocss/rule-utils@66.2.3': From 1af7213e96524fbff2f4df6dc90a3f55db400662 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 17:32:13 +0800 Subject: [PATCH 146/147] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4oxlint?= =?UTF-8?q?=E5=8F=8A=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 清理不再使用的oxlint依赖及其配置文件 更新vscode设置以反映lint工具变更 --- .oxlintrc.json | 34 ----------------- .vscode/settings.json | 2 +- package.json | 1 - pnpm-lock.yaml | 87 ------------------------------------------- 4 files changed, 1 insertion(+), 123 deletions(-) delete mode 100644 .oxlintrc.json diff --git a/.oxlintrc.json b/.oxlintrc.json deleted file mode 100644 index 7b5e001..0000000 --- a/.oxlintrc.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "./node_modules/oxlint/configuration_schema.json", - "extends": ["config:recommended"], - "plugins": ["import", "typescript", "unicorn"], - "rules": { - "no-console": "off", - "no-unused-vars": "off" - }, - "env": { - "es6": true - }, - "globals": { - "foo": "readonly" - }, - "ignorePatterns": [ - "node_modules", - "dist", - "src/static/**", - "src/uni_modules/**", - "vite.config.ts", - "uno.config.ts", - "pages.config.ts", - "manifest.config.ts" - ], - "settings": {}, - "overrides": [ - { - "files": ["*.test.ts", "*.spec.ts"], - "rules": { - "@typescript-eslint/no-explicit-any": "off" - } - } - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json index b0f278a..8cdc821 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -53,7 +53,7 @@ "README.md": "index.html,favicon.ico,robots.txt,CHANGELOG.md", "pages.config.ts": "manifest.config.ts,openapi-ts-request.config.ts", "package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,.npmrc,.browserslistrc", - ".oxlintrc.json": "tsconfig.json,.commitlintrc.*,.prettier*,.editorconfig,.commitlint.cjs,.eslint*" + "eslint.config.mjs": "tsconfig.json,.commitlintrc.*,.prettier*,.editorconfig,.commitlint.cjs,.eslint*" }, // 保存的时候自动格式化 diff --git a/package.json b/package.json index e7130fc..ebaad85 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,6 @@ "husky": "^9.1.7", "lint-staged": "^15.2.10", "openapi-ts-request": "^1.1.2", - "oxlint": "1.0.0", "postcss": "^8.4.49", "postcss-html": "^1.7.0", "postcss-scss": "^4.0.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4e7e789..b4b9e85 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -191,9 +191,6 @@ importers: openapi-ts-request: specifier: ^1.1.2 version: 1.1.2(@types/node@20.17.9)(@vue/compiler-sfc@3.5.15)(chokidar@3.6.0)(typescript@5.7.2) - oxlint: - specifier: 1.0.0 - version: 1.0.0 postcss: specifier: ^8.4.49 version: 8.4.49 @@ -1934,50 +1931,6 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@oxlint/darwin-arm64@1.0.0': - resolution: {integrity: sha512-Ei8wLh65Th/si5EY6mfQIXVpdXbJWOoh56FaxxPgVxTeJaj3NHUIlxICHkvTZ5dz8bnOFcbS/+9MaW8Qkzfm9g==} - cpu: [arm64] - os: [darwin] - - '@oxlint/darwin-x64@1.0.0': - resolution: {integrity: sha512-dbdtQ+rJTUb4jFKTzV+j08yYcR8lZssLF10n7MggK/jI7pBtoQN04cupzYdkxOWSy6uDXjDmWYFDIqlTqV7zOg==} - cpu: [x64] - os: [darwin] - - '@oxlint/linux-arm64-gnu@1.0.0': - resolution: {integrity: sha512-71wy9zMxsAeRhCFQjUkDLT8N5tm10L5FxNxsUcEsezgM187X9tPGP1gwlFpYig7F+bg2X1dijFuTA/FSe0YpKg==} - cpu: [arm64] - os: [linux] - libc: [glibc] - - '@oxlint/linux-arm64-musl@1.0.0': - resolution: {integrity: sha512-UbD4+2k7aGZOFtKK/yeESX7Fv0w9gQbcjrjr1HGY7QOYg7XlFlqzycZdPS6XbAuKA5oOXFpafaYOD4AyX3p2AA==} - cpu: [arm64] - os: [linux] - libc: [musl] - - '@oxlint/linux-x64-gnu@1.0.0': - resolution: {integrity: sha512-0NXWqsm65I3VaLgADW4y9r7Pwurqgs2fr1lqoTyTIlidD18LQ3UMAWp8NzBPMCYzw8c/rTgOzsFf0gLtxzMtwg==} - cpu: [x64] - os: [linux] - libc: [glibc] - - '@oxlint/linux-x64-musl@1.0.0': - resolution: {integrity: sha512-AY1NLnVQI+tBeuaB8KCriWfiD6O1zZFAQHphRDcZiqSz4mauNq9FFuffW0N9RSR9hYttGr0UVdQ6eK72RhzOYg==} - cpu: [x64] - os: [linux] - libc: [musl] - - '@oxlint/win32-arm64@1.0.0': - resolution: {integrity: sha512-X9y2KAdoqT/jy/sITGDZNMJHJAmhDhofItBnCf2DWS1HPakdtCAKGX9KMx6SivTbtPn1+JpZgfHn4Y7rNMvujQ==} - cpu: [arm64] - os: [win32] - - '@oxlint/win32-x64@1.0.0': - resolution: {integrity: sha512-x2eQwZCfRUi6GG0lhRuC54O6TK2uW7UbIvERh83vPi0ftd+rtGUuJauNdyC+pPx+iwFToFVet43/5MBMu4bMWg==} - cpu: [x64] - os: [win32] - '@pkgr/core@0.2.7': resolution: {integrity: sha512-YLT9Zo3oNPJoBjBc4q8G2mjU4tqIbf5CEOORbUUr48dCD9q3umJ3IPlVqOqDakPfd2HuwccBaqlGhN4Gmr5OWg==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} @@ -5156,11 +5109,6 @@ packages: resolution: {integrity: sha512-Sv0OvhPiMutICiwORAUefv02DCPb62IelBmo8ZsSrRHyI3FStqIWZvjqDkvtjU+lcujo7UNir+dCwKSqlEQ/5w==} engines: {node: '>=10', yarn: ^1.22.4} - oxlint@1.0.0: - resolution: {integrity: sha512-yyeryHnd21wPBLBEF4Uf8hvzJlftrIGHxyUaqFaP2JYiZ9cbiColygZhrezvv/Z/aThCmYu3j6iJMxlVPxNt6g==} - engines: {node: '>=8.*'} - hasBin: true - p-cancelable@2.1.1: resolution: {integrity: sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==} engines: {node: '>=8'} @@ -9067,30 +9015,6 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@oxlint/darwin-arm64@1.0.0': - optional: true - - '@oxlint/darwin-x64@1.0.0': - optional: true - - '@oxlint/linux-arm64-gnu@1.0.0': - optional: true - - '@oxlint/linux-arm64-musl@1.0.0': - optional: true - - '@oxlint/linux-x64-gnu@1.0.0': - optional: true - - '@oxlint/linux-x64-musl@1.0.0': - optional: true - - '@oxlint/win32-arm64@1.0.0': - optional: true - - '@oxlint/win32-x64@1.0.0': - optional: true - '@pkgr/core@0.2.7': {} '@polka/url@1.0.0-next.29': {} @@ -13033,17 +12957,6 @@ snapshots: dependencies: lcid: 3.1.1 - oxlint@1.0.0: - optionalDependencies: - '@oxlint/darwin-arm64': 1.0.0 - '@oxlint/darwin-x64': 1.0.0 - '@oxlint/linux-arm64-gnu': 1.0.0 - '@oxlint/linux-arm64-musl': 1.0.0 - '@oxlint/linux-x64-gnu': 1.0.0 - '@oxlint/linux-x64-musl': 1.0.0 - '@oxlint/win32-arm64': 1.0.0 - '@oxlint/win32-x64': 1.0.0 - p-cancelable@2.1.1: {} p-limit@2.3.0: From 28e59cd5997fec1294fbbd118a1b9e8935fa04bc Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sat, 21 Jun 2025 17:40:14 +0800 Subject: [PATCH 147/147] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=89=88=E6=9C=AC=E5=8F=B7=E8=87=B33.0.0=EF=BC=8C?= =?UTF-8?q?=E5=88=86=E6=94=AF=E5=90=88=E5=B9=B6=E5=92=8Ceslint=E7=AD=89?= =?UTF-8?q?=E9=87=8D=E5=A4=A7=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ebaad85..6582535 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "unibest", "type": "commonjs", - "version": "2.16.0", + "version": "3.0.0", "description": "unibest - 最好的 uniapp 开发模板", - "update-time": "2025-06-17", + "update-time": "2025-06-21", "author": { "name": "feige996", "zhName": "菲鸽", diff --git a/src/manifest.json b/src/manifest.json index 77be573..791ddeb 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -110,4 +110,4 @@ "base": "/" } } -} +} \ No newline at end of file