@unconfig/changeset-config
Version:
🚀 The package offer changeset-config for @unconfig!
54 lines (48 loc) • 1.99 kB
text/typescript
import { Options } from 'prettier';
interface ChangesetsChangelogGenerateOptions {
/** Packages we want to have on changelog */
packages: string[];
/** Packages we don't want to have on changelog */
ignorePackages?: string[];
/** Project root path */
cwd: string;
/** Project changelog temp path */
projectChangelogTempPath?: string;
}
declare function changesetsChangelogGenerate(options: ChangesetsChangelogGenerateOptions): Promise<void>;
interface ChangesetsChangelogWriteOptions {
/** Project changelog path */
projectChangelogPath?: string;
/** Project changelog temp path */
projectChangelogTempPath?: string;
/** Project website changelog path */
websiteChangelogPath?: string;
/** Project root path */
cwd: string;
/** Changelog prettier config */
prettierConfig?: Options;
}
declare function changesetsChangelogWrite(options: ChangesetsChangelogWriteOptions): Promise<void>;
interface ChangesetsGenerateReleasesOptions {
/** repositry name */
repoName?: string;
/** repositry owner */
repoOwner?: string;
/** package prefix */
pkgPrefix?: string;
/** Project changelog path */
projectChangelogPath?: string;
/** Project root path */
cwd: string;
}
declare function changesetsGenerateReleases(options: ChangesetsGenerateReleasesOptions): Promise<void>;
interface ManualGeneratePrereleasesOptions {
/** Project npm registry url */
npmRegistryUrl?: string;
/** Project changesets path */
projectChangesetsPath?: string;
/** Project root path */
cwd: string;
}
declare function manualGeneratePrereleases(options: ManualGeneratePrereleasesOptions): Promise<void>;
export { type ChangesetsChangelogGenerateOptions, type ChangesetsChangelogWriteOptions, type ChangesetsGenerateReleasesOptions, type ManualGeneratePrereleasesOptions, changesetsChangelogGenerate, changesetsChangelogWrite, changesetsGenerateReleases, manualGeneratePrereleases };