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

@semantic-release-plus/core

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-release-plus/core - npm Package Compare versions

Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5

7

package.json
{
"name": "@semantic-release-plus/core",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"description": "semantic-release-plus core interfaces and functionality",

@@ -23,4 +23,7 @@ "private": false,

},
"dependencies": {
"tslib": "^2.3.0"
},
"main": "./src/index.js",
"typings": "./src/index.d.ts"
"type": "commonjs"
}

@@ -1,2 +0,2 @@

export { Context, Logger, Release, Options, Plugin } from './lib/interfaces';
export { BranchType } from './lib/enums';
export * from './lib/interfaces';
export * from './lib/enums';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BranchType = void 0;
var enums_1 = require("./lib/enums");
Object.defineProperty(exports, "BranchType", { enumerable: true, get: function () { return enums_1.BranchType; } });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./lib/interfaces"), exports);
tslib_1.__exportStar(require("./lib/enums"), exports);
//# sourceMappingURL=index.js.map

@@ -9,3 +9,3 @@ "use strict";

BranchType["Maintenance"] = "maintenance";
})(BranchType = exports.BranchType || (exports.BranchType = {}));
})(BranchType || (exports.BranchType = BranchType = {}));
var CommitType;

@@ -20,3 +20,3 @@ (function (CommitType) {

CommitType["PreRelease"] = "prerelease";
})(CommitType = exports.CommitType || (exports.CommitType = {}));
})(CommitType || (exports.CommitType = CommitType = {}));
//# sourceMappingURL=enums.js.map
/// <reference types="node" />
import { BranchType } from '../enums';
export interface CommonContext {
stdout: NodeJS.WriteStream;
stderr: NodeJS.WriteStream;
logger: Logger;
gitNotesRef?: string;
}
export interface VerifyConditionsContext extends CommonContext {
cwd: string;
env: NodeJS.ProcessEnv;
envCi: {
isCi: boolean;
commit: string;
branch: string;
[key: string]: unknown;
};
options: Options;
branch: Branch;
branches: Branch[];
}
export interface AnalyzeCommitsContext extends VerifyConditionsContext {
commits: Commit[];
releases: Release[];
lastRelease: Release;
}
export interface VerifyReleaseContext extends AnalyzeCommitsContext {
nextRelease: Release;
}
export type GenerateNotesContext = VerifyReleaseContext;
export type PrepareContext = GenerateNotesContext;
export type PublishContext = PrepareContext;
export type SuccessContext = PublishContext;
export interface FailContext extends PublishContext {
errors: Error[];
}
export type AnyLifecycleContext = VerifyConditionsContext | AnalyzeCommitsContext | VerifyReleaseContext | GenerateNotesContext | PrepareContext | PublishContext | SuccessContext | FailContext;
export interface Context {

@@ -19,3 +54,3 @@ branch: Branch;

}
export interface Options {
interface Options {
tagFormat?: string;

@@ -38,9 +73,9 @@ repositoryUrl?: string;

}
export interface Logger {
log?: (message: string) => void;
error?: (message: string) => void;
warn?: (message: string) => void;
success?: (message: string) => void;
interface Logger {
log: (message: string) => void;
error: (message: string) => void;
warn: (message: string) => void;
success: (message: string) => void;
}
export interface Branch {
interface Branch {
name: string;

@@ -55,3 +90,3 @@ channel?: string;

}
export interface Tag {
interface Tag {
version: string;

@@ -63,3 +98,3 @@ channel: string;

}
export interface Commit {
interface Commit {
commit: {

@@ -90,1 +125,2 @@ long: string;

}
export {};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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