Skip to content

waitingsong/yuntools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yuntools repository

公有云相关工具封装,提供 TypeScript 类型定义

GitHub tag License ci codecov Conventional Commits lerna

以下所有命令行操作都在 git-bash 窗口中执行

Packages

Package Version
ali-alb alb-svg
ali-ecs ecs-svg
ali-oss oss-svg

Initialize and install dependencies

run it at first time and any time

npm run repo:init

Compile

Run under root folder

npm run build
# specify scope
npm run build @scope/demo-docs
# specify scopes
npm run build @scope/demo-docs @scope/demo-serivce

Update package

npm run bootstrap

Add package

npm run add:pkg new_module

Test

  • Use npm run lint to check code style.
  • Use npm run test to run unit test.

Clan or Purge

# clean build dist, cache and build
npm run clean
# clean and remove all node_modules
npm run purge

Note

  • Run npm run clean before npm run build, if any file under typescript outDir folder was deleted manually.
  • Default publish registry is NPM, configurated in file lerna.json
  • Any commands above (such as npm run build) running in Git-Bash under Windows OS

License

MIT