UNPKG

changelog-splitter

Version:

✂️ conventional commit changelog markdown splitter 约定式提交更新日志 markdown 切割器

41 lines (40 loc) 1.71 kB
/// <reference types="node" /> declare const configFaultDefinition: { CHANGELOG_NOT_FOUND: string; PACKAGE_JSON_READ_ERROR: string; PACKAGE_JSON_PARSE_ERROR: string; }; export declare const ConfigFault: { new (code: "CHANGELOG_NOT_FOUND" | "PACKAGE_JSON_READ_ERROR" | "PACKAGE_JSON_PARSE_ERROR", message?: string | undefined): { readonly name: string; readonly code: "CHANGELOG_NOT_FOUND" | "PACKAGE_JSON_READ_ERROR" | "PACKAGE_JSON_PARSE_ERROR"; because(cause: Error): any; message: string; stack?: string | undefined; cause?: unknown; }; captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; stackTraceLimit: number; }; export type ConfigFaultInstance = InstanceType<typeof ConfigFault>; export type ConfigFaultCode = keyof typeof configFaultDefinition; declare const splitFaultDefinition: { LINK_CHANGELOG_NOT_FOUND: string; }; export declare const SplitFault: { new (code: "LINK_CHANGELOG_NOT_FOUND", message?: string | undefined): { readonly name: string; readonly code: "LINK_CHANGELOG_NOT_FOUND"; because(cause: Error): any; message: string; stack?: string | undefined; cause?: unknown; }; captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; stackTraceLimit: number; }; export type SplitFaultInstance = InstanceType<typeof SplitFault>; export type SplitFaultCode = keyof typeof splitFaultDefinition; export {};