skillhub/skillhub-cli/package.json
chenbaowang d4ea485662 fix(cli): fix registry config priority for login and all commands
- Remove hardcoded default from Commander --registry option that
  overrode config file settings in ALL commands
- Login command now uses loadConfigFromProgram() like other commands
  instead of hardcoded http://localhost:8080
- Improved login error messages with registry URL context
2026-04-21 17:32:06 +08:00

33 lines
776 B
JSON

{
"name": "motovis-skillhub",
"version": "1.2.0",
"type": "module",
"description": "SkillHub CLI - 企业级 Agent Skill 管理工具,支持命名空间",
"bin": {
"skillhub": "dist/cli.mjs"
},
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@clack/prompts": "^1.2.0",
"chalk": "^5.3.0",
"commander": "^14.0.3",
"ora": "^9.3.0",
"picocolors": "^1.1.1",
"semver": "^7.7.4",
"undici": "^7.24.0",
"unzipper": "^0.12.3"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/semver": "^7.5.8",
"@types/unzipper": "^0.10.11",
"typescript": "^5.6.0",
"unbuild": "^3.0.0",
"vitest": "^3.0.0"
}
}