mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 00:46:29 +00:00
feat: add extra dep conventional commit for committing changes to additional package installation
This commit is contained in:
parent
650631ba4d
commit
f0f4f255df
@ -2,7 +2,7 @@ import { readFileSync } from 'fs'
|
||||
|
||||
const msg: string = readFileSync('.git/COMMIT_EDITMSG', 'utf-8').trim()
|
||||
|
||||
const commitRE: RegExp = /^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release)(\(.+\))?: .{1,50}/
|
||||
const commitRE: RegExp = /^(revert: )?(feat|fix|docs|dep|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release)(\(.+\))?: .{1,50}/
|
||||
const mergeRe: RegExp = /^(Merge pull request|Merge branch)/
|
||||
|
||||
if (!commitRE.test(msg)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user