@ucdjs/release-scripts 0.1.0-beta.11 → 0.1.0-beta.13
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/index.d.mts +13 -14
- package/dist/index.mjs +786 -430
- package/package.json +9 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/workspace.d.ts
|
|
1
|
+
//#region src/core/workspace.d.ts
|
|
2
2
|
interface WorkspacePackage {
|
|
3
3
|
name: string;
|
|
4
4
|
version: string;
|
|
@@ -8,8 +8,9 @@ interface WorkspacePackage {
|
|
|
8
8
|
workspaceDevDependencies: string[];
|
|
9
9
|
}
|
|
10
10
|
//#endregion
|
|
11
|
-
//#region src/types.d.ts
|
|
11
|
+
//#region src/shared/types.d.ts
|
|
12
12
|
type BumpKind = "none" | "patch" | "minor" | "major";
|
|
13
|
+
type GlobalCommitMode = false | "dependencies" | "all";
|
|
13
14
|
interface SharedOptions {
|
|
14
15
|
/**
|
|
15
16
|
* Repository identifier (e.g., "owner/repo")
|
|
@@ -26,11 +27,6 @@ interface SharedOptions {
|
|
|
26
27
|
* - string[]: specific package names
|
|
27
28
|
*/
|
|
28
29
|
packages?: true | FindWorkspacePackagesOptions | string[];
|
|
29
|
-
/**
|
|
30
|
-
* Whether to enable verbose logging
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
verbose?: boolean;
|
|
34
30
|
/**
|
|
35
31
|
* GitHub token for authentication
|
|
36
32
|
*/
|
|
@@ -72,7 +68,7 @@ interface FindWorkspacePackagesOptions {
|
|
|
72
68
|
*/
|
|
73
69
|
excludePrivate?: boolean;
|
|
74
70
|
}
|
|
75
|
-
interface
|
|
71
|
+
interface PackageRelease {
|
|
76
72
|
/**
|
|
77
73
|
* The package being updated
|
|
78
74
|
*/
|
|
@@ -111,11 +107,6 @@ interface ReleaseOptions extends SharedOptions {
|
|
|
111
107
|
*/
|
|
112
108
|
default?: string;
|
|
113
109
|
};
|
|
114
|
-
/**
|
|
115
|
-
* Whether to perform a dry run (no changes pushed or PR created)
|
|
116
|
-
* @default false
|
|
117
|
-
*/
|
|
118
|
-
dryRun?: boolean;
|
|
119
110
|
/**
|
|
120
111
|
* Whether to enable safety safeguards (e.g., checking for clean working directory)
|
|
121
112
|
* @default true
|
|
@@ -139,12 +130,20 @@ interface ReleaseOptions extends SharedOptions {
|
|
|
139
130
|
*/
|
|
140
131
|
body?: string;
|
|
141
132
|
};
|
|
133
|
+
changelog?: {
|
|
134
|
+
/**
|
|
135
|
+
* Whether to generate or update changelogs
|
|
136
|
+
* @default true
|
|
137
|
+
*/
|
|
138
|
+
enabled?: boolean;
|
|
139
|
+
};
|
|
140
|
+
globalCommitMode?: GlobalCommitMode;
|
|
142
141
|
}
|
|
143
142
|
interface ReleaseResult {
|
|
144
143
|
/**
|
|
145
144
|
* Packages that will be updated
|
|
146
145
|
*/
|
|
147
|
-
updates:
|
|
146
|
+
updates: PackageRelease[];
|
|
148
147
|
/**
|
|
149
148
|
* URL of the created or updated PR
|
|
150
149
|
*/
|