0.1.5 • Published 4 years ago
@slsplus/coding v0.1.5
Coding CLI
CLI tool for https://coding.net
Features
Usage
$ npm i @slsplus/coding
$ coding -h
Environment
For auto release
action, you should setup GH_TOKEN
and NPM_TOKEN
secrets.
Development
All git commit
mesage must follow below syntax:
type(scope?): subject #scope is optional
support type:
- feat: add new feature
- fix: fix bug or patch feature
- ci: CI
- chore: modify config, nothing to do with production code
- docs: create or modifiy documents
- refactor: refactor project
- revert: revert
- test: test
Most of time, we just use feat
and fix
.
Test
For CI test, should copy .env.example
to .env.test
, then config below environment variables to yours:
TENCENT_SECRET_ID=xxx
TENCENT_SECRET_KEY=xxx
CODE_URL_COS=xxx
Notice:
CODE_URL_COS
is a cos url for project code download in CI environment.
License
MIT