@json-schema-tools/semantic-release-transpiler
Version:
Semantic release plugin to generate typings using the transpiler
20 lines (19 loc) • 466 B
TypeScript
interface PluginConfig {
outpath: string;
schemaLocation: string;
languages?: {
ts?: boolean;
go?: boolean;
rs?: boolean;
py?: boolean;
};
}
interface Context {
nextRelease?: {
version?: string;
};
}
type PluginFunction = (pluginConfig: PluginConfig, context: Context) => Promise<boolean>;
export declare const verifyConditions: PluginFunction;
export declare const prepare: PluginFunction;
export {};