@maggioli-rd/sr-codeowners-plugin 1.1.0 → 1.2.0
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/CHANGELOG.md +14 -0
- package/dist/types.d.ts +1 -0
- package/dist/utils.js +2 -1
- package/dist/verifyConditions.js +4 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [1.2.0](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/compare/v1.1.1...v1.2.0) (2024-1-9)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add codeownersPath config ([01e7c4f](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/commit/01e7c4f2ff32e44fca777ce32a568aa56c470adf))
|
|
7
|
+
|
|
8
|
+
## [1.1.1](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/compare/v1.1.0...v1.1.1) (2024-01-09)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependency eslint-plugin-n from 16.6.1 to 16.6.2 ([2710e18](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/commit/2710e181ae2a668dfc9a39430045bce691ec1048))
|
|
14
|
+
|
|
1
15
|
# [1.1.0](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/compare/v1.0.5...v1.1.0) (2024-1-8)
|
|
2
16
|
|
|
3
17
|
|
package/dist/types.d.ts
CHANGED
package/dist/utils.js
CHANGED
package/dist/verifyConditions.js
CHANGED
|
@@ -2,10 +2,13 @@ import SemanticReleaseError from "@semantic-release/error";
|
|
|
2
2
|
import { execa } from "execa";
|
|
3
3
|
import { getConfig } from "./utils.js";
|
|
4
4
|
export const verifyConditions = async (pluginConfig, { logger }) => {
|
|
5
|
-
const { excludeRegex, limit, leaderboard } = getConfig(pluginConfig);
|
|
5
|
+
const { excludeRegex, codeownersPath, limit, leaderboard } = getConfig(pluginConfig);
|
|
6
6
|
if (limit < 0) {
|
|
7
7
|
throw new SemanticReleaseError("limit plugin config must be a positive integer");
|
|
8
8
|
}
|
|
9
|
+
if (codeownersPath.length == 0 || codeownersPath == "") {
|
|
10
|
+
throw new SemanticReleaseError("codeownersPath plugin config must be a non-empty string");
|
|
11
|
+
}
|
|
9
12
|
await verifyCommand("which", ["git", "touch", "sed", "grep", "head"]);
|
|
10
13
|
};
|
|
11
14
|
const verifyCommand = async (command, args) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-rd/sr-codeowners-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Maggioli Semantic Release Plugin: Codeowners",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/*"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"eslint-config-semistandard": "17.0.0",
|
|
49
49
|
"eslint-config-standard": "17.1.0",
|
|
50
50
|
"eslint-plugin-import": "2.29.1",
|
|
51
|
-
"eslint-plugin-n": "16.6.
|
|
51
|
+
"eslint-plugin-n": "16.6.2",
|
|
52
52
|
"eslint-plugin-promise": "6.1.1",
|
|
53
53
|
"semantic-release": "22.0.12",
|
|
54
54
|
"typescript": "5.3.3",
|