UNPKG

@wormhole-labs/dev-config

Version:

Shared development configuration and tooling for Wormhole Labs projects

39 lines 949 B
/** * @wormholelabs/dev-config * * Main entry point for the dev-config package * Exports configuration validators and utilities */ export interface CommitType { type: string; description: string; emoji?: string; } export declare const COMMIT_TYPES: Record<string, CommitType>; /** * Validates a commit type */ export declare function isValidCommitType(type: string): boolean; /** * Parses a conventional commit message */ export declare function parseCommitMessage(message: string): { type?: string; scope?: string; breaking?: boolean; description?: string; body?: string; footer?: string; }; /** * Formats a commit message according to conventional commits */ export declare function formatCommitMessage(params: { type: string; scope?: string; description: string; body?: string; breaking?: boolean; breakingDescription?: string; }): string; //# sourceMappingURL=index.d.ts.map