waitingsong / ts-ast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ts-ast repository

GitHub tag License ci codecov Conventional Commits lerna

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

安装全局依赖

npm i -g c8 lerna madge rollup tsx zx

Packages

Package Version
shared-types-dev main-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

Languages


About

License:MIT License


Languages

Language:TypeScript 73.4%Language:Shell 13.4%Language:JavaScript 13.2%