@deot/dev-releaser 2.4.0 → 2.5.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 +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
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 ? `\\(([\\w,-]+)?${packageFolderName}([\\w
|
|
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 ? `\\(([\\w,-]+)?${packageFolderName}([\\w
|
|
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.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@deot/dev-shared": "^2.
|
|
23
|
-
"conventional-commits-parser": "^
|
|
22
|
+
"@deot/dev-shared": "^2.5.0",
|
|
23
|
+
"conventional-commits-parser": "^5.0.0",
|
|
24
24
|
"chalk": "^5.3.0",
|
|
25
25
|
"fs-extra": "^11.1.1",
|
|
26
26
|
"inquirer": "^9.2.10",
|