0.5.1 • Published 7 months ago

@rascaljs/cli v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

rascaljs-cli

一个小瘪三的命令行工具

Usage

install

pnpm i -D rascaljs-cli

Use command

pnpm rascal -h

命令介绍

命令作用
help查看全部命令用法
git-commit生成符合 Angular 规范的 git 提交信息
git-commit-verify校验 git 的提交信息是否符合 Angular 规范
cleanup清空依赖和构建产物
init-git-hooks初始化 simple-gi t-hooks 钩子
release版本发布,自动变更版本,生成日志 CHANGELOG.md
update-pkg升级依赖
prettier-formatprettier 格式化
lint-staged执行 lint-staged
changelog根据两次 tag 生成 changelog (--total: 根据所有 tag 生成 changelog)

prettier-format

底层调用 prettier --write 达到格式化文件的目的

默认忽略的格式化文件:

  • js,jsx,mjs,cjs,json,ts,tsx,vue

    以上文件通过 eslint 去格式化

  • node_modules
  • .min.
  • CHANGELOG.md
  • dist
  • LICENSE*
  • output
  • coverage
  • public
  • temp
  • package-lock.json
  • pnpm-lock.yaml
  • yarn.lock
  • snapshots
0.5.1

7 months ago

0.5.0

7 months ago

0.4.1

7 months ago

0.4.0

7 months ago

0.3.3

7 months ago

0.3.2

7 months ago

0.3.0

7 months ago

0.2.5

7 months ago

0.2.4

7 months ago

0.2.0

7 months ago

0.1.0

7 months ago

0.0.1

7 months ago