xrelease
Version:
xrelease (pronounced cross-release) helps you setup automated releases for your project for any language
39 lines (38 loc) • 927 B
TypeScript
export interface InitOptions {
yes?: boolean;
language?: string;
configPath?: string;
installationDir?: string;
}
export interface ComponentConfig {
workflow: boolean;
changelog: boolean;
hooks: boolean;
language?: string;
}
export interface GitHookConfig {
name: string;
command: string;
}
export interface TemplateConfig {
source: string;
destination: string;
transform?: (content: string) => string;
}
export declare class ToolkitError extends Error {
constructor(message: string);
}
export declare class ValidationError extends ToolkitError {
constructor(message: string);
}
export declare class ConfigurationError extends ToolkitError {
constructor(message: string);
}
export interface AddOptions {
component: 'workflow' | 'changelog' | 'hooks';
}
export interface TemplateOptions {
projectName?: string;
owner?: string;
registry?: string;
}