35c351e716
Publish to Gitea Registry / publish (push) Failing after 4s
Replace hand-rolled CLI argument parsing with Commander for command registration and option handling. Streamline config resolution by removing the BrickConfig type and accepting a plain source string with BRICK_SOURCE env var support. - Replace manual CLI dispatch with Commander-based command tree - Simplify resolveConfig/resolveSource to a single resolveSource function - Remove BrickConfig interface in favor of direct source string - Move isRemote check into index-loader as a local utility - Update loadIndex signature to accept source string directly
39 lines
796 B
JSON
39 lines
796 B
JSON
{
|
|
"name": "brick-cli",
|
|
"version": "0.0.0",
|
|
"description": "Brick CLI — 源码级 Spring Boot 脚手架工具",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"brick": "./dist/index.js"
|
|
},
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.synoth.com/synoth/brick-cli.git"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://gitea.synoth.com/api/packages/synoth/npm/"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"commander": "^15.0.0",
|
|
"js-yaml": "^5.0.0"
|
|
}
|
|
}
|