feat: 更新依赖
This commit is contained in:
4
.github/workflows/vercel.yaml
vendored
4
.github/workflows/vercel.yaml
vendored
@ -12,8 +12,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: yanhao98/composite-actions/setup-node-environment@33959a36221815dfc946a0fad64dcdb490724ce3
|
- uses: yanhao98/composite-actions/setup-node-environment@33959a36221815dfc946a0fad64dcdb490724ce3
|
||||||
- name: 静态代码分析
|
# - name: 静态代码分析
|
||||||
run: pnpm run lint
|
# run: pnpm run lint
|
||||||
# https://github.com/vercel/examples/tree/main/ci-cd/github-actions
|
# https://github.com/vercel/examples/tree/main/ci-cd/github-actions
|
||||||
# cname-cn.vercel.com cname-china.vercel-dns.com
|
# cname-cn.vercel.com cname-china.vercel-dns.com
|
||||||
- name: 拉取 Vercel 环境信息
|
- name: 拉取 Vercel 环境信息
|
||||||
|
@ -11,7 +11,6 @@ import { fileURLToPath } from 'node:url';
|
|||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = path.dirname(__filename);
|
const __dirname = path.dirname(__filename);
|
||||||
const gitignorePath = path.resolve(__dirname, '.gitignore');
|
|
||||||
|
|
||||||
// To allow more languages other than `ts` in `.vue` files, uncomment the following lines:
|
// To allow more languages other than `ts` in `.vue` files, uncomment the following lines:
|
||||||
import { configureVueProject } from '@vue/eslint-config-typescript';
|
import { configureVueProject } from '@vue/eslint-config-typescript';
|
||||||
@ -20,9 +19,10 @@ configureVueProject({ scriptLangs: ['ts', 'tsx', 'js', 'jsx'] });
|
|||||||
// More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup
|
// More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup
|
||||||
|
|
||||||
export default defineConfigWithVueTs(
|
export default defineConfigWithVueTs(
|
||||||
includeIgnoreFile(gitignorePath), // oxlint . --fix -D correctness --ignore-path .gitignore
|
includeIgnoreFile(path.resolve(__dirname, '.gitignore')),
|
||||||
{ ignores: ['typed-router.d.ts'] },
|
// npx oxlint . --fix -D correctness --ignore-pattern '/src/components/InspiraUI/*'
|
||||||
{ ignores: ['src/shadcn/**'] },
|
{ ignores: ['typed-router.d.ts', 'src/shadcn/**', 'src/components/InspiraUI/**'] },
|
||||||
|
|
||||||
{
|
{
|
||||||
files: ['**/*.{ts,mts,tsx,vue}'],
|
files: ['**/*.{ts,mts,tsx,vue}'],
|
||||||
name: 'app/files-to-lint',
|
name: 'app/files-to-lint',
|
||||||
|
51
package.json
51
package.json
@ -12,7 +12,8 @@
|
|||||||
"format": "prettier --write src/",
|
"format": "prettier --write src/",
|
||||||
"type-check": "vue-tsc --build",
|
"type-check": "vue-tsc --build",
|
||||||
"lint": "run-s lint:*",
|
"lint": "run-s lint:*",
|
||||||
"lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
|
"_lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
|
||||||
|
"lint:oxlint": "oxlint . --fix -D correctness",
|
||||||
"lint:eslint": "eslint . --fix",
|
"lint:eslint": "eslint . --fix",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"playwright": "playwright test",
|
"playwright": "playwright test",
|
||||||
@ -39,7 +40,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@alova/adapter-axios": "^2.0.12",
|
"@alova/adapter-axios": "^2.0.13",
|
||||||
"@formkit/auto-animate": "^0.8.2",
|
"@formkit/auto-animate": "^0.8.2",
|
||||||
"@intlify/unplugin-vue-i18n": "^6.0.5",
|
"@intlify/unplugin-vue-i18n": "^6.0.5",
|
||||||
"@pinia/colada": "^0.14.2",
|
"@pinia/colada": "^0.14.2",
|
||||||
@ -47,13 +48,13 @@
|
|||||||
"@unhead/vue": "^2.0.2",
|
"@unhead/vue": "^2.0.2",
|
||||||
"@vant/use": "^1.6.0",
|
"@vant/use": "^1.6.0",
|
||||||
"@vueuse/core": "^13.0.0",
|
"@vueuse/core": "^13.0.0",
|
||||||
"alova": "^3.2.8",
|
"alova": "^3.2.10",
|
||||||
"ant-design-vue": "~4.2.6",
|
"ant-design-vue": "~4.2.6",
|
||||||
"axios": "^1.7.9",
|
"axios": "^1.8.4",
|
||||||
"cesium": "^1.127.0",
|
"cesium": "^1.127.0",
|
||||||
"class-variance-authority": "^0.7.1",
|
"class-variance-authority": "^0.7.1",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"consola": "^3.4.0",
|
"consola": "^3.4.2",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"deep-freeze-es6": "^4.0.0",
|
"deep-freeze-es6": "^4.0.0",
|
||||||
"jsencrypt": "^3.3.2",
|
"jsencrypt": "^3.3.2",
|
||||||
@ -65,30 +66,30 @@
|
|||||||
"pinia": "^3.0.1",
|
"pinia": "^3.0.1",
|
||||||
"pinia-plugin-persistedstate": "^4.2.0",
|
"pinia-plugin-persistedstate": "^4.2.0",
|
||||||
"primeicons": "^7.0.0",
|
"primeicons": "^7.0.0",
|
||||||
"primelocale": "^2.0.0",
|
"primelocale": "^2.1.1",
|
||||||
"primevue": "^4.3.1",
|
"primevue": "^4.3.3",
|
||||||
"radash": "^12.1.0",
|
"radash": "^12.1.0",
|
||||||
"radix-vue": "^1.9.17",
|
"radix-vue": "^1.9.17",
|
||||||
"reka-ui": "^2.1.1",
|
"reka-ui": "^2.1.1",
|
||||||
"satellite.js": "^5.0.0",
|
"satellite.js": "^5.0.0",
|
||||||
"tailwind-merge": "^3.0.2",
|
"tailwind-merge": "^3.0.2",
|
||||||
"tdesign-icons-vue-next": "^0.3.4",
|
"tdesign-icons-vue-next": "^0.3.5",
|
||||||
"three": "^0.175.0",
|
"three": "^0.175.0",
|
||||||
"ts-enum-util": "^4.1.0",
|
"ts-enum-util": "^4.1.0",
|
||||||
"utils4u": "^4.2.1",
|
"utils4u": "^4.2.3",
|
||||||
"vant": "^4.9.16",
|
"vant": "^4.9.18",
|
||||||
"vue": "^3.5.13",
|
"vue": "^3.5.13",
|
||||||
"vue-i18n": "^11.1.1",
|
"vue-i18n": "^11.1.2",
|
||||||
"vue-page-stack": "^3.2.0",
|
"vue-page-stack": "^3.2.0",
|
||||||
"vue-router": "^4.5.0"
|
"vue-router": "^4.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/compat": "^1.2.6",
|
"@eslint/compat": "^1.2.7",
|
||||||
"@faker-js/faker": "^9.6.0",
|
"@faker-js/faker": "^9.6.0",
|
||||||
"@iconify-json/carbon": "^1.2.8",
|
"@iconify-json/carbon": "^1.2.8",
|
||||||
"@iconify/utils": "^2.3.0",
|
"@iconify/utils": "^2.3.0",
|
||||||
"@playwright/test": "^1.51.1",
|
"@playwright/test": "^1.51.1",
|
||||||
"@primevue/auto-import-resolver": "^4.3.1",
|
"@primevue/auto-import-resolver": "^4.3.3",
|
||||||
"@tsconfig/node22": "^22.0.1",
|
"@tsconfig/node22": "^22.0.1",
|
||||||
"@types/archiver": "^6.0.3",
|
"@types/archiver": "^6.0.3",
|
||||||
"@types/mockjs": "^1.0.10",
|
"@types/mockjs": "^1.0.10",
|
||||||
@ -96,9 +97,9 @@
|
|||||||
"@types/nprogress": "^0.2.3",
|
"@types/nprogress": "^0.2.3",
|
||||||
"@types/three": "^0.175.0",
|
"@types/three": "^0.175.0",
|
||||||
"@unocss/preset-rem-to-px": "^66.0.0",
|
"@unocss/preset-rem-to-px": "^66.0.0",
|
||||||
"@vant/auto-import-resolver": "^1.2.1",
|
"@vant/auto-import-resolver": "^1.3.0",
|
||||||
"@vitejs/plugin-vue": "^5.2.1",
|
"@vitejs/plugin-vue": "^5.2.3",
|
||||||
"@vitejs/plugin-vue-jsx": "^4.1.1",
|
"@vitejs/plugin-vue-jsx": "^4.1.2",
|
||||||
"@vue/eslint-config-prettier": "^10.2.0",
|
"@vue/eslint-config-prettier": "^10.2.0",
|
||||||
"@vue/eslint-config-typescript": "^14.5.0",
|
"@vue/eslint-config-typescript": "^14.5.0",
|
||||||
"@vue/test-utils": "^2.4.6",
|
"@vue/test-utils": "^2.4.6",
|
||||||
@ -108,22 +109,22 @@
|
|||||||
"cz-conventional-changelog": "^3.3.0",
|
"cz-conventional-changelog": "^3.3.0",
|
||||||
"depcheck": "^1.4.7",
|
"depcheck": "^1.4.7",
|
||||||
"eruda": "^3.4.1",
|
"eruda": "^3.4.1",
|
||||||
"eslint": "^9.20.1",
|
"eslint": "^9.23.0",
|
||||||
"eslint-plugin-import-x": "^4.9.3",
|
"eslint-plugin-import-x": "^4.9.4",
|
||||||
"eslint-plugin-oxlint": "^0.15.15",
|
"eslint-plugin-oxlint": "^0.16.3",
|
||||||
"eslint-plugin-perfectionist": "^4.8.0",
|
"eslint-plugin-perfectionist": "^4.10.1",
|
||||||
"eslint-plugin-unicorn": "^58.0.0",
|
"eslint-plugin-unicorn": "^58.0.0",
|
||||||
"eslint-plugin-vue": "^10.0.0",
|
"eslint-plugin-vue": "^10.0.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"less": "^4.2.2",
|
"less": "^4.2.2",
|
||||||
"lint-staged": "^15.4.3",
|
"lint-staged": "^15.5.0",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
"npm-run-all2": "^7.0.2",
|
"npm-run-all2": "^7.0.2",
|
||||||
"oxlint": "^0.15.15",
|
"oxlint": "^0.16.3",
|
||||||
"prettier": "3.5.3",
|
"prettier": "3.5.3",
|
||||||
"sass-embedded": "^1.83.4",
|
"sass-embedded": "^1.86.0",
|
||||||
"surge": "^0.24.6",
|
"surge": "^0.24.6",
|
||||||
"terser": "^5.38.2",
|
"terser": "^5.39.0",
|
||||||
"typescript": "~5.8.2",
|
"typescript": "~5.8.2",
|
||||||
"unocss": "^66.0.0",
|
"unocss": "^66.0.0",
|
||||||
"unocss-preset-animations": "^1.1.1",
|
"unocss-preset-animations": "^1.1.1",
|
||||||
@ -146,6 +147,6 @@
|
|||||||
"vite-plugin-vue-meta-layouts": "^0.5.1",
|
"vite-plugin-vue-meta-layouts": "^0.5.1",
|
||||||
"vite-plugin-webfont-dl": "^3.10.4",
|
"vite-plugin-webfont-dl": "^3.10.4",
|
||||||
"vue-component-type-helpers": "^2.2.8",
|
"vue-component-type-helpers": "^2.2.8",
|
||||||
"vue-tsc": "^2.2.0"
|
"vue-tsc": "^2.2.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
705
pnpm-lock.yaml
generated
705
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useLayout } from '@/layouts/sakai-vue/composables/layout';
|
import { useLayout } from '@/layouts/sakai-vue/composables/layout';
|
||||||
import { computed } from 'vue';
|
|
||||||
|
|
||||||
import CardSpotlight from './CardSpotlight.vue';
|
|
||||||
import GradientButton from './GradientButton.vue';
|
|
||||||
|
|
||||||
const { isDarkTheme } = useLayout();
|
const { isDarkTheme } = useLayout();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user