@deot/dev-releaser 2.1.0 → 2.2.1

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.cjs.js CHANGED
@@ -97,7 +97,7 @@ class Release {
97
97
  ({ stdout } = await devShared.Shell.exec("git", params));
98
98
  }
99
99
  const allowTypes = ["feat", `fix`, `break change`, `style`, `perf`, `types`, `refactor`, `chore`];
100
- const rePlugin = new RegExp(`^(${allowTypes.join("|")})${workspace ? `\\(${packageFolderName}\\)` : "(\\(.+\\))?"}: .*`, "i");
100
+ const rePlugin = new RegExp(`^(${allowTypes.join("|")})${workspace ? `\\(([\\w,-]+)?${packageFolderName}([\\w,-]+)?\\)` : "(\\(.+\\))?"}: .*`, "i");
101
101
  const allCommits = stdout.split(SUFFIX);
102
102
  const commits = allCommits.filter((commit) => {
103
103
  const chunk = commit.trim();
package/dist/index.es.js CHANGED
@@ -74,7 +74,7 @@ class Release {
74
74
  ({ stdout } = await Shell.exec("git", params));
75
75
  }
76
76
  const allowTypes = ["feat", `fix`, `break change`, `style`, `perf`, `types`, `refactor`, `chore`];
77
- const rePlugin = new RegExp(`^(${allowTypes.join("|")})${workspace ? `\\(${packageFolderName}\\)` : "(\\(.+\\))?"}: .*`, "i");
77
+ const rePlugin = new RegExp(`^(${allowTypes.join("|")})${workspace ? `\\(([\\w,-]+)?${packageFolderName}([\\w,-]+)?\\)` : "(\\(.+\\))?"}: .*`, "i");
78
78
  const allCommits = stdout.split(SUFFIX);
79
79
  const commits = allCommits.filter((commit) => {
80
80
  const chunk = commit.trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deot/dev-releaser",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "main": "dist/index.es.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,13 +13,13 @@
13
13
  "access": "public"
14
14
  },
15
15
  "dependencies": {
16
- "@deot/dev-shared": "^2.1.0",
16
+ "@deot/dev-shared": "^2.2.0",
17
17
  "conventional-commits-parser": "^4.0.0",
18
18
  "chalk": "^5.3.0",
19
19
  "fs-extra": "^11.1.1",
20
20
  "inquirer": "^9.2.7",
21
21
  "inquirer-autocomplete-prompt": "^3.0.0",
22
- "semver": "^7.5.3"
22
+ "semver": "^7.5.4"
23
23
  },
24
24
  "devDependencies": {
25
25
  "cross-env": "^7.0.3"