@packtory/cli 0.0.85 → 0.0.86
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.
|
@@ -1,4 +1,36 @@
|
|
|
1
1
|
import { z } from 'zod/mini';
|
|
2
|
+
type GitHubActionsCiConfig = {
|
|
3
|
+
readonly deleteActionRequiredPullRequestRuns: boolean;
|
|
4
|
+
readonly requiredStatusContexts: readonly string[];
|
|
5
|
+
readonly workflowFile: string;
|
|
6
|
+
};
|
|
7
|
+
export type ReleasePullRequestConfig = {
|
|
8
|
+
readonly automationAuthor: string;
|
|
9
|
+
readonly body: string;
|
|
10
|
+
readonly branch: string;
|
|
11
|
+
readonly commitSubject: string;
|
|
12
|
+
readonly defaultBranch: string;
|
|
13
|
+
readonly githubActionsCi: GitHubActionsCiConfig | undefined;
|
|
14
|
+
readonly label: string;
|
|
15
|
+
readonly title: string;
|
|
16
|
+
};
|
|
17
|
+
declare const releasePullRequestConfigContainerSchema: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
18
|
+
releasePullRequest: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
19
|
+
automationAuthor: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
20
|
+
body: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
21
|
+
branch: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
22
|
+
commitSubject: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
23
|
+
defaultBranch: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
24
|
+
githubActionsCi: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
25
|
+
trigger: z.ZodMiniLiteral<"workflow-dispatch">;
|
|
26
|
+
workflowFile: z.ZodMiniString<string>;
|
|
27
|
+
requiredStatusContexts: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniString<string>], z.ZodMiniString<string>>>;
|
|
28
|
+
deleteActionRequiredPullRequestRuns: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
29
|
+
}, z.core.$strict>>>;
|
|
30
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
31
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
32
|
+
}, z.core.$strict>>>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
2
34
|
declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.ZodMiniIntersection<z.ZodMiniObject<{
|
|
3
35
|
registrySettings: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
4
36
|
registryUrl: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -173,7 +205,7 @@ declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.
|
|
|
173
205
|
version: z.ZodMiniString<string>;
|
|
174
206
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
175
207
|
automatic: z.ZodMiniLiteral<false>;
|
|
176
|
-
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.
|
|
208
|
+
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.js").VersionProvider, import("packtory/config/manual-versioning-settings.js").VersionProvider>;
|
|
177
209
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
178
210
|
automatic: z.ZodMiniLiteral<false>;
|
|
179
211
|
source: z.ZodMiniLiteral<"pull-request-labels">;
|
|
@@ -284,7 +316,7 @@ declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.
|
|
|
284
316
|
version: z.ZodMiniString<string>;
|
|
285
317
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
286
318
|
automatic: z.ZodMiniLiteral<false>;
|
|
287
|
-
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.
|
|
319
|
+
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.js").VersionProvider, import("packtory/config/manual-versioning-settings.js").VersionProvider>;
|
|
288
320
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
289
321
|
automatic: z.ZodMiniLiteral<false>;
|
|
290
322
|
source: z.ZodMiniLiteral<"pull-request-labels">;
|
|
@@ -525,7 +557,7 @@ declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.
|
|
|
525
557
|
version: z.ZodMiniString<string>;
|
|
526
558
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
527
559
|
automatic: z.ZodMiniLiteral<false>;
|
|
528
|
-
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.
|
|
560
|
+
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.js").VersionProvider, import("packtory/config/manual-versioning-settings.js").VersionProvider>;
|
|
529
561
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
530
562
|
automatic: z.ZodMiniLiteral<false>;
|
|
531
563
|
source: z.ZodMiniLiteral<"pull-request-labels">;
|
|
@@ -636,7 +668,7 @@ declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.
|
|
|
636
668
|
version: z.ZodMiniString<string>;
|
|
637
669
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
638
670
|
automatic: z.ZodMiniLiteral<false>;
|
|
639
|
-
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.
|
|
671
|
+
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.js").VersionProvider, import("packtory/config/manual-versioning-settings.js").VersionProvider>;
|
|
640
672
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
641
673
|
automatic: z.ZodMiniLiteral<false>;
|
|
642
674
|
source: z.ZodMiniLiteral<"pull-request-labels">;
|
|
@@ -877,7 +909,7 @@ declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.
|
|
|
877
909
|
version: z.ZodMiniString<string>;
|
|
878
910
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
879
911
|
automatic: z.ZodMiniLiteral<false>;
|
|
880
|
-
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.
|
|
912
|
+
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.js").VersionProvider, import("packtory/config/manual-versioning-settings.js").VersionProvider>;
|
|
881
913
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
882
914
|
automatic: z.ZodMiniLiteral<false>;
|
|
883
915
|
source: z.ZodMiniLiteral<"pull-request-labels">;
|
|
@@ -988,7 +1020,7 @@ declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.
|
|
|
988
1020
|
version: z.ZodMiniString<string>;
|
|
989
1021
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
990
1022
|
automatic: z.ZodMiniLiteral<false>;
|
|
991
|
-
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.
|
|
1023
|
+
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.js").VersionProvider, import("packtory/config/manual-versioning-settings.js").VersionProvider>;
|
|
992
1024
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
993
1025
|
automatic: z.ZodMiniLiteral<false>;
|
|
994
1026
|
source: z.ZodMiniLiteral<"pull-request-labels">;
|
|
@@ -1229,7 +1261,7 @@ declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.
|
|
|
1229
1261
|
version: z.ZodMiniString<string>;
|
|
1230
1262
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
1231
1263
|
automatic: z.ZodMiniLiteral<false>;
|
|
1232
|
-
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.
|
|
1264
|
+
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.js").VersionProvider, import("packtory/config/manual-versioning-settings.js").VersionProvider>;
|
|
1233
1265
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
1234
1266
|
automatic: z.ZodMiniLiteral<false>;
|
|
1235
1267
|
source: z.ZodMiniLiteral<"pull-request-labels">;
|
|
@@ -1340,7 +1372,7 @@ declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.
|
|
|
1340
1372
|
version: z.ZodMiniString<string>;
|
|
1341
1373
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
1342
1374
|
automatic: z.ZodMiniLiteral<false>;
|
|
1343
|
-
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.
|
|
1375
|
+
provideVersion: z.ZodMiniCustom<import("packtory/config/manual-versioning-settings.js").VersionProvider, import("packtory/config/manual-versioning-settings.js").VersionProvider>;
|
|
1344
1376
|
}, z.core.$strict>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
1345
1377
|
automatic: z.ZodMiniLiteral<false>;
|
|
1346
1378
|
source: z.ZodMiniLiteral<"pull-request-labels">;
|
|
@@ -1472,6 +1504,9 @@ declare const commandLineInterfacePacktoryConfigSchema: z.ZodMiniIntersection<z.
|
|
|
1472
1504
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1473
1505
|
}, z.core.$strict>>>;
|
|
1474
1506
|
}, z.core.$strip>>>;
|
|
1507
|
+
export type ReleasePullRequestConfigContainer = z.infer<typeof releasePullRequestConfigContainerSchema>;
|
|
1475
1508
|
export type CommandLineInterfacePacktoryConfig = Readonly<z.infer<typeof commandLineInterfacePacktoryConfigSchema>>;
|
|
1509
|
+
export declare function resolveReleasePullRequestConfig(config: ReleasePullRequestConfigContainer): ReleasePullRequestConfig;
|
|
1510
|
+
export declare function parseCommandLineInterfacePacktoryConfig(config: unknown): CommandLineInterfacePacktoryConfig | undefined;
|
|
1476
1511
|
export {};
|
|
1477
1512
|
//# sourceMappingURL=release-pull-request-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-pull-request-config.d.ts","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/release-pull-request-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU;
|
|
1
|
+
{"version":3,"file":"release-pull-request-config.d.ts","sourceRoot":"","sources":["../../../../../source/command-line-interface/runner/release-pull-request-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAK7B,KAAK,qBAAqB,GAAG;IACzB,QAAQ,CAAC,mCAAmC,EAAE,OAAO,CAAC;IACtD,QAAQ,CAAC,sBAAsB,EAAE,SAAS,MAAM,EAAE,CAAC;IACnD,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACnC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,eAAe,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,uCAAuC;;;;;;;;;;;;;;;;kBAE5C,CAAC;AACF,QAAA,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAG7C,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC;AACxG,MAAM,MAAM,kCAAkC,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC,CAAC;AAkCpH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,iCAAiC,GAAG,wBAAwB,CAYnH;AAED,wBAAgB,uCAAuC,CACnD,MAAM,EAAE,OAAO,GAChB,kCAAkC,GAAG,SAAS,CAGhD"}
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"cmd-ts": "0.15.0",
|
|
18
18
|
"diff": "9.0.0",
|
|
19
19
|
"open": "11.0.0",
|
|
20
|
-
"packtory": "0.0.
|
|
20
|
+
"packtory": "0.0.76",
|
|
21
21
|
"remeda": "2.39.0",
|
|
22
22
|
"semver": "7.8.5",
|
|
23
23
|
"ts-pattern": "5.9.0",
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
"node": "^24.15.0 || >=26.0.0"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./packages/command-line-interface/command-line-interface.entry-point.d.ts"
|
|
34
|
+
},
|
|
32
35
|
"./package.json": "./package.json"
|
|
33
36
|
},
|
|
34
37
|
"keywords": [
|
|
@@ -55,5 +58,5 @@
|
|
|
55
58
|
"./packages/command-line-interface/spinner-worker.entry-point.js"
|
|
56
59
|
],
|
|
57
60
|
"type": "module",
|
|
58
|
-
"version": "0.0.
|
|
61
|
+
"version": "0.0.86"
|
|
59
62
|
}
|
package/sbom.cdx.json
CHANGED
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
{
|
|
10
10
|
"type": "application",
|
|
11
11
|
"name": "packtory",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.85"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@packtory/cli",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@packtory/cli@0.0.
|
|
21
|
-
"purl": "pkg:npm/@packtory/cli@0.0.
|
|
19
|
+
"version": "0.0.86",
|
|
20
|
+
"bom-ref": "pkg:npm/@packtory/cli@0.0.86",
|
|
21
|
+
"purl": "pkg:npm/@packtory/cli@0.0.86"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
@@ -116,15 +116,15 @@
|
|
|
116
116
|
{
|
|
117
117
|
"type": "library",
|
|
118
118
|
"name": "packtory",
|
|
119
|
-
"version": "0.0.
|
|
120
|
-
"bom-ref": "pkg:npm/packtory@0.0.
|
|
119
|
+
"version": "0.0.76",
|
|
120
|
+
"bom-ref": "pkg:npm/packtory@0.0.76",
|
|
121
121
|
"scope": "required",
|
|
122
122
|
"licenses": [
|
|
123
123
|
{
|
|
124
124
|
"expression": "MIT"
|
|
125
125
|
}
|
|
126
126
|
],
|
|
127
|
-
"purl": "pkg:npm/packtory@0.0.
|
|
127
|
+
"purl": "pkg:npm/packtory@0.0.76"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"type": "library",
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"ref": "pkg:npm/@octokit/plugin-rest-endpoint-methods@18.0.0"
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
|
-
"ref": "pkg:npm/@packtory/cli@0.0.
|
|
206
|
+
"ref": "pkg:npm/@packtory/cli@0.0.86",
|
|
207
207
|
"dependsOn": [
|
|
208
208
|
"pkg:npm/@octokit/core@7.0.7",
|
|
209
209
|
"pkg:npm/@octokit/plugin-paginate-rest@15.0.0",
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
"pkg:npm/cmd-ts@0.15.0",
|
|
213
213
|
"pkg:npm/diff@9.0.0",
|
|
214
214
|
"pkg:npm/open@11.0.0",
|
|
215
|
-
"pkg:npm/packtory@0.0.
|
|
215
|
+
"pkg:npm/packtory@0.0.76",
|
|
216
216
|
"pkg:npm/remeda@2.39.0",
|
|
217
217
|
"pkg:npm/semver@7.8.5",
|
|
218
218
|
"pkg:npm/ts-pattern@5.9.0",
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"ref": "pkg:npm/open@11.0.0"
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
|
-
"ref": "pkg:npm/packtory@0.0.
|
|
236
|
+
"ref": "pkg:npm/packtory@0.0.76"
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
"ref": "pkg:npm/remeda@2.39.0"
|