UNPKG

preversion

Version:

A tiny cli helps you to publish alpha/beta versions to npm before releasing the final latest version

7 lines (6 loc) 403 B
import type { PackageJson, PreversionOptions } from './types.js'; export * from './types.js'; export declare const getPreversionTag: (version: string) => "alpha" | "beta" | undefined; export declare const pkg: PackageJson; export declare const getPreversion: (tag: string, version?: string) => string; export declare const preversion: ({ branch, message, preversion, tag, }: PreversionOptions) => void;