feat: refactor Vite plugin loading mechanism and improve plugin management
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 3m3s
CI/CD Pipeline / build-and-deploy (push) Successful in 2m6s

This commit is contained in:
严浩
2025-12-12 00:09:53 +08:00
parent 7f1811098f
commit 9e050306bb
21 changed files with 370 additions and 260 deletions

View File

@@ -1,5 +1,5 @@
{
"packageManager": "pnpm@10.23.0",
"packageManager": "pnpm@10.25.0",
"name": "vue-ts-example-2025",
"version": "0.0.0",
"private": true,
@@ -14,7 +14,7 @@
},
"scripts": {
"all": "run-s lint format:prettier build-only type-check test:unit:DisableWatch",
"dev": "nodemon -w 'vite-plugins/**/*.ts' -e .ts -x vite --port 4730 --host --strictPort",
"dev": "nodemon --delay 280ms --watch vite-plugins --ext ts -x vite -- --port 4730 --host --strictPort",
"build": "run-p type-check \"build-only {@}\" --",
"build-only": "vite build",
"preview": "vite preview --port 4731 --host --strictPort",
@@ -71,7 +71,7 @@
"primelocale": "^2.2.2",
"primevue": "^4.4.1",
"ts-enum-util": "^4.1.0",
"utils4u": "^4.2.3",
"utils4u": "^5",
"vue": "^3.5.24",
"vue-i18n": "^11.2.1",
"vue-memoize-dict": "^1.1.3",
@@ -86,8 +86,8 @@
"@iconify-json/material-symbols": "^1.2.47",
"@intlify/eslint-plugin-vue-i18n": "^4.1.0",
"@intlify/unplugin-vue-i18n": "^11.0.1",
"@playwright/test": "^1.56.1",
"@prettier/plugin-oxc": "^0.1.0",
"@playwright/test": "^1.57.0",
"@prettier/plugin-oxc": "^0.1.3",
"@primevue/auto-import-resolver": "^4.4.1",
"@primevue/metadata": "^4.4.1",
"@stylelint-types/stylelint-order": "^7.0.0",
@@ -106,11 +106,12 @@
"@vue/eslint-config-typescript": "^14.6.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.8.1",
"boxen": "^8.0.1",
"consola": "^3.4.2",
"eslint": "^9.39.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsonc": "^2.21.0",
"eslint-plugin-oxlint": "~1.29.0",
"eslint-plugin-oxlint": "~1.32.0",
"eslint-plugin-perfectionist": "^4.15.1",
"eslint-plugin-playwright": "^2.3.0",
"eslint-plugin-vue": "~10.6.0",
@@ -124,7 +125,7 @@
"nprogress": "^0.2.0",
"oxlint": "~1.29.0",
"postcss-html": "^1.8.0",
"prettier": "3.6.2",
"prettier": "3.7.4",
"rollup": "^4.53.3",
"sass-embedded": "^1.93.3",
"sharp": "^0.34.5",
@@ -156,13 +157,7 @@
"vue-component-type-helpers": "^3.1.4",
"vue-i18n-extract": "^2.0.7",
"vue-macros": "3.1.1",
"vue-tsc": "^3.1.4",
"vue-tsc": "^3.1.8",
"wrangler": "^4.50.0"
},
"overrides": {
"vue-tsc": "$vue-tsc"
},
"workspaces": [
"packages/*"
]
}
}