Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@maggioli-rd/sr-codeowners-plugin

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maggioli-rd/sr-codeowners-plugin - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [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)
### Features
* add codeownersPath config ([01e7c4f](https://gitlab.com/maggiolispa/ricerca-sviluppo/semantic-release-shareable-configurations/sr-codeowners-plugin/commit/01e7c4f2ff32e44fca777ce32a568aa56c470adf))
## [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)

@@ -2,0 +9,0 @@

1

dist/types.d.ts
export type PluginConfig = {
excludeRegex: string;
codeownersPath: string;
limit: number;
leaderboard: boolean;
};

3

dist/utils.js
const DEFAULT_CONFIG = {
excludeRegex: "",
codeownersPath: ".gitlab/CODEOWNERS",
limit: 3,
leaderboard: true,
leaderboard: true
};

@@ -6,0 +7,0 @@ export const getConfig = (config) => {

@@ -5,6 +5,9 @@ import SemanticReleaseError from "@semantic-release/error";

export const verifyConditions = async (pluginConfig, { logger }) => {
const { excludeRegex, limit, leaderboard } = getConfig(pluginConfig);
const { excludeRegex, codeownersPath, limit, leaderboard } = getConfig(pluginConfig);
if (limit < 0) {
throw new SemanticReleaseError("limit plugin config must be a positive integer");
}
if (codeownersPath.length == 0 || codeownersPath == "") {
throw new SemanticReleaseError("codeownersPath plugin config must be a non-empty string");
}
await verifyCommand("which", ["git", "touch", "sed", "grep", "head"]);

@@ -11,0 +14,0 @@ };

{
"name": "@maggioli-rd/sr-codeowners-plugin",
"version": "1.1.1",
"version": "1.2.0",
"description": "Maggioli Semantic Release Plugin: Codeowners",

@@ -5,0 +5,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc