@maggioli-rd/sr-codeowners-plugin 1.2.1 → 1.2.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.2.2](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/compare/v1.2.1...v1.2.2) (2024-1-9)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * sort unique output (closes [#3](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/issues/3)) ([b1f700a](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/commit/b1f700a78f88be7d8c805f869cf10781acbea205))
7
+
1
8
  ## [1.2.1](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/compare/v1.2.0...v1.2.1) (2024-1-9)
2
9
 
3
10
 
@@ -20,8 +20,7 @@ export const verifyRelease = async (pluginConfig, { logger }) => {
20
20
  logger.log("Skip excludeRegex!");
21
21
  }
22
22
  logger.log("Set " + limit + " as limit");
23
- cmd = cmd + " head -" + limit + " |";
24
- cmd = "(rm CODEOWNERS " + codeownersPath + " || true) && " + cmd + " sed 's/.*<\\(.*\\)>/\\1/' | sed -e 's/^/* /' >> " + codeownersPath;
23
+ cmd = "(rm CODEOWNERS " + codeownersPath + " || true) && " + cmd + " sed 's/.*<\\(.*\\)>/\\1/' | sed -e 's/^/* /' | sort -u | head -" + limit + " >> " + codeownersPath;
25
24
  logger.log("Running cmd: " + cmd);
26
25
  await verifyCommand("bash", ["-c", cmd]);
27
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-rd/sr-codeowners-plugin",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Maggioli Semantic Release Plugin: Codeowners",
5
5
  "files": [
6
6
  "dist/*"
@@ -40,9 +40,9 @@
40
40
  "@types/semantic-release": "20.0.6",
41
41
  "@types/semantic-release__error": "3.0.3",
42
42
  "@types/signale": "1.4.7",
43
- "@typescript-eslint/eslint-plugin": "6.18.0",
44
- "@typescript-eslint/parser": "6.18.0",
45
- "@vitest/coverage-v8": "1.1.0",
43
+ "@typescript-eslint/eslint-plugin": "6.18.1",
44
+ "@typescript-eslint/parser": "6.18.1",
45
+ "@vitest/coverage-v8": "1.1.3",
46
46
  "eslint": "8.56.0",
47
47
  "eslint-config-prettier": "9.1.0",
48
48
  "eslint-config-semistandard": "17.0.0",
@@ -52,7 +52,7 @@
52
52
  "eslint-plugin-promise": "6.1.1",
53
53
  "semantic-release": "22.0.12",
54
54
  "typescript": "5.3.3",
55
- "vitest": "1.1.0",
55
+ "vitest": "1.1.3",
56
56
  "vitest-mock-extended": "1.3.1"
57
57
  },
58
58
  "scripts": {