The help output was indented by unclosed console.group() calls, which Bun keeps applying to every subsequent line. Because groups were never closed with console.groupEnd(), indentation accumulated per nesting level and pushed deep entries (e.g. "jj portainer test") far to the right. Replace the group-based helpers with an explicit INDENT constant and a depth parameter in generateHelp(), so each level is indented deterministically and the layout is stable regardless of console state.
63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"name": "@sarava-npm-packages/jj-command-line",
|
|
"description": "jj cli",
|
|
"version": "2.1.10",
|
|
"author": "Jason Jafari",
|
|
"bin": {
|
|
"jj": "./jj.sh"
|
|
},
|
|
"bugs": "https://gitea.root.sarava.dev/jason/jj-command-line/issues",
|
|
"dependencies": {
|
|
"chalk": "^5.3.0",
|
|
"crypto-js": "^4.2.0",
|
|
"flatted": "^3.3.1",
|
|
"folder-hash": "^4.0.4",
|
|
"fs-extra": "^11.2.0",
|
|
"inquirer": "^12.0.1",
|
|
"js-yaml": "^5.4.3",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.30.1",
|
|
"pino": "^9.5.0",
|
|
"pino-pretty": "^12.1.0",
|
|
"shelljs": "^0.8.5",
|
|
"winston": "^3.16.0",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4",
|
|
"@types/mocha": "^10",
|
|
"@types/node": "^18",
|
|
"chai": "^4",
|
|
"eslint": "^8",
|
|
"eslint-config-oclif": "^5",
|
|
"eslint-config-oclif-typescript": "^3",
|
|
"eslint-config-prettier": "^9",
|
|
"mocha": "^10",
|
|
"oclif": "^4",
|
|
"shx": "^0.3.3",
|
|
"ts-node": "^10",
|
|
"typescript": "^5.6.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"homepage": "https://gitea.root.sarava.dev/jason/jj-command-line",
|
|
"keywords": [
|
|
"oclif"
|
|
],
|
|
"license": "MIT",
|
|
"main": "src/index.ts",
|
|
"type": "commonjs",
|
|
"repository": "https://gitea.root.sarava.dev/jason/jj-command-line",
|
|
"scripts": {
|
|
"build": " ",
|
|
"lint": "eslint . --ext .ts",
|
|
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
"pre-publish": "git add . && git push --follow-tags"
|
|
},
|
|
"alias": {
|
|
"@jjHelpers/*": "./helpers/$1",
|
|
"@jjSrc/*": "./src/$1"
|
|
}
|
|
}
|