更新依赖

This commit is contained in:
Hooray
2025-09-17 02:04:53 +08:00
parent 1a550c5385
commit cf41d7cc8c
6 changed files with 1193 additions and 1362 deletions
+4 -5
View File
@@ -8,7 +8,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
fetch-depth: 0
@@ -17,14 +17,13 @@ jobs:
uses: actions/setup-node@v4
with:
# 选择要使用的 node 版本
node-version: 22
# registry-url: https://registry.npmmirror.com/
node-version: latest
registry-url: https://registry.npmmirror.com/
- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 9
run_install: false
- name: Get pnpm store directory
+31 -31
View File
@@ -1,6 +1,6 @@
{
"type": "module",
"packageManager": "pnpm@10.15.0",
"packageManager": "pnpm@10.16.0",
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
@@ -28,11 +28,11 @@
"@visactor/vchart": "^2.0.4",
"@vue-office/docx": "^1.6.3",
"@vue-office/excel": "^1.7.14",
"@vueuse/components": "^13.8.0",
"@vueuse/core": "^13.8.0",
"@vueuse/integrations": "^13.8.0",
"@vueuse/components": "^13.9.0",
"@vueuse/core": "^13.9.0",
"@vueuse/integrations": "^13.9.0",
"animate.css": "^4.1.1",
"axios": "^1.11.0",
"axios": "^1.12.1",
"bytemd": "^1.22.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
@@ -41,16 +41,16 @@
"defu": "^6.1.4",
"disable-devtool": "^0.3.9",
"echarts": "^6.0.0",
"element-plus": "^2.11.1",
"element-plus": "^2.11.2",
"eruda": "^3.4.3",
"es-toolkit": "^1.39.10",
"filesize": "^11.0.2",
"hotkeys-js": "^3.13.15",
"lucide-vue-next": "^0.542.0",
"lucide-vue-next": "^0.544.0",
"mitt": "^3.0.1",
"nprogress": "^0.2.0",
"path-browserify": "^1.0.1",
"path-to-regexp": "^8.2.0",
"path-to-regexp": "^8.3.0",
"pinia": "^3.0.3",
"print-js": "^1.6.0",
"qrcode": "^1.5.4",
@@ -58,28 +58,28 @@
"reka-ui": "^2.5.0",
"scule": "^1.3.0",
"splitpanes": "^4.0.4",
"swiper": "^11.2.10",
"swiper": "^12.0.1",
"tailwind-merge": "^3.3.1",
"tinymce": "^7.9.1",
"ua-parser-js": "^2.0.4",
"ua-parser-js": "^2.0.5",
"vconsole": "^3.15.1",
"vee-validate": "^4.15.1",
"vue": "^3.5.20",
"vue": "^3.5.21",
"vue-currency-input": "^3.2.1",
"vue-data-ui": "^3.0.11",
"vue-data-ui": "^3.1.5",
"vue-esign": "^1.1.4",
"vue-hooks-plus": "^2.4.1",
"vue-router": "^4.5.1",
"vue-sonner": "^2.0.8",
"vxe-table": "^4.16.3",
"xe-utils": "^3.7.8",
"zod": "^4.1.5"
"vxe-table": "^4.16.11",
"xe-utils": "^3.7.9",
"zod": "^4.1.8"
},
"devDependencies": {
"@antfu/eslint-config": "^5.2.1",
"@antfu/eslint-config": "^5.3.0",
"@clack/prompts": "^0.11.0",
"@faker-js/faker": "^10.0.0",
"@iconify/json": "^2.2.380",
"@iconify/json": "^2.2.383",
"@iconify/vue": "^5.0.0",
"@stylistic/stylelint-config": "^3.0.1",
"@types/nprogress": "^0.2.3",
@@ -87,40 +87,40 @@
"@types/qrcode": "^1.5.5",
"@types/qs": "^6.14.0",
"@types/splitpanes": "^2.2.6",
"@unocss/eslint-plugin": "^66.5.0",
"@unocss/preset-legacy-compat": "^66.5.0",
"@unocss/eslint-plugin": "^66.5.1",
"@unocss/preset-legacy-compat": "^66.5.1",
"@vitejs/plugin-legacy": "^7.2.1",
"@vitejs/plugin-vue": "^6.0.1",
"@vitejs/plugin-vue-jsx": "^5.1.1",
"@vue/tsconfig": "^0.8.1",
"autoprefixer": "^10.4.21",
"boxen": "^8.0.1",
"eslint": "^9.34.0",
"eslint": "^9.35.0",
"fs-extra": "^11.3.1",
"http-server": "^14.1.1",
"lint-staged": "^16.1.5",
"lint-staged": "^16.1.6",
"npm-run-all2": "^8.0.4",
"picocolors": "^1.1.1",
"plop": "^4.0.1",
"plop": "^4.0.2",
"postcss": "^8.5.6",
"postcss-nested": "^7.0.2",
"sass-embedded": "^1.91.0",
"sass-embedded": "^1.92.1",
"simple-git-hooks": "^2.13.1",
"stylelint": "^16.23.1",
"stylelint-config-recess-order": "^7.2.0",
"stylelint-config-standard-scss": "^15.0.1",
"stylelint": "^16.24.0",
"stylelint-config-recess-order": "^7.3.0",
"stylelint-config-standard-scss": "^16.0.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-scss": "^6.12.1",
"svgo": "^4.0.0",
"taze": "^19.3.0",
"taze": "^19.6.0",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"unocss": "^66.5.0",
"unocss": "^66.5.1",
"unocss-preset-animations": "^1.2.1",
"unplugin-auto-import": "^20.1.0",
"unplugin-turbo-console": "^2.2.0",
"unplugin-vue-components": "^29.0.0",
"vite": "^7.1.3",
"vite": "^7.1.5",
"vite-plugin-app-loading": "^0.4.0",
"vite-plugin-archiver": "^0.2.0",
"vite-plugin-banner": "^0.8.1",
@@ -129,9 +129,9 @@
"vite-plugin-fake-server": "^2.2.0",
"vite-plugin-pages": "^0.33.1",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-devtools": "^8.0.1",
"vite-plugin-vue-devtools": "^8.0.2",
"vite-plugin-vue-meta-layouts": "^0.6.0",
"vue-tsc": "^3.0.6"
"vue-tsc": "^3.0.7"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
+1137 -1314
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -51,6 +51,9 @@ const answers = await p.group(
},
)
const spinner = p.spinner()
spinner.start('正在生成图标集...')
await fs.writeJSON(
path.resolve(process.cwd(), 'src/iconify/index.json'),
{
@@ -101,5 +104,5 @@ eslint.on('close', (code) => {
p.log.error(`ESLint 执行失败,退出码: ${code}`)
process.exit(code)
}
p.outro('图标集生成完成!')
spinner.stop('图标集生成完成!')
})
+1 -1
View File
@@ -89,7 +89,7 @@ const routes: RouteRecordRaw[] = [
name: 'recommandMineadmin',
meta: {
title: 'MineAdmin 开箱即用后台系统',
icon: 'https://doc.mineadmin.com/logo.svg',
icon: 'https://www.mineadmin.com/favicon.ico',
link: 'https://github.com/mineadmin/mineadmin',
},
},
+16 -10
View File
@@ -1,6 +1,9 @@
<script setup lang="ts">
import isBetween from 'dayjs/plugin/isBetween'
import { ElNotification } from 'element-plus'
import { createVNode } from 'vue'
import FaButton from '@/ui/components/FaButton/index.vue'
import { faNotification } from '@/ui/components/FaNotification'
import dayjs from '@/utils/dayjs'
import eventBus from '@/utils/eventBus'
@@ -21,16 +24,19 @@ function open(url: string) {
onMounted(() => {
eventBus.on('global-ui-component-switch', () => switchUI())
dayjs.extend(isBetween)
if (dayjs().isBetween('2024-10-17', '2024-11-17')) {
ElNotification({
type: 'info',
title: '「 四周年庆,全年最低价 」',
dangerouslyUseHTMLString: true,
message: `
<p>为庆祝 Fantastic-admin 正式发布四周年,我们在 <b>2024/10/17 - 2024/11/17</b> 期间推出一系列优惠。</p>
<p style="text-align: right;"><a href="https://fantastic-admin.hurui.me/buy-4yr.html" target="_blank">查看详情</a></p>
`,
position: 'bottom-right',
if (dayjs().isBetween('2025-09-17', '2025-10-17')) {
faNotification({
title: '「 五周年庆,全年最低价 」',
description: h('div', {
innerHTML: ` <p>为庆祝 Fantastic-admin 正式发布五周年,我们在 <b>2025/09/17 - 2025/10/17</b> 期间推出一系列优惠。</p>`,
}),
action: createVNode(FaButton, {
innerHTML: '查看详情',
variant: 'destructive',
onClick: () => {
window.open('https://fantastic-admin.hurui.me/buy-anniversary.html', '_blank')
},
}),
duration: 0,
})
}