feat: 使用env-paths替代platform-folders,增强跨平台用户目录支持,新增标准目录获取方法

This commit is contained in:
sean
2025-06-02 09:49:33 +08:00
parent ab6521ba9f
commit 7ed85c127a
6 changed files with 796 additions and 54 deletions

View File

@ -21,7 +21,6 @@
"test:coverageE2e": "jest --coverage --selectProjects e2e",
"test:ci": "jest --ci --coverage --watchAll=false --passWithNoTests || echo 'Tests completed with some issues'",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"lint": "eslint src/ --no-error-on-unmatched-pattern || true",
"lint:fix": "eslint src/ --fix --no-error-on-unmatched-pattern || true",
"format": "echo 'Format skipped - no formatting restrictions'",
@ -51,6 +50,7 @@
"boxen": "^5.1.2",
"chalk": "^4.1.2",
"commander": "^11.0.0",
"env-paths": "2.2.1",
"find-monorepo-root": "^1.0.3",
"find-pkg-dir": "^2.0.0",
"find-up": "^7.0.0",
@ -59,7 +59,6 @@
"inquirer": "^8.2.4",
"ora": "^5.4.1",
"pkg-dir": "^8.0.0",
"platform-folders": "^0.6.0",
"resolve": "^1.22.10",
"resolve-package": "^1.0.1",
"semver": "^7.5.0",