@soybeanjs/cli 0.1.0 → 0.1.2

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/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ "use strict";
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -25,10 +26,21 @@ var import_kolorist2 = require("kolorist");
25
26
  // package.json
26
27
  var package_default = {
27
28
  name: "@soybeanjs/cli",
28
- version: "0.0.1",
29
+ version: "0.1.1",
29
30
  description: "SoybeanJS's command lint tools",
30
- author: "Soybean <honghuangdc@gmail.com> (https://github.com/honghuangdc)",
31
+ author: {
32
+ name: "Soybean",
33
+ email: "honghuangdc@gmail.com",
34
+ url: "https://github.com/honghuangdc"
35
+ },
31
36
  license: "MIT",
37
+ homepage: "https://github.com/honghuangdc/soybean-cli",
38
+ repository: {
39
+ url: "https://github.com/honghuangdc/soybean-cli.git"
40
+ },
41
+ bugs: {
42
+ url: "https://github.com/honghuangdc/soybean-cli/issues"
43
+ },
32
44
  bin: {
33
45
  soybean: "dist/index.js"
34
46
  },
@@ -40,13 +52,16 @@ var package_default = {
40
52
  },
41
53
  scripts: {
42
54
  build: "tsup",
43
- esno: "esno",
44
55
  lint: "eslint . --fix",
56
+ commit: "soybean git-commit",
57
+ esno: "esno",
58
+ cleanup: "esno ./scripts/cleanup.ts",
59
+ "update-pkg": "ncu --deep -u",
45
60
  "update-version": "bumpp package.json",
46
61
  "publish-pkg": "pnpm -r publish --access public",
47
62
  release: "pnpm update-version && pnpm publish-pkg",
48
- prepare: "husky install",
49
- commit: "soybean git-commit"
63
+ "sync-pkg": "esno ./scripts/sync.ts",
64
+ prepare: "husky install"
50
65
  },
51
66
  dependencies: {
52
67
  commander: "^9.4.1",
@@ -56,13 +71,14 @@ var package_default = {
56
71
  prompts: "^2.4.2"
57
72
  },
58
73
  devDependencies: {
59
- "@soybeanjs/cli": "^0.0.1",
74
+ "@soybeanjs/cli": "^0.1.0",
60
75
  "@types/prompts": "^2.4.1",
61
76
  bumpp: "^8.2.1",
62
77
  eslint: "^8.26.0",
63
78
  "eslint-config-soybeanjs": "0.1.1",
64
79
  esno: "^0.16.3",
65
80
  husky: "^8.0.1",
81
+ "npm-check-updates": "^16.3.16",
66
82
  tsup: "^6.3.0",
67
83
  typescript: "^4.8.4",
68
84
  zx: "^7.1.1"
package/dist/index.mjs CHANGED
@@ -7,10 +7,21 @@ import { blue } from "kolorist";
7
7
  // package.json
8
8
  var package_default = {
9
9
  name: "@soybeanjs/cli",
10
- version: "0.0.1",
10
+ version: "0.1.1",
11
11
  description: "SoybeanJS's command lint tools",
12
- author: "Soybean <honghuangdc@gmail.com> (https://github.com/honghuangdc)",
12
+ author: {
13
+ name: "Soybean",
14
+ email: "honghuangdc@gmail.com",
15
+ url: "https://github.com/honghuangdc"
16
+ },
13
17
  license: "MIT",
18
+ homepage: "https://github.com/honghuangdc/soybean-cli",
19
+ repository: {
20
+ url: "https://github.com/honghuangdc/soybean-cli.git"
21
+ },
22
+ bugs: {
23
+ url: "https://github.com/honghuangdc/soybean-cli/issues"
24
+ },
14
25
  bin: {
15
26
  soybean: "dist/index.js"
16
27
  },
@@ -22,13 +33,16 @@ var package_default = {
22
33
  },
23
34
  scripts: {
24
35
  build: "tsup",
25
- esno: "esno",
26
36
  lint: "eslint . --fix",
37
+ commit: "soybean git-commit",
38
+ esno: "esno",
39
+ cleanup: "esno ./scripts/cleanup.ts",
40
+ "update-pkg": "ncu --deep -u",
27
41
  "update-version": "bumpp package.json",
28
42
  "publish-pkg": "pnpm -r publish --access public",
29
43
  release: "pnpm update-version && pnpm publish-pkg",
30
- prepare: "husky install",
31
- commit: "soybean git-commit"
44
+ "sync-pkg": "esno ./scripts/sync.ts",
45
+ prepare: "husky install"
32
46
  },
33
47
  dependencies: {
34
48
  commander: "^9.4.1",
@@ -38,13 +52,14 @@ var package_default = {
38
52
  prompts: "^2.4.2"
39
53
  },
40
54
  devDependencies: {
41
- "@soybeanjs/cli": "^0.0.1",
55
+ "@soybeanjs/cli": "^0.1.0",
42
56
  "@types/prompts": "^2.4.1",
43
57
  bumpp: "^8.2.1",
44
58
  eslint: "^8.26.0",
45
59
  "eslint-config-soybeanjs": "0.1.1",
46
60
  esno: "^0.16.3",
47
61
  husky: "^8.0.1",
62
+ "npm-check-updates": "^16.3.16",
48
63
  tsup: "^6.3.0",
49
64
  typescript: "^4.8.4",
50
65
  zx: "^7.1.1"
package/package.json CHANGED
@@ -1,9 +1,20 @@
1
1
  {
2
2
  "name": "@soybeanjs/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "SoybeanJS's command lint tools",
5
- "author": "Soybean <honghuangdc@gmail.com> (https://github.com/honghuangdc)",
5
+ "author": {
6
+ "name": "Soybean",
7
+ "email": "honghuangdc@gmail.com",
8
+ "url": "https://github.com/honghuangdc"
9
+ },
6
10
  "license": "MIT",
11
+ "homepage": "https://github.com/honghuangdc/soybean-cli",
12
+ "repository": {
13
+ "url": "https://github.com/honghuangdc/soybean-cli.git"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/honghuangdc/soybean-cli/issues"
17
+ },
7
18
  "bin": {
8
19
  "soybean": "dist/index.js"
9
20
  },
@@ -21,24 +32,28 @@
21
32
  "prompts": "^2.4.2"
22
33
  },
23
34
  "devDependencies": {
24
- "@soybeanjs/cli": "^0.0.1",
35
+ "@soybeanjs/cli": "^0.1.0",
25
36
  "@types/prompts": "^2.4.1",
26
37
  "bumpp": "^8.2.1",
27
38
  "eslint": "^8.26.0",
28
39
  "eslint-config-soybeanjs": "0.1.1",
29
40
  "esno": "^0.16.3",
30
41
  "husky": "^8.0.1",
42
+ "npm-check-updates": "^16.3.16",
31
43
  "tsup": "^6.3.0",
32
44
  "typescript": "^4.8.4",
33
45
  "zx": "^7.1.1"
34
46
  },
35
47
  "scripts": {
36
48
  "build": "tsup",
37
- "esno": "esno",
38
49
  "lint": "eslint . --fix",
50
+ "commit": "soybean git-commit",
51
+ "esno": "esno",
52
+ "cleanup": "esno ./scripts/cleanup.ts",
53
+ "update-pkg": "ncu --deep -u",
39
54
  "update-version": "bumpp package.json",
40
55
  "publish-pkg": "pnpm -r publish --access public",
41
56
  "release": "pnpm update-version && pnpm publish-pkg",
42
- "commit": "soybean git-commit"
57
+ "sync-pkg": "esno ./scripts/sync.ts"
43
58
  }
44
59
  }
package/dist/commit.js DELETED
@@ -1,80 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __copyProps = (to, from, except, desc) => {
8
- if (from && typeof from === "object" || typeof from === "function") {
9
- for (let key of __getOwnPropNames(from))
10
- if (!__hasOwnProp.call(to, key) && key !== except)
11
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- }
13
- return to;
14
- };
15
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
17
- mod
18
- ));
19
-
20
- // src/commit.ts
21
- var import_prompts = __toESM(require("prompts"));
22
- var import_execa = __toESM(require("execa"));
23
-
24
- // src/config.ts
25
- var types = [
26
- { value: "init", title: "init: \u9879\u76EE\u521D\u59CB\u5316" },
27
- { value: "feat", title: "feat: \u6DFB\u52A0\u65B0\u7279\u6027" },
28
- { value: "fix", title: "fix: \u4FEE\u590Dbug" },
29
- { value: "docs", title: "docs: \u4EC5\u4EC5\u4FEE\u6539\u6587\u6863" },
30
- { value: "style", title: "style: \u4EC5\u4EC5\u4FEE\u6539\u4E86\u7A7A\u683C\u3001\u683C\u5F0F\u7F29\u8FDB\u3001\u9017\u53F7\u7B49\u7B49\uFF0C\u4E0D\u6539\u53D8\u4EE3\u7801\u903B\u8F91" },
31
- { value: "refactor", title: "refactor: \u4EE3\u7801\u91CD\u6784\uFF0C\u6CA1\u6709\u52A0\u65B0\u529F\u80FD\u6216\u8005\u4FEE\u590Dbug" },
32
- { value: "perf", title: "perf: \u4F18\u5316\u76F8\u5173\uFF0C\u6BD4\u5982\u63D0\u5347\u6027\u80FD\u3001\u4F53\u9A8C" },
33
- { value: "test", title: "test: \u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B" },
34
- { value: "build", title: "build: \u4F9D\u8D56\u76F8\u5173\u7684\u5185\u5BB9" },
35
- { value: "ci", title: "ci: CI\u914D\u7F6E\u76F8\u5173\uFF0C\u4F8B\u5982\u5BF9k8s\uFF0Cdocker\u7684\u914D\u7F6E\u6587\u4EF6\u7684\u4FEE\u6539" },
36
- { value: "chore", title: "chore: \u6539\u53D8\u6784\u5EFA\u6D41\u7A0B\u3001\u6216\u8005\u589E\u52A0\u4F9D\u8D56\u5E93\u3001\u5DE5\u5177\u7B49" },
37
- { value: "revert", title: "revert: \u56DE\u6EDA\u5230\u4E0A\u4E00\u4E2A\u7248\u672C" }
38
- ];
39
- var scopes = [
40
- ["projects", "\u9879\u76EE\u642D\u5EFA"],
41
- ["components", "\u7EC4\u4EF6\u76F8\u5173"],
42
- ["hooks", "hook \u76F8\u5173"],
43
- ["utils", "utils \u76F8\u5173"],
44
- ["types", "ts\u7C7B\u578B\u76F8\u5173"],
45
- ["styles", "\u6837\u5F0F\u76F8\u5173"],
46
- ["deps", "\u9879\u76EE\u4F9D\u8D56"],
47
- ["auth", "\u5BF9 auth \u4FEE\u6539"],
48
- ["other", "\u5176\u4ED6\u4FEE\u6539"]
49
- ].map(([value, description]) => {
50
- return {
51
- value,
52
- title: `${value.padEnd(30)} (${description})`
53
- };
54
- });
55
-
56
- // src/commit.ts
57
- async function init() {
58
- const result = await (0, import_prompts.default)([
59
- {
60
- name: "types",
61
- type: "select",
62
- message: "\u8BF7\u9009\u62E9\u63D0\u4EA4\u7684\u7C7B\u578B",
63
- choices: types
64
- },
65
- {
66
- name: "scopes",
67
- type: "select",
68
- message: "\u9009\u62E9\u4E00\u4E2Ascope",
69
- choices: scopes
70
- },
71
- {
72
- name: "description",
73
- type: "text",
74
- message: "\u8BF7\u8F93\u5165\u63D0\u4EA4\u63CF\u8FF0"
75
- }
76
- ]);
77
- const commitMsg = `${result.types}(${result.scopes}): ${result.description}`;
78
- await (0, import_execa.default)("git", ["commit", "-m", commitMsg]);
79
- }
80
- init();
package/dist/commit.mjs DELETED
@@ -1,61 +0,0 @@
1
- // src/commit.ts
2
- import promptos from "prompts";
3
- import execa from "execa";
4
-
5
- // src/config.ts
6
- var types = [
7
- { value: "init", title: "init: \u9879\u76EE\u521D\u59CB\u5316" },
8
- { value: "feat", title: "feat: \u6DFB\u52A0\u65B0\u7279\u6027" },
9
- { value: "fix", title: "fix: \u4FEE\u590Dbug" },
10
- { value: "docs", title: "docs: \u4EC5\u4EC5\u4FEE\u6539\u6587\u6863" },
11
- { value: "style", title: "style: \u4EC5\u4EC5\u4FEE\u6539\u4E86\u7A7A\u683C\u3001\u683C\u5F0F\u7F29\u8FDB\u3001\u9017\u53F7\u7B49\u7B49\uFF0C\u4E0D\u6539\u53D8\u4EE3\u7801\u903B\u8F91" },
12
- { value: "refactor", title: "refactor: \u4EE3\u7801\u91CD\u6784\uFF0C\u6CA1\u6709\u52A0\u65B0\u529F\u80FD\u6216\u8005\u4FEE\u590Dbug" },
13
- { value: "perf", title: "perf: \u4F18\u5316\u76F8\u5173\uFF0C\u6BD4\u5982\u63D0\u5347\u6027\u80FD\u3001\u4F53\u9A8C" },
14
- { value: "test", title: "test: \u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B" },
15
- { value: "build", title: "build: \u4F9D\u8D56\u76F8\u5173\u7684\u5185\u5BB9" },
16
- { value: "ci", title: "ci: CI\u914D\u7F6E\u76F8\u5173\uFF0C\u4F8B\u5982\u5BF9k8s\uFF0Cdocker\u7684\u914D\u7F6E\u6587\u4EF6\u7684\u4FEE\u6539" },
17
- { value: "chore", title: "chore: \u6539\u53D8\u6784\u5EFA\u6D41\u7A0B\u3001\u6216\u8005\u589E\u52A0\u4F9D\u8D56\u5E93\u3001\u5DE5\u5177\u7B49" },
18
- { value: "revert", title: "revert: \u56DE\u6EDA\u5230\u4E0A\u4E00\u4E2A\u7248\u672C" }
19
- ];
20
- var scopes = [
21
- ["projects", "\u9879\u76EE\u642D\u5EFA"],
22
- ["components", "\u7EC4\u4EF6\u76F8\u5173"],
23
- ["hooks", "hook \u76F8\u5173"],
24
- ["utils", "utils \u76F8\u5173"],
25
- ["types", "ts\u7C7B\u578B\u76F8\u5173"],
26
- ["styles", "\u6837\u5F0F\u76F8\u5173"],
27
- ["deps", "\u9879\u76EE\u4F9D\u8D56"],
28
- ["auth", "\u5BF9 auth \u4FEE\u6539"],
29
- ["other", "\u5176\u4ED6\u4FEE\u6539"]
30
- ].map(([value, description]) => {
31
- return {
32
- value,
33
- title: `${value.padEnd(30)} (${description})`
34
- };
35
- });
36
-
37
- // src/commit.ts
38
- async function init() {
39
- const result = await promptos([
40
- {
41
- name: "types",
42
- type: "select",
43
- message: "\u8BF7\u9009\u62E9\u63D0\u4EA4\u7684\u7C7B\u578B",
44
- choices: types
45
- },
46
- {
47
- name: "scopes",
48
- type: "select",
49
- message: "\u9009\u62E9\u4E00\u4E2Ascope",
50
- choices: scopes
51
- },
52
- {
53
- name: "description",
54
- type: "text",
55
- message: "\u8BF7\u8F93\u5165\u63D0\u4EA4\u63CF\u8FF0"
56
- }
57
- ]);
58
- const commitMsg = `${result.types}(${result.scopes}): ${result.description}`;
59
- await execa("git", ["commit", "-m", commitMsg]);
60
- }
61
- init();
package/dist/scope.json DELETED
@@ -1 +0,0 @@
1
- { "scope": "" }
@@ -1,46 +0,0 @@
1
- // src/verify-commit.ts
2
- var import_fs = require("fs");
3
- var import_kolorist = require("kolorist");
4
-
5
- // src/config.ts
6
- var types = [
7
- { value: "init", title: "init: \u9879\u76EE\u521D\u59CB\u5316" },
8
- { value: "feat", title: "feat: \u6DFB\u52A0\u65B0\u7279\u6027" },
9
- { value: "fix", title: "fix: \u4FEE\u590Dbug" },
10
- { value: "docs", title: "docs: \u4EC5\u4EC5\u4FEE\u6539\u6587\u6863" },
11
- { value: "style", title: "style: \u4EC5\u4EC5\u4FEE\u6539\u4E86\u7A7A\u683C\u3001\u683C\u5F0F\u7F29\u8FDB\u3001\u9017\u53F7\u7B49\u7B49\uFF0C\u4E0D\u6539\u53D8\u4EE3\u7801\u903B\u8F91" },
12
- { value: "refactor", title: "refactor: \u4EE3\u7801\u91CD\u6784\uFF0C\u6CA1\u6709\u52A0\u65B0\u529F\u80FD\u6216\u8005\u4FEE\u590Dbug" },
13
- { value: "perf", title: "perf: \u4F18\u5316\u76F8\u5173\uFF0C\u6BD4\u5982\u63D0\u5347\u6027\u80FD\u3001\u4F53\u9A8C" },
14
- { value: "test", title: "test: \u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B" },
15
- { value: "build", title: "build: \u4F9D\u8D56\u76F8\u5173\u7684\u5185\u5BB9" },
16
- { value: "ci", title: "ci: CI\u914D\u7F6E\u76F8\u5173\uFF0C\u4F8B\u5982\u5BF9k8s\uFF0Cdocker\u7684\u914D\u7F6E\u6587\u4EF6\u7684\u4FEE\u6539" },
17
- { value: "chore", title: "chore: \u6539\u53D8\u6784\u5EFA\u6D41\u7A0B\u3001\u6216\u8005\u589E\u52A0\u4F9D\u8D56\u5E93\u3001\u5DE5\u5177\u7B49" },
18
- { value: "revert", title: "revert: \u56DE\u6EDA\u5230\u4E0A\u4E00\u4E2A\u7248\u672C" }
19
- ];
20
- var scopes = [
21
- ["projects", "\u9879\u76EE\u642D\u5EFA"],
22
- ["components", "\u7EC4\u4EF6\u76F8\u5173"],
23
- ["hooks", "hook \u76F8\u5173"],
24
- ["utils", "utils \u76F8\u5173"],
25
- ["types", "ts\u7C7B\u578B\u76F8\u5173"],
26
- ["styles", "\u6837\u5F0F\u76F8\u5173"],
27
- ["deps", "\u9879\u76EE\u4F9D\u8D56"],
28
- ["auth", "\u5BF9 auth \u4FEE\u6539"],
29
- ["other", "\u5176\u4ED6\u4FEE\u6539"]
30
- ].map(([value, description]) => {
31
- return {
32
- value,
33
- title: `${value.padEnd(30)} (${description})`
34
- };
35
- });
36
-
37
- // src/verify-commit.ts
38
- var gitMsgPath = "./.git/COMMIT_EDITMSG";
39
- var commitMsg = (0, import_fs.readFileSync)(gitMsgPath, "utf-8").trim();
40
- var RELEASE_MSG = "chore: release";
41
- var REG_EXP = new RegExp(
42
- `(${types.map((item) => item.value).join("|")})\\((${scopes.map((item) => item.value).join("|")})\\):\\s.{1,50}`
43
- );
44
- if (!REG_EXP.test(commitMsg) && !commitMsg.includes(RELEASE_MSG)) {
45
- throw new Error((0, import_kolorist.red)("\u63D0\u4EA4\u4FE1\u606F\u4E0D\u7B26\u5408 Angular \u89C4\u8303"));
46
- }
@@ -1,46 +0,0 @@
1
- // src/verify-commit.ts
2
- import { readFileSync } from "fs";
3
- import { red } from "kolorist";
4
-
5
- // src/config.ts
6
- var types = [
7
- { value: "init", title: "init: \u9879\u76EE\u521D\u59CB\u5316" },
8
- { value: "feat", title: "feat: \u6DFB\u52A0\u65B0\u7279\u6027" },
9
- { value: "fix", title: "fix: \u4FEE\u590Dbug" },
10
- { value: "docs", title: "docs: \u4EC5\u4EC5\u4FEE\u6539\u6587\u6863" },
11
- { value: "style", title: "style: \u4EC5\u4EC5\u4FEE\u6539\u4E86\u7A7A\u683C\u3001\u683C\u5F0F\u7F29\u8FDB\u3001\u9017\u53F7\u7B49\u7B49\uFF0C\u4E0D\u6539\u53D8\u4EE3\u7801\u903B\u8F91" },
12
- { value: "refactor", title: "refactor: \u4EE3\u7801\u91CD\u6784\uFF0C\u6CA1\u6709\u52A0\u65B0\u529F\u80FD\u6216\u8005\u4FEE\u590Dbug" },
13
- { value: "perf", title: "perf: \u4F18\u5316\u76F8\u5173\uFF0C\u6BD4\u5982\u63D0\u5347\u6027\u80FD\u3001\u4F53\u9A8C" },
14
- { value: "test", title: "test: \u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B" },
15
- { value: "build", title: "build: \u4F9D\u8D56\u76F8\u5173\u7684\u5185\u5BB9" },
16
- { value: "ci", title: "ci: CI\u914D\u7F6E\u76F8\u5173\uFF0C\u4F8B\u5982\u5BF9k8s\uFF0Cdocker\u7684\u914D\u7F6E\u6587\u4EF6\u7684\u4FEE\u6539" },
17
- { value: "chore", title: "chore: \u6539\u53D8\u6784\u5EFA\u6D41\u7A0B\u3001\u6216\u8005\u589E\u52A0\u4F9D\u8D56\u5E93\u3001\u5DE5\u5177\u7B49" },
18
- { value: "revert", title: "revert: \u56DE\u6EDA\u5230\u4E0A\u4E00\u4E2A\u7248\u672C" }
19
- ];
20
- var scopes = [
21
- ["projects", "\u9879\u76EE\u642D\u5EFA"],
22
- ["components", "\u7EC4\u4EF6\u76F8\u5173"],
23
- ["hooks", "hook \u76F8\u5173"],
24
- ["utils", "utils \u76F8\u5173"],
25
- ["types", "ts\u7C7B\u578B\u76F8\u5173"],
26
- ["styles", "\u6837\u5F0F\u76F8\u5173"],
27
- ["deps", "\u9879\u76EE\u4F9D\u8D56"],
28
- ["auth", "\u5BF9 auth \u4FEE\u6539"],
29
- ["other", "\u5176\u4ED6\u4FEE\u6539"]
30
- ].map(([value, description]) => {
31
- return {
32
- value,
33
- title: `${value.padEnd(30)} (${description})`
34
- };
35
- });
36
-
37
- // src/verify-commit.ts
38
- var gitMsgPath = "./.git/COMMIT_EDITMSG";
39
- var commitMsg = readFileSync(gitMsgPath, "utf-8").trim();
40
- var RELEASE_MSG = "chore: release";
41
- var REG_EXP = new RegExp(
42
- `(${types.map((item) => item.value).join("|")})\\((${scopes.map((item) => item.value).join("|")})\\):\\s.{1,50}`
43
- );
44
- if (!REG_EXP.test(commitMsg) && !commitMsg.includes(RELEASE_MSG)) {
45
- throw new Error(red("\u63D0\u4EA4\u4FE1\u606F\u4E0D\u7B26\u5408 Angular \u89C4\u8303"));
46
- }