定制 koustubhdudhe/conventional-commit-blt-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

koustubhdudhe/conventional-commit-blt-plugin

Composer 安装命令:

composer require koustubhdudhe/conventional-commit-blt-plugin

包简介

Blt Plugin for conventional commits

README 文档

README

This is Conventional Commit BLT Plugin to enforce Conventional Commits while committing.

Installation and usage

In your project, require the plugin with Composer:

composer require koustubhdudhe/conventional-commit-blt-plugin

Run blt blt:init:git-hooks.

Add Below Configurations in the blt.yml file

Search for and replace the following placeholders within this file:

git:
  default_branch: master
  commit-msg:
    pattern: '/((SOMETHING)-[0-9]+(: )[^ ].{15,})|(Merge branch (.)+)/'
  ticket-id:
    pattern: '(SOMETHING)-[0-9]*'
  commit-type:
    pattern: 'feat|fix|refactor|style|test|docs|build'
    description:
      feat: 'Feat: Commits, that adds a new feature'
      fix: 'Fix: Commits, that fixes a bug'
      refactor: 'Refactor: Commits, that rewrite/restructure your code, however does not change any behaviour'
      style: 'Style: Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)'
      test: 'Test: Commits, that add missing tests or correcting existing tests'
      docs: 'Docs: Commits, that affect documentation only'
      build: 'Build: Commits, that affect build components like build tool, ci pipeline, dependencies, project version'

Commands to use

blt commit git commit

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-04-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固