1.0.10 • Published 4 years ago

movee-log v1.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

movee-log

利用阿里云web-track记录前端日志,并支持微信小程序和web应用

npm npm npm GitHub stars GitHub forks

使用方法

查看使用方法

PR && Commit (提交代码)

  • 使用 commitizen 来格式化 Git commit message

    • 安装 commitizen

      npm install -g commitizen

    • 使用 angular 的 commit 规范 commitizen init cz-conventional-changelog --save-dev --save-exact
    • 重新安装 husky 与 lint-staged

      npm i -D husky
      npm i -D lint-staged

    • 使用 git cz 代替 commit
  • 提交规则

    • feat: 新功能
    • fix: 修复bug
    • docs: 文档更新
    • style: 格式更新(不影响代码运行的变动)
    • refactor: 重构(既不是新增功能,又不是bug修复)
    • test: 添加测试
    • chore: 构建过程或辅助工具的变动
  • git 提交

    • git commitgit cz 代替

更新日志

查看更新日志

  • 生成更新日志

    npm install -g conventional-changelog-cli

  • 发布新版本推荐工作流

    1. 执行eslint格式化代码 (npm run eslint)
    2. 提交修改的commit (git add . / git cz)
    3. 修改版本号 (npm run changeVersion)
    4. 执行build (npm run build)
    5. 自动生成change log (npm run changelog)
    6. 重新添加package.json 和 CHANGELOG.md (git add . / git cz)
    7. 打tag (git add -a tag -m 'xx')
    8. push (git push origin tag)
    9. 发布到npm
1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago