@monitor-china/pinxiaoer-deployment-tui
v1.0.4
Published
Interactive TUI to deploy PinXiaoEr COT and Voucher adaptations.
Maintainers
Readme
@monitor-china/pinxiaoer-deployment-tui
Interactive Ink-based TUI for deploying PinXiaoEr adaptations.
Features
- Deploy COT adaptation for a new company
- Deploy Voucher Numbering adaptation for a new company
- Guided interactive flow with task-by-task progress
- Safety checks and confirmation prompts for endpoint updates
Requirements
- Node.js 20+
Install (from npm)
npm install -g @monitor-china/pinxiaoer-deployment-tuiThen run:
pinxiaoer-deployment-tuiLocal development
npm install
npm run devBuild and run compiled output:
npm run build
npm run startCLI usage
pinxiaoer-deployment-tui --root "D:\\src\\test\\Pin\\Adaptations"Options:
--root: absolute adaptation root path
Publish to npm
- Ensure you are logged in:
npm login- Ensure your npm user can publish to the org scope:
npm whoami
npm org ls monitor-china- Verify package content:
npm pack --dry-run- Bump version (required before each new publish):
# Example: 1.0.1 -> 1.0.2
npm version patchYou can also set an explicit version:
npm version 1.0.2- Publish:
npm publishNotes:
- This package is scoped to the Monitor China org as
@monitor-china/pinxiaoer-deployment-tui. publishConfig.access=publicis set inpackage.jsonfor scoped public publish.prepublishOnlyrunsnpm run build, sodist/is always up to date when publishing.
