feat: 添加 .editorconfig 文件,更新 ESLint 配置,修改 TypeScript 配置以支持 Node 22,优化依赖项版本
All checks were successful
/ depcheck (push) Successful in 1m31s
/ build-and-deploy-to-vercel (push) Successful in 2m6s
/ playwright (push) Successful in 2m27s

This commit is contained in:
严浩
2025-01-02 22:22:51 +08:00
parent d132ae7484
commit 78ec619f23
9 changed files with 40 additions and 59 deletions

View File

@ -5,7 +5,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"dev": "vite --port 4730",
"all": "run-p build-only format type-check lint",
"build": "run-p type-check \"build-only {@}\" --",
"build-only": "vite build",
@ -77,8 +77,9 @@
"@iconify/utils": "^2.2.1",
"@playwright/test": "^1.49.1",
"@primevue/auto-import-resolver": "^4.2.5",
"@tsconfig/node20": "^20.1.4",
"@tsconfig/node22": "^22.0.0",
"@types/jsdom": "^21.1.7",
"@types/mockjs": "^1.0.10",
"@types/node": "^22.10.3",
"@types/nprogress": "^0.2.3",
"@unocss/preset-rem-to-px": "^0.65.3",