@reelout/core 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/HookDispatcher-Di79rwtu.js +236 -0
- package/dist/HookDispatcher-Di79rwtu.js.map +1 -0
- package/dist/analyzer.js +12 -3
- package/dist/analyzer.js.map +1 -1
- package/dist/buildChangelog-Cxm9_lq2.js +187 -0
- package/dist/buildChangelog-Cxm9_lq2.js.map +1 -0
- package/dist/buildReleaseNotes-S6HcEQnE.js +141 -0
- package/dist/buildReleaseNotes-S6HcEQnE.js.map +1 -0
- package/dist/builder.js +14 -6
- package/dist/builder.js.map +1 -1
- package/dist/changelog.js +17 -6
- package/dist/changelog.js.map +1 -1
- package/dist/index.js +1201 -8
- package/dist/index.js.map +1 -1
- package/dist/package-Bczytil1.js +884 -0
- package/dist/package-Bczytil1.js.map +1 -0
- package/dist/propagateDependencyUpdates-QWn0H1qa.js +306 -0
- package/dist/propagateDependencyUpdates-QWn0H1qa.js.map +1 -0
- package/dist/readPackageHistory-CN5nqMcE.js +133 -0
- package/dist/readPackageHistory-CN5nqMcE.js.map +1 -0
- package/dist/resolvePackageTag-cwqG1GGt.js +30 -0
- package/dist/resolvePackageTag-cwqG1GGt.js.map +1 -0
- package/dist/types.js +0 -1
- package/package.json +15 -3
- package/src/analyzer.ts +7 -2
- package/src/builder.ts +12 -3
- package/src/changelog.ts +17 -6
- package/src/config/resolvePlugin.ts +1 -1
- package/src/git/commit/getParsedGitCommit.ts +4 -1
- package/src/git/commit/parseGitCommit.ts +27 -2
- package/src/git/commit/parseGitPrettyFormat.ts +4 -1
- package/src/git/history/expandGitHistory.ts +17 -3
- package/src/git/history/readParsedGitHistory.ts +8 -2
- package/src/git/repository/isGitShallowRepository.ts +2 -1
- package/src/git/tag/ensureGitTag.ts +35 -3
- package/src/plugin/createHostReleasePlugin.ts +255 -0
- package/src/plugin/index.ts +1 -0
- package/src/util/execCommand.ts +9 -0
- package/src/util/formatFile.ts +12 -3
- package/src/util/interpolate.ts +5 -3
- package/src/workflow/analysis/propagateDependencyUpdates.ts +1 -0
- package/src/workflow/changelog/buildChangelog.ts +27 -4
- package/src/workflow/changelog/buildReleaseNotes.ts +1 -1
- package/src/workflow/changelog/index.ts +0 -1
- package/src/workflow/changelog/prependChangelog.ts +5 -2
- package/src/workflow/changelog/writeChangelog.ts +5 -2
- package/src/workflow/commit/generateReleaseCommitMessage.ts +1 -1
- package/src/workflow/discovery/discoverPackageTag.ts +5 -2
- package/src/workflow/discovery/resolvePackageStableTag.ts +12 -7
- package/src/workflow/discovery/resolvePackageTag.ts +5 -2
- package/src/workflow/discovery/sortPackages.ts +5 -4
- package/src/workflow/discovery/verifyPackageTag.ts +6 -3
- package/src/workflow/report/printReleaseReport.ts +6 -1
- package/src/workflow/version/bumpVersion.ts +0 -1
- package/src/workflow/version/index.ts +0 -1
- package/dist/formatError-BMsun8Wi.js +0 -22
- package/dist/formatError-BMsun8Wi.js.map +0 -1
- package/dist/types-la_KkjCS.js +0 -1
- package/dist/workflow-WWJphdYg.js +0 -2936
- package/dist/workflow-WWJphdYg.js.map +0 -1
- package/src/workflow/changelog/extractPreviousVersion.ts +0 -77
- package/src/workflow/version/promotePrereleaseVersions.ts +0 -51
|
@@ -74,7 +74,12 @@ export function printReleaseReport(
|
|
|
74
74
|
|
|
75
75
|
version = ` ${version} `
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
// `Release.type` is non-optional on the type level, but report data built
|
|
78
|
+
// by hooks and tests can reach this view without a derived type, so the
|
|
79
|
+
// guard keeps the report readable instead of printing "undefined".
|
|
80
|
+
const type = plan.release.type
|
|
81
|
+
? colors.gray(` ${plan.release.type} `)
|
|
82
|
+
: undefined
|
|
78
83
|
|
|
79
84
|
const summary = [
|
|
80
85
|
name,
|
|
@@ -7,7 +7,6 @@ import { extractVersionQualifier } from './extractVersionQualifier'
|
|
|
7
7
|
|
|
8
8
|
export interface BumpVersionOptions {
|
|
9
9
|
version: string
|
|
10
|
-
private?: boolean | undefined
|
|
11
10
|
release: ReleaseType | null | undefined
|
|
12
11
|
identifier?: string | null | undefined
|
|
13
12
|
transition?: VersionTransition | null | undefined
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// src/util/formatError.ts
|
|
2
|
-
/**
|
|
3
|
-
* Normalize an unknown thrown value for logging or display.
|
|
4
|
-
*
|
|
5
|
-
* - If `err` is an `Error`, returns its `message` string.
|
|
6
|
-
* - Otherwise returns the original `err` value unchanged (may be a string,
|
|
7
|
-
* object, number, `null`, or `undefined`).
|
|
8
|
-
*
|
|
9
|
-
* This function intentionally does not coerce non-Error values to strings so
|
|
10
|
-
* callers can decide how to render structured values.
|
|
11
|
-
*
|
|
12
|
-
* @param err The thrown value to normalize
|
|
13
|
-
* @returns The error message when `err` is an `Error`, otherwise the original value
|
|
14
|
-
*/
|
|
15
|
-
function formatError(err) {
|
|
16
|
-
if (Error.isError(err)) return err.message;
|
|
17
|
-
if (typeof err === "string") return err;
|
|
18
|
-
return err;
|
|
19
|
-
}
|
|
20
|
-
export { formatError as t };
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=formatError-BMsun8Wi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatError-BMsun8Wi.js","names":[],"sources":["../src/util/formatError.ts"],"sourcesContent":["// SPDX-License-Identifier: MIT\n// Copyright (c) 2026 Fai\n\n/**\n * Normalize an unknown thrown value for logging or display.\n *\n * - If `err` is an `Error`, returns its `message` string.\n * - Otherwise returns the original `err` value unchanged (may be a string,\n * object, number, `null`, or `undefined`).\n *\n * This function intentionally does not coerce non-Error values to strings so\n * callers can decide how to render structured values.\n *\n * @param err The thrown value to normalize\n * @returns The error message when `err` is an `Error`, otherwise the original value\n */\nexport function formatError<T>(err: T): T | string {\n if (Error.isError(err)) return err.message\n if (typeof err === 'string') return err\n return err\n}\n"],"mappings":";;;;;;;;;;;;;;AAgBA,SAAgB,YAAe,KAAoB;CACjD,IAAI,MAAM,QAAQ,GAAG,GAAG,OAAO,IAAI;CACnC,IAAI,OAAO,QAAQ,UAAU,OAAO;CACpC,OAAO;AACT"}
|
package/dist/types-la_KkjCS.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|