@deot/dev-cli 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -33,12 +33,12 @@ Monorepo
33
33
  │ │ ├─ __tests__
34
34
  │ │ ├─ src
35
35
  │ │ ├─ api-extractor.json
36
- │ │ └─ package.json
36
+ │ │ └─ package.json # 如果含build/build:types会跳过执行内部的
37
37
  │ └─ shims.d.ts
38
38
  ├─ .eslintignore
39
39
  ├─ .eslintrc.cjs
40
40
  ├─ .lintstagedrc.json
41
- ├─ .npmrc
41
+ ├─ .npmrc # shamefully-hoist = true
42
42
  ├─ jest.config.js
43
43
  ├─ pnpm-lock.yaml
44
44
  ├─ pnpm-workspace.yaml
@@ -1,6 +1,7 @@
1
1
  import fs from 'fs';
2
2
 
3
- const commitRE = /^(revert: )?(fix|feat|docs|style|perf|test|types|build|chore|refactor|workflow|ci|wip|release|breaking change)(\(.+\))?: .{1,50}/;
3
+ // eslint-disable-next-line max-len
4
+ const commitRE = /^(revert: )?(void|fix|feat|docs|style|perf|test|types|build|chore|refactor|workflow|ci|wip|release|breaking change)(\(.+\))?: .{1,50}/;
4
5
  const mergeRE = /Merge branch /;
5
6
 
6
7
  const gitParams = process.env.HUSKY_GIT_PARAMS || process.argv.pop(); // 兼容husky@v4和husky@v8
@@ -30,6 +31,7 @@ if (!commitRE.test(commitMsg) && !mergeRE.test(commitMsg)) {
30
31
  - build:影响构建系统或外部依赖项的更改
31
32
  - ci: 持续集成相关
32
33
  - breaking change:破坏性修改
34
+ - void:无类型,通常用于初始化
33
35
  - Merge branch 'foo' into 'bar'
34
36
  `
35
37
  );