From b259d70270bd1c4358267aeff07de6aaaeddd9b9 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 5 Dec 2023 14:03:18 -0800 Subject: [PATCH] feat(types): export types exposed by Manifest for use downstream (#2147) --- src/index.ts | 4 ++++ src/manifest.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 2dbaf9bbb..5264afdb9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,7 +18,11 @@ export { ReleaserConfig, ManifestOptions, PluginType, + CandidateRelease, + CreatedRelease, } from './manifest'; +export {ReleasePullRequest} from './release-pull-request'; +export {PullRequest} from './pull-request'; export {Commit, ConventionalCommit} from './commit'; export {Strategy} from './strategy'; export {BaseStrategyOptions, BuildUpdatesOptions} from './strategies/base'; diff --git a/src/manifest.ts b/src/manifest.ts index 2083a7c3c..ef2976e77 100644 --- a/src/manifest.ts +++ b/src/manifest.ts @@ -266,7 +266,7 @@ const DEFAULT_COMMIT_SEARCH_DEPTH = 500; export const MANIFEST_PULL_REQUEST_TITLE_PATTERN = 'chore: release ${branch}'; -interface CreatedRelease extends GitHubRelease { +export interface CreatedRelease extends GitHubRelease { id: number; path: string; version: string;