@releasekit/release 0.7.14 → 0.7.16
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/cli.js +28 -385
- package/dist/dispatcher.js +28 -386
- package/package.json +6 -6
- package/dist/cli.d.ts +0 -6
- package/dist/dispatcher.d.ts +0 -6
- package/dist/index.d.ts +0 -98
- package/dist/index.js +0 -47347
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@releasekit/release",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.16",
|
|
4
4
|
"description": "Unified release pipeline: version, changelog, and publish in a single command",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"commander": "^14.0.3",
|
|
51
51
|
"smol-toml": "^1.6.1",
|
|
52
52
|
"zod": "^4.3.6",
|
|
53
|
-
"@releasekit/notes": "0.7.
|
|
54
|
-
"@releasekit/publish": "0.7.
|
|
55
|
-
"@releasekit/version": "0.7.
|
|
53
|
+
"@releasekit/notes": "0.7.16",
|
|
54
|
+
"@releasekit/publish": "0.7.16",
|
|
55
|
+
"@releasekit/version": "0.7.16"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@biomejs/biome": "^2.4.10",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"tsup": "^8.5.1",
|
|
63
63
|
"typescript": "^5.9.3",
|
|
64
64
|
"vitest": "^4.1.2",
|
|
65
|
-
"@releasekit/
|
|
66
|
-
"@releasekit/
|
|
65
|
+
"@releasekit/config": "0.0.0",
|
|
66
|
+
"@releasekit/core": "0.0.0"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=20"
|
package/dist/cli.d.ts
DELETED
package/dist/dispatcher.d.ts
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { PublishOutput } from '@releasekit/publish';
|
|
2
|
-
|
|
3
|
-
interface PreviewOptions {
|
|
4
|
-
config?: string;
|
|
5
|
-
projectDir: string;
|
|
6
|
-
pr?: string;
|
|
7
|
-
repo?: string;
|
|
8
|
-
dryRun: boolean;
|
|
9
|
-
prerelease?: string | boolean;
|
|
10
|
-
stable?: boolean;
|
|
11
|
-
bump?: string;
|
|
12
|
-
}
|
|
13
|
-
declare function runPreview(options: PreviewOptions): Promise<void>;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Shared types for the releasekit ecosystem.
|
|
17
|
-
*
|
|
18
|
-
* These types define the JSON contract between @releasekit/version (producer)
|
|
19
|
-
* and @releasekit/notes (consumer). Changes here affect both packages.
|
|
20
|
-
*/
|
|
21
|
-
/**
|
|
22
|
-
* A single changelog entry produced by @releasekit/version.
|
|
23
|
-
*/
|
|
24
|
-
interface VersionChangelogEntry {
|
|
25
|
-
type: string;
|
|
26
|
-
description: string;
|
|
27
|
-
issueIds?: string[];
|
|
28
|
-
scope?: string;
|
|
29
|
-
originalType?: string;
|
|
30
|
-
breaking?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Changelog data for a single package, as emitted by @releasekit/version --json.
|
|
34
|
-
*/
|
|
35
|
-
interface VersionPackageChangelog {
|
|
36
|
-
packageName: string;
|
|
37
|
-
version: string;
|
|
38
|
-
previousVersion: string | null;
|
|
39
|
-
revisionRange: string;
|
|
40
|
-
repoUrl: string | null;
|
|
41
|
-
entries: VersionChangelogEntry[];
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* The complete JSON output of @releasekit/version --json.
|
|
45
|
-
* This is the primary interchange format between version and notes.
|
|
46
|
-
*/
|
|
47
|
-
interface VersionOutput {
|
|
48
|
-
dryRun: boolean;
|
|
49
|
-
updates: VersionPackageUpdate[];
|
|
50
|
-
changelogs: VersionPackageChangelog[];
|
|
51
|
-
/**
|
|
52
|
-
* Changelog entries from commits that don't touch any specific package directory
|
|
53
|
-
* (CI, infrastructure, shared package changes). Stored separately so they can be
|
|
54
|
-
* rendered once rather than duplicated across every per-package changelog.
|
|
55
|
-
*/
|
|
56
|
-
sharedEntries?: VersionChangelogEntry[];
|
|
57
|
-
commitMessage?: string;
|
|
58
|
-
tags: string[];
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* A package update record in the version output.
|
|
62
|
-
*/
|
|
63
|
-
interface VersionPackageUpdate {
|
|
64
|
-
packageName: string;
|
|
65
|
-
newVersion: string;
|
|
66
|
-
filePath: string;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
interface ReleaseOptions {
|
|
70
|
-
config?: string;
|
|
71
|
-
dryRun: boolean;
|
|
72
|
-
bump?: string;
|
|
73
|
-
prerelease?: string | boolean;
|
|
74
|
-
sync: boolean;
|
|
75
|
-
target?: string;
|
|
76
|
-
branch?: string;
|
|
77
|
-
skipNotes: boolean;
|
|
78
|
-
skipPublish: boolean;
|
|
79
|
-
skipGit: boolean;
|
|
80
|
-
skipGithubRelease: boolean;
|
|
81
|
-
skipVerification: boolean;
|
|
82
|
-
json: boolean;
|
|
83
|
-
verbose: boolean;
|
|
84
|
-
quiet: boolean;
|
|
85
|
-
projectDir: string;
|
|
86
|
-
npmAuth?: 'auto' | 'oidc' | 'token';
|
|
87
|
-
}
|
|
88
|
-
interface ReleaseOutput {
|
|
89
|
-
versionOutput: VersionOutput;
|
|
90
|
-
notesGenerated: boolean;
|
|
91
|
-
packageNotes?: Record<string, string>;
|
|
92
|
-
releaseNotes?: Record<string, string>;
|
|
93
|
-
publishOutput?: PublishOutput;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
declare function runRelease(inputOptions: ReleaseOptions): Promise<ReleaseOutput | null>;
|
|
97
|
-
|
|
98
|
-
export { type PreviewOptions, type ReleaseOptions, type ReleaseOutput, runPreview, runRelease };
|