@he3-kit/cli
v0.0.73
Published
Open tool development CLI for He3 app.
Downloads
31
Readme
Open tool development CLI for He3 app.
Development Stage
Debug
The debug configurations in VSCode have set in the /.vscode/launch.json
.
If you want to debug one command, change the item in configurations
:
{
"type": "node",
"request": "launch",
"name": "dev-single-tool",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/packages/cli/bin/dev",
"args": [
"dev",
"--projectPath=/Users/pandy/worker/he3/official-tools/single-demo-v3"
]
},
You just need to change the args
to meet your command. The configuration above is meant to run dev
command, and its flag is --projectPath=/Users/pandy/worker/he3/official-tools/single-demo-v3
Add debug point into the code and press F5
to run the debugger.
publish the pre-release version
- Upgrade the version in package.json
npm version prepatch --preid=beta
- Publish pre-release npm package:
npm publish --tag beta
- Install the pre-release npm package in the project:
npm install @he3-kit/cli@beta
Official Stage
publish release version
- Upgrade the version in package.json
npm version patch
- Publish release npm package:
npm publish --access=public
- Update the package in project:
npm update