preversion
Version:
A tiny cli helps you to publish alpha/beta versions to npm before releasing the final latest version
20 lines (19 loc) • 423 B
TypeScript
export interface PreversionOptions {
branch?: string;
message: string;
preversion?: string;
tag?: string;
}
export interface PackageJson {
name: string;
version: string;
description?: string;
publishConfig?: {
directory?: string;
};
}
export type DistTags = Partial<Record<string, string>>;
export interface StdioError extends Error {
stderr?: Buffer;
stdout?: Buffer;
}