@cmflow/cli 3.4.0-beta.3 → 3.4.0-beta.5

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.
Files changed (81) hide show
  1. package/dist/common-DvEL7rzl.mjs +2 -0
  2. package/dist/{common-Dm4NPnuV.mjs.map → common-DvEL7rzl.mjs.map} +1 -1
  3. package/dist/{compile-packages-C3W4j84x.mjs → compile-packages-Cd19TaUb.mjs} +2 -2
  4. package/dist/{compile-packages-C3W4j84x.mjs.map → compile-packages-Cd19TaUb.mjs.map} +1 -1
  5. package/dist/{docker-clean-tags-BM66YJe3.mjs → docker-clean-tags-C8fsKmA7.mjs} +2 -2
  6. package/dist/{docker-clean-tags-BM66YJe3.mjs.map → docker-clean-tags-C8fsKmA7.mjs.map} +1 -1
  7. package/dist/docker-nm7ubWPx.mjs +34 -0
  8. package/dist/docker-nm7ubWPx.mjs.map +1 -0
  9. package/dist/{docker-publish-DCVRkc5l.mjs → docker-publish-CwInm1oK.mjs} +2 -2
  10. package/dist/{docker-publish-DCVRkc5l.mjs.map → docker-publish-CwInm1oK.mjs.map} +1 -1
  11. package/dist/{find-packages-MKlLERHA.mjs → find-packages-CCoDSkVV.mjs} +10 -10
  12. package/dist/{find-packages-MKlLERHA.mjs.map → find-packages-CCoDSkVV.mjs.map} +1 -1
  13. package/dist/get-config-D9xSS1Lq.mjs +9 -0
  14. package/dist/{get-config-sVSMVDr6.mjs.map → get-config-D9xSS1Lq.mjs.map} +1 -1
  15. package/dist/index-MmHuVKDa.d.mts +266 -0
  16. package/dist/index.d.mts +2066 -0
  17. package/dist/index.mjs +32 -0
  18. package/dist/index.mjs.map +1 -0
  19. package/dist/{npm-DHki_SHg.mjs → npm-BKRyPuCX.mjs} +2 -2
  20. package/dist/{npm-DHki_SHg.mjs.map → npm-BKRyPuCX.mjs.map} +1 -1
  21. package/dist/rolldown-runtime-Csi-cuKc.mjs +1 -0
  22. package/dist/semantic/core/analyze-commits.d.mts +6 -0
  23. package/dist/semantic/core/analyze-commits.mjs +2 -0
  24. package/dist/semantic/core/analyze-commits.mjs.map +1 -0
  25. package/dist/semantic/core/conditional.d.mts +15 -0
  26. package/dist/semantic/core/conditional.mjs +2 -0
  27. package/dist/semantic/core/conditional.mjs.map +1 -0
  28. package/dist/semantic/core/exit.d.mts +6 -0
  29. package/dist/semantic/core/exit.mjs +2 -0
  30. package/dist/semantic/core/exit.mjs.map +1 -0
  31. package/dist/semantic/core/prepare/artifacts.d.mts +6 -0
  32. package/dist/semantic/core/prepare/artifacts.mjs +2 -0
  33. package/dist/semantic/core/prepare/artifacts.mjs.map +1 -0
  34. package/dist/semantic/core/prepare/bump-version.d.mts +6 -0
  35. package/dist/semantic/core/prepare/bump-version.mjs +2 -0
  36. package/dist/semantic/core/prepare/bump-version.mjs.map +1 -0
  37. package/dist/semantic/core/prepare/commit.d.mts +6 -0
  38. package/dist/semantic/core/prepare/commit.mjs +2 -0
  39. package/dist/semantic/core/prepare/commit.mjs.map +1 -0
  40. package/dist/semantic/core/prepare/release-info.d.mts +8 -0
  41. package/dist/semantic/core/prepare/release-info.mjs +2 -0
  42. package/dist/semantic/core/prepare/release-info.mjs.map +1 -0
  43. package/dist/semantic/core/publish-packages.d.mts +10 -0
  44. package/dist/semantic/core/publish-packages.mjs +5 -0
  45. package/dist/semantic/core/publish-packages.mjs.map +1 -0
  46. package/dist/semantic/core/push-release.d.mts +7 -0
  47. package/dist/semantic/core/push-release.mjs +2 -0
  48. package/dist/semantic/core/push-release.mjs.map +1 -0
  49. package/dist/semantic/core/run.d.mts +13 -0
  50. package/dist/semantic/core/run.mjs +2 -0
  51. package/dist/semantic/core/run.mjs.map +1 -0
  52. package/dist/semantic/core/sync-repository.d.mts +6 -0
  53. package/dist/semantic/core/sync-repository.mjs +2 -0
  54. package/dist/semantic/core/sync-repository.mjs.map +1 -0
  55. package/dist/semantic/core/verify-conditions.d.mts +6 -0
  56. package/dist/semantic/core/verify-conditions.mjs +2 -0
  57. package/dist/semantic/core/verify-conditions.mjs.map +1 -0
  58. package/dist/semantic/core/verify-release.d.mts +6 -0
  59. package/dist/semantic/core/verify-release.mjs +2 -0
  60. package/dist/semantic/core/verify-release.mjs.map +1 -0
  61. package/dist/semantic/docker/publish.d.mts +6 -0
  62. package/dist/semantic/docker/publish.mjs +2 -0
  63. package/dist/semantic/docker/publish.mjs.map +1 -0
  64. package/dist/semantic/docker/success.d.mts +6 -0
  65. package/dist/semantic/docker/success.mjs +2 -0
  66. package/dist/semantic/docker/success.mjs.map +1 -0
  67. package/dist/semver-Bgw8dAW8.mjs +2 -0
  68. package/dist/{semver-DfG5T6W4.mjs.map → semver-Bgw8dAW8.mjs.map} +1 -1
  69. package/dist/source-CHDdP5eQ.mjs +7 -0
  70. package/dist/{source-CZqdi7bj.mjs.map → source-CHDdP5eQ.mjs.map} +1 -1
  71. package/dist/{write-package-DiCHz3W9.mjs → write-package-z7IDmENp.mjs} +6 -6
  72. package/dist/{write-package-DiCHz3W9.mjs.map → write-package-z7IDmENp.mjs.map} +1 -1
  73. package/dist/{write-packages-CR0XLQhM.mjs → write-packages--jWqJCd-.mjs} +4 -4
  74. package/dist/{write-packages-CR0XLQhM.mjs.map → write-packages--jWqJCd-.mjs.map} +1 -1
  75. package/package.json +12 -5
  76. package/dist/common-Dm4NPnuV.mjs +0 -2
  77. package/dist/docker-DIPmaasN.mjs +0 -34
  78. package/dist/docker-DIPmaasN.mjs.map +0 -1
  79. package/dist/get-config-sVSMVDr6.mjs +0 -9
  80. package/dist/semver-DfG5T6W4.mjs +0 -2
  81. package/dist/source-CZqdi7bj.mjs +0 -7
@@ -0,0 +1,2066 @@
1
+ /// <reference path="operators/index.d.ts" />
2
+ /// <reference path="testing/index.d.ts" />
3
+ /// <reference types="node"/>
4
+ import { a as SemanticContext, c as getConfig, i as CmContext, l as PackageJson, n as CommandConstructor, o as CliConfig, r as ICommand, s as getCI, t as CmTask } from "./index-MmHuVKDa.mjs";
5
+ import { ChildProcess } from "child_process";
6
+ import { Readable, Stream } from "stream";
7
+ import { NextRelease, Options as Options$1 } from "semantic-release";
8
+ //#region ../../node_modules/commander/typings/index.d.ts
9
+ // Type definitions for commander
10
+ // Original definitions by: Alan Agius <https://github.com/alan-agius4>, Marcelo Dezem <https://github.com/mdezem>, vvakame <https://github.com/vvakame>, Jules Randolph <https://github.com/sveinburne>
11
+ // Using method rather than property for method-signature-style, to document method overloads separately. Allow either.
12
+ /* eslint-disable @typescript-eslint/method-signature-style */
13
+ /* eslint-disable @typescript-eslint/no-explicit-any */
14
+ // This is a trick to encourage editor to suggest the known literals while still
15
+ // allowing any BaseType value.
16
+ // References:
17
+ // - https://github.com/microsoft/TypeScript/issues/29729
18
+ // - https://github.com/sindresorhus/type-fest/blob/main/source/literal-union.d.ts
19
+ // - https://github.com/sindresorhus/type-fest/blob/main/source/primitive.d.ts
20
+ type LiteralUnion<LiteralType, BaseType extends string | number> = LiteralType | (BaseType & Record<never, never>);
21
+ declare class CommanderError extends Error {
22
+ code: string;
23
+ exitCode: number;
24
+ message: string;
25
+ nestedError?: string;
26
+ /**
27
+ * Constructs the CommanderError class
28
+ * @param exitCode - suggested exit code which could be used with process.exit
29
+ * @param code - an id string representing the error
30
+ * @param message - human-readable description of the error
31
+ */
32
+ constructor(exitCode: number, code: string, message: string);
33
+ }
34
+ interface ErrorOptions {
35
+ // optional parameter for error()
36
+ /** an id string representing the error */
37
+ code?: string;
38
+ /** suggested exit code which could be used with process.exit */
39
+ exitCode?: number;
40
+ }
41
+ declare class Argument {
42
+ description: string;
43
+ required: boolean;
44
+ variadic: boolean;
45
+ defaultValue?: any;
46
+ defaultValueDescription?: string;
47
+ argChoices?: string[];
48
+ /**
49
+ * Initialize a new command argument with the given name and description.
50
+ * The default is that the argument is required, and you can explicitly
51
+ * indicate this with <> around the name. Put [] around the name for an optional argument.
52
+ */
53
+ constructor(arg: string, description?: string);
54
+ /**
55
+ * Return argument name.
56
+ */
57
+ name(): string;
58
+ /**
59
+ * Set the default value, and optionally supply the description to be displayed in the help.
60
+ */
61
+ default(value: unknown, description?: string): this;
62
+ /**
63
+ * Set the custom handler for processing CLI command arguments into argument values.
64
+ */
65
+ argParser<T>(fn: (value: string, previous: T) => T): this;
66
+ /**
67
+ * Only allow argument value to be one of choices.
68
+ */
69
+ choices(values: readonly string[]): this;
70
+ /**
71
+ * Make argument required.
72
+ */
73
+ argRequired(): this;
74
+ /**
75
+ * Make argument optional.
76
+ */
77
+ argOptional(): this;
78
+ }
79
+ declare class Option {
80
+ flags: string;
81
+ description: string;
82
+ required: boolean; // A value must be supplied when the option is specified.
83
+ optional: boolean; // A value is optional when the option is specified.
84
+ variadic: boolean;
85
+ mandatory: boolean; // The option must have a value after parsing, which usually means it must be specified on command line.
86
+ short?: string;
87
+ long?: string;
88
+ negate: boolean;
89
+ defaultValue?: any;
90
+ defaultValueDescription?: string;
91
+ presetArg?: unknown;
92
+ envVar?: string;
93
+ parseArg?: <T>(value: string, previous: T) => T;
94
+ hidden: boolean;
95
+ argChoices?: string[];
96
+ constructor(flags: string, description?: string);
97
+ /**
98
+ * Set the default value, and optionally supply the description to be displayed in the help.
99
+ */
100
+ default(value: unknown, description?: string): this;
101
+ /**
102
+ * Preset to use when option used without option-argument, especially optional but also boolean and negated.
103
+ * The custom processing (parseArg) is called.
104
+ *
105
+ * @example
106
+ * ```ts
107
+ * new Option('--color').default('GREYSCALE').preset('RGB');
108
+ * new Option('--donate [amount]').preset('20').argParser(parseFloat);
109
+ * ```
110
+ */
111
+ preset(arg: unknown): this;
112
+ /**
113
+ * Add option name(s) that conflict with this option.
114
+ * An error will be displayed if conflicting options are found during parsing.
115
+ *
116
+ * @example
117
+ * ```ts
118
+ * new Option('--rgb').conflicts('cmyk');
119
+ * new Option('--js').conflicts(['ts', 'jsx']);
120
+ * ```
121
+ */
122
+ conflicts(names: string | string[]): this;
123
+ /**
124
+ * Specify implied option values for when this option is set and the implied options are not.
125
+ *
126
+ * The custom processing (parseArg) is not called on the implied values.
127
+ *
128
+ * @example
129
+ * program
130
+ * .addOption(new Option('--log', 'write logging information to file'))
131
+ * .addOption(new Option('--trace', 'log extra details').implies({ log: 'trace.txt' }));
132
+ */
133
+ implies(optionValues: OptionValues): this;
134
+ /**
135
+ * Set environment variable to check for option value.
136
+ *
137
+ * An environment variables is only used if when processed the current option value is
138
+ * undefined, or the source of the current value is 'default' or 'config' or 'env'.
139
+ */
140
+ env(name: string): this;
141
+ /**
142
+ * Set the custom handler for processing CLI option arguments into option values.
143
+ */
144
+ argParser<T>(fn: (value: string, previous: T) => T): this;
145
+ /**
146
+ * Whether the option is mandatory and must have a value after parsing.
147
+ */
148
+ makeOptionMandatory(mandatory?: boolean): this;
149
+ /**
150
+ * Hide option in help.
151
+ */
152
+ hideHelp(hide?: boolean): this;
153
+ /**
154
+ * Only allow option value to be one of choices.
155
+ */
156
+ choices(values: readonly string[]): this;
157
+ /**
158
+ * Return option name.
159
+ */
160
+ name(): string;
161
+ /**
162
+ * Return option name, in a camelcase format that can be used
163
+ * as a object attribute key.
164
+ */
165
+ attributeName(): string;
166
+ /**
167
+ * Return whether a boolean option.
168
+ *
169
+ * Options are one of boolean, negated, required argument, or optional argument.
170
+ */
171
+ isBoolean(): boolean;
172
+ }
173
+ declare class Help {
174
+ /** output helpWidth, long lines are wrapped to fit */
175
+ helpWidth?: number;
176
+ sortSubcommands: boolean;
177
+ sortOptions: boolean;
178
+ showGlobalOptions: boolean;
179
+ constructor();
180
+ /** Get the command term to show in the list of subcommands. */
181
+ subcommandTerm(cmd: Command): string;
182
+ /** Get the command summary to show in the list of subcommands. */
183
+ subcommandDescription(cmd: Command): string;
184
+ /** Get the option term to show in the list of options. */
185
+ optionTerm(option: Option): string;
186
+ /** Get the option description to show in the list of options. */
187
+ optionDescription(option: Option): string;
188
+ /** Get the argument term to show in the list of arguments. */
189
+ argumentTerm(argument: Argument): string;
190
+ /** Get the argument description to show in the list of arguments. */
191
+ argumentDescription(argument: Argument): string;
192
+ /** Get the command usage to be displayed at the top of the built-in help. */
193
+ commandUsage(cmd: Command): string;
194
+ /** Get the description for the command. */
195
+ commandDescription(cmd: Command): string;
196
+ /** Get an array of the visible subcommands. Includes a placeholder for the implicit help command, if there is one. */
197
+ visibleCommands(cmd: Command): Command[];
198
+ /** Get an array of the visible options. Includes a placeholder for the implicit help option, if there is one. */
199
+ visibleOptions(cmd: Command): Option[];
200
+ /** Get an array of the visible global options. (Not including help.) */
201
+ visibleGlobalOptions(cmd: Command): Option[];
202
+ /** Get an array of the arguments which have descriptions. */
203
+ visibleArguments(cmd: Command): Argument[];
204
+ /** Get the longest command term length. */
205
+ longestSubcommandTermLength(cmd: Command, helper: Help): number;
206
+ /** Get the longest option term length. */
207
+ longestOptionTermLength(cmd: Command, helper: Help): number;
208
+ /** Get the longest global option term length. */
209
+ longestGlobalOptionTermLength(cmd: Command, helper: Help): number;
210
+ /** Get the longest argument term length. */
211
+ longestArgumentTermLength(cmd: Command, helper: Help): number;
212
+ /** Calculate the pad width from the maximum term length. */
213
+ padWidth(cmd: Command, helper: Help): number;
214
+ /**
215
+ * Wrap the given string to width characters per line, with lines after the first indented.
216
+ * Do not wrap if insufficient room for wrapping (minColumnWidth), or string is manually formatted.
217
+ */
218
+ wrap(str: string, width: number, indent: number, minColumnWidth?: number): string;
219
+ /** Generate the built-in help text. */
220
+ formatHelp(cmd: Command, helper: Help): string;
221
+ }
222
+ type HelpConfiguration = Partial<Help>;
223
+ interface ParseOptions {
224
+ from: 'node' | 'electron' | 'user';
225
+ }
226
+ interface HelpContext {
227
+ // optional parameter for .help() and .outputHelp()
228
+ error: boolean;
229
+ }
230
+ interface AddHelpTextContext {
231
+ // passed to text function used with .addHelpText()
232
+ error: boolean;
233
+ command: Command;
234
+ }
235
+ interface OutputConfiguration {
236
+ writeOut?(str: string): void;
237
+ writeErr?(str: string): void;
238
+ getOutHelpWidth?(): number;
239
+ getErrHelpWidth?(): number;
240
+ outputError?(str: string, write: (str: string) => void): void;
241
+ }
242
+ type AddHelpTextPosition = 'beforeAll' | 'before' | 'after' | 'afterAll';
243
+ type HookEvent = 'preSubcommand' | 'preAction' | 'postAction';
244
+ // The source is a string so author can define their own too.
245
+ type OptionValueSource = LiteralUnion<'default' | 'config' | 'env' | 'cli' | 'implied', string> | undefined;
246
+ type OptionValues = Record<string, any>;
247
+ declare class Command {
248
+ args: string[];
249
+ processedArgs: any[];
250
+ readonly commands: readonly Command[];
251
+ readonly options: readonly Option[];
252
+ readonly registeredArguments: readonly Argument[];
253
+ parent: Command | null;
254
+ constructor(name?: string);
255
+ /**
256
+ * Set the program version to `str`.
257
+ *
258
+ * This method auto-registers the "-V, --version" flag
259
+ * which will print the version number when passed.
260
+ *
261
+ * You can optionally supply the flags and description to override the defaults.
262
+ */
263
+ version(str: string, flags?: string, description?: string): this;
264
+ /**
265
+ * Get the program version.
266
+ */
267
+ version(): string | undefined;
268
+ /**
269
+ * Define a command, implemented using an action handler.
270
+ *
271
+ * @remarks
272
+ * The command description is supplied using `.description`, not as a parameter to `.command`.
273
+ *
274
+ * @example
275
+ * ```ts
276
+ * program
277
+ * .command('clone <source> [destination]')
278
+ * .description('clone a repository into a newly created directory')
279
+ * .action((source, destination) => {
280
+ * console.log('clone command called');
281
+ * });
282
+ * ```
283
+ *
284
+ * @param nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
285
+ * @param opts - configuration options
286
+ * @returns new command
287
+ */
288
+ command(nameAndArgs: string, opts?: CommandOptions): ReturnType<this['createCommand']>;
289
+ /**
290
+ * Define a command, implemented in a separate executable file.
291
+ *
292
+ * @remarks
293
+ * The command description is supplied as the second parameter to `.command`.
294
+ *
295
+ * @example
296
+ * ```ts
297
+ * program
298
+ * .command('start <service>', 'start named service')
299
+ * .command('stop [service]', 'stop named service, or all if no name supplied');
300
+ * ```
301
+ *
302
+ * @param nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
303
+ * @param description - description of executable command
304
+ * @param opts - configuration options
305
+ * @returns `this` command for chaining
306
+ */
307
+ command(nameAndArgs: string, description: string, opts?: ExecutableCommandOptions): this;
308
+ /**
309
+ * Factory routine to create a new unattached command.
310
+ *
311
+ * See .command() for creating an attached subcommand, which uses this routine to
312
+ * create the command. You can override createCommand to customise subcommands.
313
+ */
314
+ createCommand(name?: string): Command;
315
+ /**
316
+ * Add a prepared subcommand.
317
+ *
318
+ * See .command() for creating an attached subcommand which inherits settings from its parent.
319
+ *
320
+ * @returns `this` command for chaining
321
+ */
322
+ addCommand(cmd: Command, opts?: CommandOptions): this;
323
+ /**
324
+ * Factory routine to create a new unattached argument.
325
+ *
326
+ * See .argument() for creating an attached argument, which uses this routine to
327
+ * create the argument. You can override createArgument to return a custom argument.
328
+ */
329
+ createArgument(name: string, description?: string): Argument;
330
+ /**
331
+ * Define argument syntax for command.
332
+ *
333
+ * The default is that the argument is required, and you can explicitly
334
+ * indicate this with <> around the name. Put [] around the name for an optional argument.
335
+ *
336
+ * @example
337
+ * ```
338
+ * program.argument('<input-file>');
339
+ * program.argument('[output-file]');
340
+ * ```
341
+ *
342
+ * @returns `this` command for chaining
343
+ */
344
+ argument<T>(flags: string, description: string, fn: (value: string, previous: T) => T, defaultValue?: T): this;
345
+ argument(name: string, description?: string, defaultValue?: unknown): this;
346
+ /**
347
+ * Define argument syntax for command, adding a prepared argument.
348
+ *
349
+ * @returns `this` command for chaining
350
+ */
351
+ addArgument(arg: Argument): this;
352
+ /**
353
+ * Define argument syntax for command, adding multiple at once (without descriptions).
354
+ *
355
+ * See also .argument().
356
+ *
357
+ * @example
358
+ * ```
359
+ * program.arguments('<cmd> [env]');
360
+ * ```
361
+ *
362
+ * @returns `this` command for chaining
363
+ */
364
+ arguments(names: string): this;
365
+ /**
366
+ * Customise or override default help command. By default a help command is automatically added if your command has subcommands.
367
+ *
368
+ * @example
369
+ * ```ts
370
+ * program.helpCommand('help [cmd]');
371
+ * program.helpCommand('help [cmd]', 'show help');
372
+ * program.helpCommand(false); // suppress default help command
373
+ * program.helpCommand(true); // add help command even if no subcommands
374
+ * ```
375
+ */
376
+ helpCommand(nameAndArgs: string, description?: string): this;
377
+ helpCommand(enable: boolean): this;
378
+ /**
379
+ * Add prepared custom help command.
380
+ */
381
+ addHelpCommand(cmd: Command): this;
382
+ /** @deprecated since v12, instead use helpCommand */
383
+ addHelpCommand(nameAndArgs: string, description?: string): this;
384
+ /** @deprecated since v12, instead use helpCommand */
385
+ addHelpCommand(enable?: boolean): this;
386
+ /**
387
+ * Add hook for life cycle event.
388
+ */
389
+ hook(event: HookEvent, listener: (thisCommand: Command, actionCommand: Command) => void | Promise<void>): this;
390
+ /**
391
+ * Register callback to use as replacement for calling process.exit.
392
+ */
393
+ exitOverride(callback?: (err: CommanderError) => never | void): this;
394
+ /**
395
+ * Display error message and exit (or call exitOverride).
396
+ */
397
+ error(message: string, errorOptions?: ErrorOptions): never;
398
+ /**
399
+ * You can customise the help with a subclass of Help by overriding createHelp,
400
+ * or by overriding Help properties using configureHelp().
401
+ */
402
+ createHelp(): Help;
403
+ /**
404
+ * You can customise the help by overriding Help properties using configureHelp(),
405
+ * or with a subclass of Help by overriding createHelp().
406
+ */
407
+ configureHelp(configuration: HelpConfiguration): this;
408
+ /** Get configuration */
409
+ configureHelp(): HelpConfiguration;
410
+ /**
411
+ * The default output goes to stdout and stderr. You can customise this for special
412
+ * applications. You can also customise the display of errors by overriding outputError.
413
+ *
414
+ * The configuration properties are all functions:
415
+ * ```
416
+ * // functions to change where being written, stdout and stderr
417
+ * writeOut(str)
418
+ * writeErr(str)
419
+ * // matching functions to specify width for wrapping help
420
+ * getOutHelpWidth()
421
+ * getErrHelpWidth()
422
+ * // functions based on what is being written out
423
+ * outputError(str, write) // used for displaying errors, and not used for displaying help
424
+ * ```
425
+ */
426
+ configureOutput(configuration: OutputConfiguration): this;
427
+ /** Get configuration */
428
+ configureOutput(): OutputConfiguration;
429
+ /**
430
+ * Copy settings that are useful to have in common across root command and subcommands.
431
+ *
432
+ * (Used internally when adding a command using `.command()` so subcommands inherit parent settings.)
433
+ */
434
+ copyInheritedSettings(sourceCommand: Command): this;
435
+ /**
436
+ * Display the help or a custom message after an error occurs.
437
+ */
438
+ showHelpAfterError(displayHelp?: boolean | string): this;
439
+ /**
440
+ * Display suggestion of similar commands for unknown commands, or options for unknown options.
441
+ */
442
+ showSuggestionAfterError(displaySuggestion?: boolean): this;
443
+ /**
444
+ * Register callback `fn` for the command.
445
+ *
446
+ * @example
447
+ * ```
448
+ * program
449
+ * .command('serve')
450
+ * .description('start service')
451
+ * .action(function() {
452
+ * // do work here
453
+ * });
454
+ * ```
455
+ *
456
+ * @returns `this` command for chaining
457
+ */
458
+ action(fn: (...args: any[]) => void | Promise<void>): this;
459
+ /**
460
+ * Define option with `flags`, `description`, and optional argument parsing function or `defaultValue` or both.
461
+ *
462
+ * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space. A required
463
+ * option-argument is indicated by `<>` and an optional option-argument by `[]`.
464
+ *
465
+ * See the README for more details, and see also addOption() and requiredOption().
466
+ *
467
+ * @example
468
+ *
469
+ * ```js
470
+ * program
471
+ * .option('-p, --pepper', 'add pepper')
472
+ * .option('-p, --pizza-type <TYPE>', 'type of pizza') // required option-argument
473
+ * .option('-c, --cheese [CHEESE]', 'add extra cheese', 'mozzarella') // optional option-argument with default
474
+ * .option('-t, --tip <VALUE>', 'add tip to purchase cost', parseFloat) // custom parse function
475
+ * ```
476
+ *
477
+ * @returns `this` command for chaining
478
+ */
479
+ option(flags: string, description?: string, defaultValue?: string | boolean | string[]): this;
480
+ option<T>(flags: string, description: string, parseArg: (value: string, previous: T) => T, defaultValue?: T): this;
481
+ /** @deprecated since v7, instead use choices or a custom function */
482
+ option(flags: string, description: string, regexp: RegExp, defaultValue?: string | boolean | string[]): this;
483
+ /**
484
+ * Define a required option, which must have a value after parsing. This usually means
485
+ * the option must be specified on the command line. (Otherwise the same as .option().)
486
+ *
487
+ * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space.
488
+ */
489
+ requiredOption(flags: string, description?: string, defaultValue?: string | boolean | string[]): this;
490
+ requiredOption<T>(flags: string, description: string, parseArg: (value: string, previous: T) => T, defaultValue?: T): this;
491
+ /** @deprecated since v7, instead use choices or a custom function */
492
+ requiredOption(flags: string, description: string, regexp: RegExp, defaultValue?: string | boolean | string[]): this;
493
+ /**
494
+ * Factory routine to create a new unattached option.
495
+ *
496
+ * See .option() for creating an attached option, which uses this routine to
497
+ * create the option. You can override createOption to return a custom option.
498
+ */
499
+ createOption(flags: string, description?: string): Option;
500
+ /**
501
+ * Add a prepared Option.
502
+ *
503
+ * See .option() and .requiredOption() for creating and attaching an option in a single call.
504
+ */
505
+ addOption(option: Option): this;
506
+ /**
507
+ * Whether to store option values as properties on command object,
508
+ * or store separately (specify false). In both cases the option values can be accessed using .opts().
509
+ *
510
+ * @returns `this` command for chaining
511
+ */
512
+ storeOptionsAsProperties<T extends OptionValues>(): this & T;
513
+ storeOptionsAsProperties<T extends OptionValues>(storeAsProperties: true): this & T;
514
+ storeOptionsAsProperties(storeAsProperties?: boolean): this;
515
+ /**
516
+ * Retrieve option value.
517
+ */
518
+ getOptionValue(key: string): any;
519
+ /**
520
+ * Store option value.
521
+ */
522
+ setOptionValue(key: string, value: unknown): this;
523
+ /**
524
+ * Store option value and where the value came from.
525
+ */
526
+ setOptionValueWithSource(key: string, value: unknown, source: OptionValueSource): this;
527
+ /**
528
+ * Get source of option value.
529
+ */
530
+ getOptionValueSource(key: string): OptionValueSource | undefined;
531
+ /**
532
+ * Get source of option value. See also .optsWithGlobals().
533
+ */
534
+ getOptionValueSourceWithGlobals(key: string): OptionValueSource | undefined;
535
+ /**
536
+ * Alter parsing of short flags with optional values.
537
+ *
538
+ * @example
539
+ * ```
540
+ * // for `.option('-f,--flag [value]'):
541
+ * .combineFlagAndOptionalValue(true) // `-f80` is treated like `--flag=80`, this is the default behaviour
542
+ * .combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b`
543
+ * ```
544
+ *
545
+ * @returns `this` command for chaining
546
+ */
547
+ combineFlagAndOptionalValue(combine?: boolean): this;
548
+ /**
549
+ * Allow unknown options on the command line.
550
+ *
551
+ * @returns `this` command for chaining
552
+ */
553
+ allowUnknownOption(allowUnknown?: boolean): this;
554
+ /**
555
+ * Allow excess command-arguments on the command line. Pass false to make excess arguments an error.
556
+ *
557
+ * @returns `this` command for chaining
558
+ */
559
+ allowExcessArguments(allowExcess?: boolean): this;
560
+ /**
561
+ * Enable positional options. Positional means global options are specified before subcommands which lets
562
+ * subcommands reuse the same option names, and also enables subcommands to turn on passThroughOptions.
563
+ *
564
+ * The default behaviour is non-positional and global options may appear anywhere on the command line.
565
+ *
566
+ * @returns `this` command for chaining
567
+ */
568
+ enablePositionalOptions(positional?: boolean): this;
569
+ /**
570
+ * Pass through options that come after command-arguments rather than treat them as command-options,
571
+ * so actual command-options come before command-arguments. Turning this on for a subcommand requires
572
+ * positional options to have been enabled on the program (parent commands).
573
+ *
574
+ * The default behaviour is non-positional and options may appear before or after command-arguments.
575
+ *
576
+ * @returns `this` command for chaining
577
+ */
578
+ passThroughOptions(passThrough?: boolean): this;
579
+ /**
580
+ * Parse `argv`, setting options and invoking commands when defined.
581
+ *
582
+ * Use parseAsync instead of parse if any of your action handlers are async.
583
+ *
584
+ * Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
585
+ *
586
+ * Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
587
+ * - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
588
+ * - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
589
+ * - `'user'`: just user arguments
590
+ *
591
+ * @example
592
+ * ```
593
+ * program.parse(); // parse process.argv and auto-detect electron and special node flags
594
+ * program.parse(process.argv); // assume argv[0] is app and argv[1] is script
595
+ * program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
596
+ * ```
597
+ *
598
+ * @returns `this` command for chaining
599
+ */
600
+ parse(argv?: readonly string[], parseOptions?: ParseOptions): this;
601
+ /**
602
+ * Parse `argv`, setting options and invoking commands when defined.
603
+ *
604
+ * Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
605
+ *
606
+ * Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
607
+ * - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
608
+ * - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
609
+ * - `'user'`: just user arguments
610
+ *
611
+ * @example
612
+ * ```
613
+ * await program.parseAsync(); // parse process.argv and auto-detect electron and special node flags
614
+ * await program.parseAsync(process.argv); // assume argv[0] is app and argv[1] is script
615
+ * await program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
616
+ * ```
617
+ *
618
+ * @returns Promise
619
+ */
620
+ parseAsync(argv?: readonly string[], parseOptions?: ParseOptions): Promise<this>;
621
+ /**
622
+ * Parse options from `argv` removing known options,
623
+ * and return argv split into operands and unknown arguments.
624
+ *
625
+ * argv => operands, unknown
626
+ * --known kkk op => [op], []
627
+ * op --known kkk => [op], []
628
+ * sub --unknown uuu op => [sub], [--unknown uuu op]
629
+ * sub -- --unknown uuu op => [sub --unknown uuu op], []
630
+ */
631
+ parseOptions(argv: string[]): ParseOptionsResult;
632
+ /**
633
+ * Return an object containing local option values as key-value pairs
634
+ */
635
+ opts<T extends OptionValues>(): T;
636
+ /**
637
+ * Return an object containing merged local and global option values as key-value pairs.
638
+ */
639
+ optsWithGlobals<T extends OptionValues>(): T;
640
+ /**
641
+ * Set the description.
642
+ *
643
+ * @returns `this` command for chaining
644
+ */
645
+ description(str: string): this;
646
+ /** @deprecated since v8, instead use .argument to add command argument with description */
647
+ description(str: string, argsDescription: Record<string, string>): this;
648
+ /**
649
+ * Get the description.
650
+ */
651
+ description(): string;
652
+ /**
653
+ * Set the summary. Used when listed as subcommand of parent.
654
+ *
655
+ * @returns `this` command for chaining
656
+ */
657
+ summary(str: string): this;
658
+ /**
659
+ * Get the summary.
660
+ */
661
+ summary(): string;
662
+ /**
663
+ * Set an alias for the command.
664
+ *
665
+ * You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.
666
+ *
667
+ * @returns `this` command for chaining
668
+ */
669
+ alias(alias: string): this;
670
+ /**
671
+ * Get alias for the command.
672
+ */
673
+ alias(): string;
674
+ /**
675
+ * Set aliases for the command.
676
+ *
677
+ * Only the first alias is shown in the auto-generated help.
678
+ *
679
+ * @returns `this` command for chaining
680
+ */
681
+ aliases(aliases: readonly string[]): this;
682
+ /**
683
+ * Get aliases for the command.
684
+ */
685
+ aliases(): string[];
686
+ /**
687
+ * Set the command usage.
688
+ *
689
+ * @returns `this` command for chaining
690
+ */
691
+ usage(str: string): this;
692
+ /**
693
+ * Get the command usage.
694
+ */
695
+ usage(): string;
696
+ /**
697
+ * Set the name of the command.
698
+ *
699
+ * @returns `this` command for chaining
700
+ */
701
+ name(str: string): this;
702
+ /**
703
+ * Get the name of the command.
704
+ */
705
+ name(): string;
706
+ /**
707
+ * Set the name of the command from script filename, such as process.argv[1],
708
+ * or require.main.filename, or __filename.
709
+ *
710
+ * (Used internally and public although not documented in README.)
711
+ *
712
+ * @example
713
+ * ```ts
714
+ * program.nameFromFilename(require.main.filename);
715
+ * ```
716
+ *
717
+ * @returns `this` command for chaining
718
+ */
719
+ nameFromFilename(filename: string): this;
720
+ /**
721
+ * Set the directory for searching for executable subcommands of this command.
722
+ *
723
+ * @example
724
+ * ```ts
725
+ * program.executableDir(__dirname);
726
+ * // or
727
+ * program.executableDir('subcommands');
728
+ * ```
729
+ *
730
+ * @returns `this` command for chaining
731
+ */
732
+ executableDir(path: string): this;
733
+ /**
734
+ * Get the executable search directory.
735
+ */
736
+ executableDir(): string | null;
737
+ /**
738
+ * Output help information for this command.
739
+ *
740
+ * Outputs built-in help, and custom text added using `.addHelpText()`.
741
+ *
742
+ */
743
+ outputHelp(context?: HelpContext): void;
744
+ /** @deprecated since v7 */
745
+ outputHelp(cb?: (str: string) => string): void;
746
+ /**
747
+ * Return command help documentation.
748
+ */
749
+ helpInformation(context?: HelpContext): string;
750
+ /**
751
+ * You can pass in flags and a description to override the help
752
+ * flags and help description for your command. Pass in false
753
+ * to disable the built-in help option.
754
+ */
755
+ helpOption(flags?: string | boolean, description?: string): this;
756
+ /**
757
+ * Supply your own option to use for the built-in help option.
758
+ * This is an alternative to using helpOption() to customise the flags and description etc.
759
+ */
760
+ addHelpOption(option: Option): this;
761
+ /**
762
+ * Output help information and exit.
763
+ *
764
+ * Outputs built-in help, and custom text added using `.addHelpText()`.
765
+ */
766
+ help(context?: HelpContext): never;
767
+ /** @deprecated since v7 */
768
+ help(cb?: (str: string) => string): never;
769
+ /**
770
+ * Add additional text to be displayed with the built-in help.
771
+ *
772
+ * Position is 'before' or 'after' to affect just this command,
773
+ * and 'beforeAll' or 'afterAll' to affect this command and all its subcommands.
774
+ */
775
+ addHelpText(position: AddHelpTextPosition, text: string): this;
776
+ addHelpText(position: AddHelpTextPosition, text: (context: AddHelpTextContext) => string): this;
777
+ /**
778
+ * Add a listener (callback) for when events occur. (Implemented using EventEmitter.)
779
+ */
780
+ on(event: string | symbol, listener: (...args: any[]) => void): this;
781
+ }
782
+ interface CommandOptions {
783
+ hidden?: boolean;
784
+ isDefault?: boolean;
785
+ /** @deprecated since v7, replaced by hidden */
786
+ noHelp?: boolean;
787
+ }
788
+ interface ExecutableCommandOptions extends CommandOptions {
789
+ executableFile?: string;
790
+ }
791
+ interface ParseOptionsResult {
792
+ operands: string[];
793
+ unknown: string[];
794
+ }
795
+ //#endregion
796
+ //#region src/commands/checkfeatures.d.ts
797
+ interface CheckfeaturesOpts {
798
+ verbose?: number;
799
+ }
800
+ declare class Checkfeatures implements ICommand {
801
+ mapContext(_opts: CheckfeaturesOpts, context: CmContext): CmContext;
802
+ getTasks(context: CmContext): CmTask[];
803
+ success(): void;
804
+ }
805
+ //#endregion
806
+ //#region src/commands/clean.d.ts
807
+ interface CleanOpts {
808
+ verbose?: number;
809
+ }
810
+ declare class Clean implements ICommand {
811
+ mapContext(_opts: CleanOpts, context: CmContext): CmContext;
812
+ getTasks(context: CmContext): CmTask[];
813
+ success(): void;
814
+ }
815
+ //#endregion
816
+ //#region src/commands/config.d.ts
817
+ interface ConfigOpts {
818
+ verbose?: number;
819
+ }
820
+ declare class Config implements ICommand {
821
+ mapContext(_opts: ConfigOpts, context: CmContext): CmContext;
822
+ getTasks(context: CmContext): CmTask[];
823
+ }
824
+ //#endregion
825
+ //#region src/commands/deploy.d.ts
826
+ interface DeployOpts {
827
+ target?: string;
828
+ verbose?: number;
829
+ }
830
+ declare class Deploy implements ICommand {
831
+ mapContext(commander: DeployOpts, context: CmContext): CmContext;
832
+ getTasks(context: CmContext): CmTask[];
833
+ success(): void;
834
+ }
835
+ //#endregion
836
+ //#region src/commands/fetch.d.ts
837
+ interface FetchOpts {
838
+ dryRun?: boolean;
839
+ verbose?: number;
840
+ }
841
+ declare class Fetch implements ICommand {
842
+ mapContext(_opts: FetchOpts, context: CmContext): CmContext;
843
+ getTasks(context: CmContext): CmTask[];
844
+ success(context: CmContext): void;
845
+ }
846
+ //#endregion
847
+ //#region src/commands/rebase.d.ts
848
+ interface RebaseOpts {
849
+ unitTest?: number;
850
+ cucumber?: number;
851
+ force?: number;
852
+ verbose?: number;
853
+ }
854
+ declare class Rebase extends Fetch implements ICommand {
855
+ mapContext(commander: RebaseOpts, context: CmContext): CmContext;
856
+ getTasks(context: CmContext): CmTask[];
857
+ success(context: CmContext): void;
858
+ }
859
+ //#endregion
860
+ //#region ../../node_modules/rxjs/dist/types/internal/Subscription.d.ts
861
+ /**
862
+ * Represents a disposable resource, such as the execution of an Observable. A
863
+ * Subscription has one important method, `unsubscribe`, that takes no argument
864
+ * and just disposes the resource held by the subscription.
865
+ *
866
+ * Additionally, subscriptions may be grouped together through the `add()`
867
+ * method, which will attach a child Subscription to the current Subscription.
868
+ * When a Subscription is unsubscribed, all its children (and its grandchildren)
869
+ * will be unsubscribed as well.
870
+ *
871
+ * @class Subscription
872
+ */
873
+ declare class Subscription implements SubscriptionLike {
874
+ private initialTeardown?;
875
+ /** @nocollapse */
876
+ static EMPTY: Subscription;
877
+ /**
878
+ * A flag to indicate whether this Subscription has already been unsubscribed.
879
+ */
880
+ closed: boolean;
881
+ private _parentage;
882
+ /**
883
+ * The list of registered finalizers to execute upon unsubscription. Adding and removing from this
884
+ * list occurs in the {@link #add} and {@link #remove} methods.
885
+ */
886
+ private _finalizers;
887
+ /**
888
+ * @param initialTeardown A function executed first as part of the finalization
889
+ * process that is kicked off when {@link #unsubscribe} is called.
890
+ */
891
+ constructor(initialTeardown?: (() => void) | undefined);
892
+ /**
893
+ * Disposes the resources held by the subscription. May, for instance, cancel
894
+ * an ongoing Observable execution or cancel any other type of work that
895
+ * started when the Subscription was created.
896
+ * @return {void}
897
+ */
898
+ unsubscribe(): void;
899
+ /**
900
+ * Adds a finalizer to this subscription, so that finalization will be unsubscribed/called
901
+ * when this subscription is unsubscribed. If this subscription is already {@link #closed},
902
+ * because it has already been unsubscribed, then whatever finalizer is passed to it
903
+ * will automatically be executed (unless the finalizer itself is also a closed subscription).
904
+ *
905
+ * Closed Subscriptions cannot be added as finalizers to any subscription. Adding a closed
906
+ * subscription to a any subscription will result in no operation. (A noop).
907
+ *
908
+ * Adding a subscription to itself, or adding `null` or `undefined` will not perform any
909
+ * operation at all. (A noop).
910
+ *
911
+ * `Subscription` instances that are added to this instance will automatically remove themselves
912
+ * if they are unsubscribed. Functions and {@link Unsubscribable} objects that you wish to remove
913
+ * will need to be removed manually with {@link #remove}
914
+ *
915
+ * @param teardown The finalization logic to add to this subscription.
916
+ */
917
+ add(teardown: TeardownLogic): void;
918
+ /**
919
+ * Checks to see if a this subscription already has a particular parent.
920
+ * This will signal that this subscription has already been added to the parent in question.
921
+ * @param parent the parent to check for
922
+ */
923
+ private _hasParent;
924
+ /**
925
+ * Adds a parent to this subscription so it can be removed from the parent if it
926
+ * unsubscribes on it's own.
927
+ *
928
+ * NOTE: THIS ASSUMES THAT {@link _hasParent} HAS ALREADY BEEN CHECKED.
929
+ * @param parent The parent subscription to add
930
+ */
931
+ private _addParent;
932
+ /**
933
+ * Called on a child when it is removed via {@link #remove}.
934
+ * @param parent The parent to remove
935
+ */
936
+ private _removeParent;
937
+ /**
938
+ * Removes a finalizer from this subscription that was previously added with the {@link #add} method.
939
+ *
940
+ * Note that `Subscription` instances, when unsubscribed, will automatically remove themselves
941
+ * from every other `Subscription` they have been added to. This means that using the `remove` method
942
+ * is not a common thing and should be used thoughtfully.
943
+ *
944
+ * If you add the same finalizer instance of a function or an unsubscribable object to a `Subscription` instance
945
+ * more than once, you will need to call `remove` the same number of times to remove all instances.
946
+ *
947
+ * All finalizer instances are removed to free up memory upon unsubscription.
948
+ *
949
+ * @param teardown The finalizer to remove from this subscription
950
+ */
951
+ remove(teardown: Exclude<TeardownLogic, void>): void;
952
+ }
953
+ //#endregion
954
+ //#region ../../node_modules/rxjs/dist/types/internal/types.d.ts
955
+ /**
956
+ * Note: This will add Symbol.observable globally for all TypeScript users,
957
+ * however, we are no longer polyfilling Symbol.observable
958
+ */
959
+ declare global {
960
+ interface SymbolConstructor {
961
+ readonly observable: symbol;
962
+ }
963
+ }
964
+ /**
965
+ * A function type interface that describes a function that accepts one parameter `T`
966
+ * and returns another parameter `R`.
967
+ *
968
+ * Usually used to describe {@link OperatorFunction} - it always takes a single
969
+ * parameter (the source Observable) and returns another Observable.
970
+ */
971
+ interface UnaryFunction<T, R> {
972
+ (source: T): R;
973
+ }
974
+ interface OperatorFunction<T, R> extends UnaryFunction<Observable<T>, Observable<R>> {}
975
+ interface Unsubscribable {
976
+ unsubscribe(): void;
977
+ }
978
+ declare type TeardownLogic = Subscription | Unsubscribable | (() => void) | void;
979
+ interface SubscriptionLike extends Unsubscribable {
980
+ unsubscribe(): void;
981
+ readonly closed: boolean;
982
+ }
983
+ /** OBSERVABLE INTERFACES */
984
+ interface Subscribable<T> {
985
+ subscribe(observer: Partial<Observer<T>>): Unsubscribable;
986
+ }
987
+ /**
988
+ * An object interface that defines a set of callback functions a user can use to get
989
+ * notified of any set of {@link Observable}
990
+ * {@link guide/glossary-and-semantics#notification notification} events.
991
+ *
992
+ * For more info, please refer to {@link guide/observer this guide}.
993
+ */
994
+ interface Observer<T> {
995
+ /**
996
+ * A callback function that gets called by the producer during the subscription when
997
+ * the producer "has" the `value`. It won't be called if `error` or `complete` callback
998
+ * functions have been called, nor after the consumer has unsubscribed.
999
+ *
1000
+ * For more info, please refer to {@link guide/glossary-and-semantics#next this guide}.
1001
+ */
1002
+ next: (value: T) => void;
1003
+ /**
1004
+ * A callback function that gets called by the producer if and when it encountered a
1005
+ * problem of any kind. The errored value will be provided through the `err` parameter.
1006
+ * This callback can't be called more than one time, it can't be called if the
1007
+ * `complete` callback function have been called previously, nor it can't be called if
1008
+ * the consumer has unsubscribed.
1009
+ *
1010
+ * For more info, please refer to {@link guide/glossary-and-semantics#error this guide}.
1011
+ */
1012
+ error: (err: any) => void;
1013
+ /**
1014
+ * A callback function that gets called by the producer if and when it has no more
1015
+ * values to provide (by calling `next` callback function). This means that no error
1016
+ * has happened. This callback can't be called more than one time, it can't be called
1017
+ * if the `error` callback function have been called previously, nor it can't be called
1018
+ * if the consumer has unsubscribed.
1019
+ *
1020
+ * For more info, please refer to {@link guide/glossary-and-semantics#complete this guide}.
1021
+ */
1022
+ complete: () => void;
1023
+ }
1024
+ //#endregion
1025
+ //#region ../../node_modules/rxjs/dist/types/internal/Subscriber.d.ts
1026
+ /**
1027
+ * Implements the {@link Observer} interface and extends the
1028
+ * {@link Subscription} class. While the {@link Observer} is the public API for
1029
+ * consuming the values of an {@link Observable}, all Observers get converted to
1030
+ * a Subscriber, in order to provide Subscription-like capabilities such as
1031
+ * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for
1032
+ * implementing operators, but it is rarely used as a public API.
1033
+ *
1034
+ * @class Subscriber<T>
1035
+ */
1036
+ declare class Subscriber<T> extends Subscription implements Observer<T> {
1037
+ /**
1038
+ * A static factory for a Subscriber, given a (potentially partial) definition
1039
+ * of an Observer.
1040
+ * @param next The `next` callback of an Observer.
1041
+ * @param error The `error` callback of an
1042
+ * Observer.
1043
+ * @param complete The `complete` callback of an
1044
+ * Observer.
1045
+ * @return A Subscriber wrapping the (partially defined)
1046
+ * Observer represented by the given arguments.
1047
+ * @nocollapse
1048
+ * @deprecated Do not use. Will be removed in v8. There is no replacement for this
1049
+ * method, and there is no reason to be creating instances of `Subscriber` directly.
1050
+ * If you have a specific use case, please file an issue.
1051
+ */
1052
+ static create<T>(next?: (x?: T) => void, error?: (e?: any) => void, complete?: () => void): Subscriber<T>;
1053
+ /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
1054
+ protected isStopped: boolean;
1055
+ /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
1056
+ protected destination: Subscriber<any> | Observer<any>;
1057
+ /**
1058
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
1059
+ * There is no reason to directly create an instance of Subscriber. This type is exported for typings reasons.
1060
+ */
1061
+ constructor(destination?: Subscriber<any> | Observer<any>);
1062
+ /**
1063
+ * The {@link Observer} callback to receive notifications of type `next` from
1064
+ * the Observable, with a value. The Observable may call this method 0 or more
1065
+ * times.
1066
+ * @param {T} [value] The `next` value.
1067
+ * @return {void}
1068
+ */
1069
+ next(value?: T): void;
1070
+ /**
1071
+ * The {@link Observer} callback to receive notifications of type `error` from
1072
+ * the Observable, with an attached `Error`. Notifies the Observer that
1073
+ * the Observable has experienced an error condition.
1074
+ * @param {any} [err] The `error` exception.
1075
+ * @return {void}
1076
+ */
1077
+ error(err?: any): void;
1078
+ /**
1079
+ * The {@link Observer} callback to receive a valueless notification of type
1080
+ * `complete` from the Observable. Notifies the Observer that the Observable
1081
+ * has finished sending push-based notifications.
1082
+ * @return {void}
1083
+ */
1084
+ complete(): void;
1085
+ unsubscribe(): void;
1086
+ protected _next(value: T): void;
1087
+ protected _error(err: any): void;
1088
+ protected _complete(): void;
1089
+ }
1090
+ //#endregion
1091
+ //#region ../../node_modules/rxjs/dist/types/internal/Operator.d.ts
1092
+ /***
1093
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
1094
+ */
1095
+ interface Operator<T, R> {
1096
+ call(subscriber: Subscriber<R>, source: any): TeardownLogic;
1097
+ }
1098
+ //#endregion
1099
+ //#region ../../node_modules/rxjs/dist/types/internal/Observable.d.ts
1100
+ /**
1101
+ * A representation of any set of values over any amount of time. This is the most basic building block
1102
+ * of RxJS.
1103
+ *
1104
+ * @class Observable<T>
1105
+ */
1106
+ declare class Observable<T> implements Subscribable<T> {
1107
+ /**
1108
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
1109
+ */
1110
+ source: Observable<any> | undefined;
1111
+ /**
1112
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
1113
+ */
1114
+ operator: Operator<any, T> | undefined;
1115
+ /**
1116
+ * @constructor
1117
+ * @param {Function} subscribe the function that is called when the Observable is
1118
+ * initially subscribed to. This function is given a Subscriber, to which new values
1119
+ * can be `next`ed, or an `error` method can be called to raise an error, or
1120
+ * `complete` can be called to notify of a successful completion.
1121
+ */
1122
+ constructor(subscribe?: (this: Observable<T>, subscriber: Subscriber<T>) => TeardownLogic);
1123
+ /**
1124
+ * Creates a new Observable by calling the Observable constructor
1125
+ * @owner Observable
1126
+ * @method create
1127
+ * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor
1128
+ * @return {Observable} a new observable
1129
+ * @nocollapse
1130
+ * @deprecated Use `new Observable()` instead. Will be removed in v8.
1131
+ */
1132
+ static create: (...args: any[]) => any;
1133
+ /**
1134
+ * Creates a new Observable, with this Observable instance as the source, and the passed
1135
+ * operator defined as the new observable's operator.
1136
+ * @method lift
1137
+ * @param operator the operator defining the operation to take on the observable
1138
+ * @return a new observable with the Operator applied
1139
+ * @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
1140
+ * If you have implemented an operator using `lift`, it is recommended that you create an
1141
+ * operator by simply returning `new Observable()` directly. See "Creating new operators from
1142
+ * scratch" section here: https://rxjs.dev/guide/operators
1143
+ */
1144
+ lift<R>(operator?: Operator<T, R>): Observable<R>;
1145
+ subscribe(observerOrNext?: Partial<Observer<T>> | ((value: T) => void)): Subscription;
1146
+ /** @deprecated Instead of passing separate callback arguments, use an observer argument. Signatures taking separate callback arguments will be removed in v8. Details: https://rxjs.dev/deprecations/subscribe-arguments */
1147
+ subscribe(next?: ((value: T) => void) | null, error?: ((error: any) => void) | null, complete?: (() => void) | null): Subscription;
1148
+ /**
1149
+ * Used as a NON-CANCELLABLE means of subscribing to an observable, for use with
1150
+ * APIs that expect promises, like `async/await`. You cannot unsubscribe from this.
1151
+ *
1152
+ * **WARNING**: Only use this with observables you *know* will complete. If the source
1153
+ * observable does not complete, you will end up with a promise that is hung up, and
1154
+ * potentially all of the state of an async function hanging out in memory. To avoid
1155
+ * this situation, look into adding something like {@link timeout}, {@link take},
1156
+ * {@link takeWhile}, or {@link takeUntil} amongst others.
1157
+ *
1158
+ * #### Example
1159
+ *
1160
+ * ```ts
1161
+ * import { interval, take } from 'rxjs';
1162
+ *
1163
+ * const source$ = interval(1000).pipe(take(4));
1164
+ *
1165
+ * async function getTotal() {
1166
+ * let total = 0;
1167
+ *
1168
+ * await source$.forEach(value => {
1169
+ * total += value;
1170
+ * console.log('observable -> ' + value);
1171
+ * });
1172
+ *
1173
+ * return total;
1174
+ * }
1175
+ *
1176
+ * getTotal().then(
1177
+ * total => console.log('Total: ' + total)
1178
+ * );
1179
+ *
1180
+ * // Expected:
1181
+ * // 'observable -> 0'
1182
+ * // 'observable -> 1'
1183
+ * // 'observable -> 2'
1184
+ * // 'observable -> 3'
1185
+ * // 'Total: 6'
1186
+ * ```
1187
+ *
1188
+ * @param next a handler for each value emitted by the observable
1189
+ * @return a promise that either resolves on observable completion or
1190
+ * rejects with the handled error
1191
+ */
1192
+ forEach(next: (value: T) => void): Promise<void>;
1193
+ /**
1194
+ * @param next a handler for each value emitted by the observable
1195
+ * @param promiseCtor a constructor function used to instantiate the Promise
1196
+ * @return a promise that either resolves on observable completion or
1197
+ * rejects with the handled error
1198
+ * @deprecated Passing a Promise constructor will no longer be available
1199
+ * in upcoming versions of RxJS. This is because it adds weight to the library, for very
1200
+ * little benefit. If you need this functionality, it is recommended that you either
1201
+ * polyfill Promise, or you create an adapter to convert the returned native promise
1202
+ * to whatever promise implementation you wanted. Will be removed in v8.
1203
+ */
1204
+ forEach(next: (value: T) => void, promiseCtor: PromiseConstructorLike): Promise<void>;
1205
+ pipe(): Observable<T>;
1206
+ pipe<A>(op1: OperatorFunction<T, A>): Observable<A>;
1207
+ pipe<A, B>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>): Observable<B>;
1208
+ pipe<A, B, C>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>): Observable<C>;
1209
+ pipe<A, B, C, D>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>): Observable<D>;
1210
+ pipe<A, B, C, D, E>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>): Observable<E>;
1211
+ pipe<A, B, C, D, E, F>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>): Observable<F>;
1212
+ pipe<A, B, C, D, E, F, G>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>): Observable<G>;
1213
+ pipe<A, B, C, D, E, F, G, H>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>, op8: OperatorFunction<G, H>): Observable<H>;
1214
+ pipe<A, B, C, D, E, F, G, H, I>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>, op8: OperatorFunction<G, H>, op9: OperatorFunction<H, I>): Observable<I>;
1215
+ pipe<A, B, C, D, E, F, G, H, I>(op1: OperatorFunction<T, A>, op2: OperatorFunction<A, B>, op3: OperatorFunction<B, C>, op4: OperatorFunction<C, D>, op5: OperatorFunction<D, E>, op6: OperatorFunction<E, F>, op7: OperatorFunction<F, G>, op8: OperatorFunction<G, H>, op9: OperatorFunction<H, I>, ...operations: OperatorFunction<any, any>[]): Observable<unknown>;
1216
+ /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */
1217
+ toPromise(): Promise<T | undefined>;
1218
+ /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */
1219
+ toPromise(PromiseCtor: typeof Promise): Promise<T | undefined>;
1220
+ /** @deprecated Replaced with {@link firstValueFrom} and {@link lastValueFrom}. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise */
1221
+ toPromise(PromiseCtor: PromiseConstructorLike): Promise<T | undefined>;
1222
+ }
1223
+ //#endregion
1224
+ //#region src/commands/tasks/push-branch.d.ts
1225
+ type PushBranchContext = CmContext<{
1226
+ origin?: string;
1227
+ featureBranch?: string;
1228
+ upstream?: boolean;
1229
+ noVerify?: boolean;
1230
+ }>;
1231
+ //#endregion
1232
+ //#region src/commands/finish.d.ts
1233
+ declare class Finish extends Rebase implements ICommand {
1234
+ mapContext(commander: RebaseOpts, context: CmContext): CmContext;
1235
+ verifyConditions(context: CmContext): void;
1236
+ getTasks(context: PushBranchContext & RebaseOpts): CmTask[];
1237
+ success(context: CmContext): void;
1238
+ }
1239
+ //#endregion
1240
+ //#region src/commands/jira-releases.d.ts
1241
+ interface JiraReleasesOpts {
1242
+ component?: string;
1243
+ projectId?: string;
1244
+ update?: number;
1245
+ verbose?: number;
1246
+ tag?: string;
1247
+ }
1248
+ interface JiraRelease {
1249
+ id: string;
1250
+ name: string;
1251
+ released: boolean;
1252
+ releaseDate?: string;
1253
+ version: string;
1254
+ [key: string]: unknown;
1255
+ }
1256
+ type JiraReleasesContext = CmContext<{
1257
+ projectId?: string;
1258
+ component?: string;
1259
+ tag?: string;
1260
+ update?: number;
1261
+ releases?: JiraRelease[];
1262
+ }>;
1263
+ declare class JiraReleases implements ICommand {
1264
+ mapContext(commander: JiraReleasesOpts, context: CmContext): JiraReleasesContext;
1265
+ getTasks(context: JiraReleasesContext): CmTask[];
1266
+ }
1267
+ //#endregion
1268
+ //#region src/commands/merge.d.ts
1269
+ declare class Merge implements ICommand {
1270
+ private lastCommitMessage;
1271
+ getTasks(context: CmContext): CmTask[];
1272
+ success(context: CmContext): void;
1273
+ }
1274
+ //#endregion
1275
+ //#region src/commands/packages.d.ts
1276
+ declare class Packages implements ICommand {
1277
+ mapContext(options: Record<string, unknown>, context: CmContext): CmContext;
1278
+ getTasks(context: CmContext): CmTask[];
1279
+ }
1280
+ //#endregion
1281
+ //#region src/commands/pull.d.ts
1282
+ declare class Pull implements ICommand {
1283
+ mapContext(options: Record<string, unknown>, context: CmContext): CmContext;
1284
+ getTasks(context: CmContext): CmTask[];
1285
+ success(context: CmContext): void;
1286
+ }
1287
+ //#endregion
1288
+ //#region src/commands/push.d.ts
1289
+ declare class Push extends Rebase implements ICommand {
1290
+ mapContext(commander: RebaseOpts, context: CmContext): CmContext;
1291
+ getTasks(context: CmContext): CmTask[];
1292
+ success(context: CmContext): void;
1293
+ }
1294
+ declare const publish: (program: Command) => void;
1295
+ //#endregion
1296
+ //#region src/commands/republish.d.ts
1297
+ interface RepublishOpts {
1298
+ verbose?: number;
1299
+ }
1300
+ declare class Republish extends Fetch implements ICommand {
1301
+ mapContext(commander: RepublishOpts, context: CmContext): CmContext;
1302
+ getTasks(context: CmContext): CmTask[];
1303
+ success(): void;
1304
+ }
1305
+ //#endregion
1306
+ //#region src/commands/start.d.ts
1307
+ interface StartOpts {
1308
+ jiraId?: string;
1309
+ branchName?: string;
1310
+ dryRun?: boolean;
1311
+ verbose?: number;
1312
+ }
1313
+ type StartContext = CmContext<{
1314
+ jiraId?: string;
1315
+ branchName?: string;
1316
+ type?: string;
1317
+ featureBranch?: string;
1318
+ fromBranch?: string;
1319
+ origin?: string;
1320
+ }>;
1321
+ declare class Start extends Fetch implements ICommand {
1322
+ mapContext(options: StartOpts, context: CmContext): StartContext;
1323
+ prompt(context: StartContext): Promise<Record<string, unknown> | symbol>;
1324
+ getTasks(context: StartContext): CmTask[];
1325
+ success(context: StartContext): void;
1326
+ }
1327
+ declare namespace index_d_exports {
1328
+ export { Checkfeatures, Clean, Config, Deploy, Fetch, Finish, JiraRelease, JiraReleases, Merge, Packages, Pull, Push, Rebase, RebaseOpts, Republish, Start, publish };
1329
+ }
1330
+ //#endregion
1331
+ //#region src/commands/release.d.ts
1332
+ declare function release(options?: {}): void;
1333
+ //#endregion
1334
+ //#region ../../node_modules/execa/index.d.ts
1335
+ declare namespace execa {
1336
+ type StdioOption = 'pipe' | 'ipc' | 'ignore' | 'inherit' | Stream | number | undefined;
1337
+ interface CommonOptions<EncodingType> {
1338
+ /**
1339
+ Kill the spawned process when the parent process exits unless either:
1340
+ - the spawned process is [`detached`](https://nodejs.org/api/child_process.html#child_process_options_detached)
1341
+ - the parent process is terminated abruptly, for example, with `SIGKILL` as opposed to `SIGTERM` or a normal exit
1342
+
1343
+ @default true
1344
+ */
1345
+ readonly cleanup?: boolean;
1346
+ /**
1347
+ Prefer locally installed binaries when looking for a binary to execute.
1348
+
1349
+ If you `$ npm install foo`, you can then `execa('foo')`.
1350
+
1351
+ @default false
1352
+ */
1353
+ readonly preferLocal?: boolean;
1354
+ /**
1355
+ Preferred path to find locally installed binaries in (use with `preferLocal`).
1356
+
1357
+ @default process.cwd()
1358
+ */
1359
+ readonly localDir?: string;
1360
+ /**
1361
+ Path to the Node.js executable to use in child processes.
1362
+
1363
+ This can be either an absolute path or a path relative to the `cwd` option.
1364
+
1365
+ Requires `preferLocal` to be `true`.
1366
+
1367
+ For example, this can be used together with [`get-node`](https://github.com/ehmicky/get-node) to run a specific Node.js version in a child process.
1368
+
1369
+ @default process.execPath
1370
+ */
1371
+ readonly execPath?: string;
1372
+ /**
1373
+ Buffer the output from the spawned process. When set to `false`, you must read the output of `stdout` and `stderr` (or `all` if the `all` option is `true`). Otherwise the returned promise will not be resolved/rejected.
1374
+
1375
+ If the spawned process fails, `error.stdout`, `error.stderr`, and `error.all` will contain the buffered data.
1376
+
1377
+ @default true
1378
+ */
1379
+ readonly buffer?: boolean;
1380
+ /**
1381
+ Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio).
1382
+
1383
+ @default 'pipe'
1384
+ */
1385
+ readonly stdin?: StdioOption;
1386
+ /**
1387
+ Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio).
1388
+
1389
+ @default 'pipe'
1390
+ */
1391
+ readonly stdout?: StdioOption;
1392
+ /**
1393
+ Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio).
1394
+
1395
+ @default 'pipe'
1396
+ */
1397
+ readonly stderr?: StdioOption;
1398
+ /**
1399
+ Setting this to `false` resolves the promise with the error instead of rejecting it.
1400
+
1401
+ @default true
1402
+ */
1403
+ readonly reject?: boolean;
1404
+ /**
1405
+ Add an `.all` property on the promise and the resolved value. The property contains the output of the process with `stdout` and `stderr` interleaved.
1406
+
1407
+ @default false
1408
+ */
1409
+ readonly all?: boolean;
1410
+ /**
1411
+ Strip the final [newline character](https://en.wikipedia.org/wiki/Newline) from the output.
1412
+
1413
+ @default true
1414
+ */
1415
+ readonly stripFinalNewline?: boolean;
1416
+ /**
1417
+ Set to `false` if you don't want to extend the environment variables when providing the `env` property.
1418
+
1419
+ @default true
1420
+ */
1421
+ readonly extendEnv?: boolean;
1422
+ /**
1423
+ Current working directory of the child process.
1424
+
1425
+ @default process.cwd()
1426
+ */
1427
+ readonly cwd?: string;
1428
+ /**
1429
+ Environment key-value pairs. Extends automatically from `process.env`. Set `extendEnv` to `false` if you don't want this.
1430
+
1431
+ @default process.env
1432
+ */
1433
+ readonly env?: NodeJS.ProcessEnv;
1434
+ /**
1435
+ Explicitly set the value of `argv[0]` sent to the child process. This will be set to `command` or `file` if not specified.
1436
+ */
1437
+ readonly argv0?: string;
1438
+ /**
1439
+ Child's [stdio](https://nodejs.org/api/child_process.html#child_process_options_stdio) configuration.
1440
+
1441
+ @default 'pipe'
1442
+ */
1443
+ readonly stdio?: 'pipe' | 'ignore' | 'inherit' | readonly StdioOption[];
1444
+ /**
1445
+ Specify the kind of serialization used for sending messages between processes when using the `stdio: 'ipc'` option or `execa.node()`:
1446
+ - `json`: Uses `JSON.stringify()` and `JSON.parse()`.
1447
+ - `advanced`: Uses [`v8.serialize()`](https://nodejs.org/api/v8.html#v8_v8_serialize_value)
1448
+
1449
+ Requires Node.js `13.2.0` or later.
1450
+
1451
+ [More info.](https://nodejs.org/api/child_process.html#child_process_advanced_serialization)
1452
+
1453
+ @default 'json'
1454
+ */
1455
+ readonly serialization?: 'json' | 'advanced';
1456
+ /**
1457
+ Prepare child to run independently of its parent process. Specific behavior [depends on the platform](https://nodejs.org/api/child_process.html#child_process_options_detached).
1458
+
1459
+ @default false
1460
+ */
1461
+ readonly detached?: boolean;
1462
+ /**
1463
+ Sets the user identity of the process.
1464
+ */
1465
+ readonly uid?: number;
1466
+ /**
1467
+ Sets the group identity of the process.
1468
+ */
1469
+ readonly gid?: number;
1470
+ /**
1471
+ If `true`, runs `command` inside of a shell. Uses `/bin/sh` on UNIX and `cmd.exe` on Windows. A different shell can be specified as a string. The shell should understand the `-c` switch on UNIX or `/d /s /c` on Windows.
1472
+
1473
+ We recommend against using this option since it is:
1474
+ - not cross-platform, encouraging shell-specific syntax.
1475
+ - slower, because of the additional shell interpretation.
1476
+ - unsafe, potentially allowing command injection.
1477
+
1478
+ @default false
1479
+ */
1480
+ readonly shell?: boolean | string;
1481
+ /**
1482
+ Specify the character encoding used to decode the `stdout` and `stderr` output. If set to `null`, then `stdout` and `stderr` will be a `Buffer` instead of a string.
1483
+
1484
+ @default 'utf8'
1485
+ */
1486
+ readonly encoding?: EncodingType;
1487
+ /**
1488
+ If `timeout` is greater than `0`, the parent will send the signal identified by the `killSignal` property (the default is `SIGTERM`) if the child runs longer than `timeout` milliseconds.
1489
+
1490
+ @default 0
1491
+ */
1492
+ readonly timeout?: number;
1493
+ /**
1494
+ Largest amount of data in bytes allowed on `stdout` or `stderr`. Default: 100 MB.
1495
+
1496
+ @default 100_000_000
1497
+ */
1498
+ readonly maxBuffer?: number;
1499
+ /**
1500
+ Signal value to be used when the spawned process will be killed.
1501
+
1502
+ @default 'SIGTERM'
1503
+ */
1504
+ readonly killSignal?: string | number;
1505
+ /**
1506
+ If `true`, no quoting or escaping of arguments is done on Windows. Ignored on other platforms. This is set to `true` automatically when the `shell` option is `true`.
1507
+
1508
+ @default false
1509
+ */
1510
+ readonly windowsVerbatimArguments?: boolean;
1511
+ /**
1512
+ On Windows, do not create a new console window. Please note this also prevents `CTRL-C` [from working](https://github.com/nodejs/node/issues/29837) on Windows.
1513
+
1514
+ @default true
1515
+ */
1516
+ readonly windowsHide?: boolean;
1517
+ }
1518
+ interface Options<EncodingType = string> extends CommonOptions<EncodingType> {
1519
+ /**
1520
+ Write some input to the `stdin` of your binary.
1521
+ */
1522
+ readonly input?: string | Buffer | Readable;
1523
+ }
1524
+ interface SyncOptions<EncodingType = string> extends CommonOptions<EncodingType> {
1525
+ /**
1526
+ Write some input to the `stdin` of your binary.
1527
+ */
1528
+ readonly input?: string | Buffer;
1529
+ }
1530
+ interface NodeOptions<EncodingType = string> extends Options<EncodingType> {
1531
+ /**
1532
+ The Node.js executable to use.
1533
+
1534
+ @default process.execPath
1535
+ */
1536
+ readonly nodePath?: string;
1537
+ /**
1538
+ List of [CLI options](https://nodejs.org/api/cli.html#cli_options) passed to the Node.js executable.
1539
+
1540
+ @default process.execArgv
1541
+ */
1542
+ readonly nodeOptions?: string[];
1543
+ }
1544
+ interface ExecaReturnBase<StdoutStderrType> {
1545
+ /**
1546
+ The file and arguments that were run, for logging purposes.
1547
+
1548
+ This is not escaped and should not be executed directly as a process, including using `execa()` or `execa.command()`.
1549
+ */
1550
+ command: string;
1551
+ /**
1552
+ Same as `command` but escaped.
1553
+
1554
+ This is meant to be copy and pasted into a shell, for debugging purposes.
1555
+ Since the escaping is fairly basic, this should not be executed directly as a process, including using `execa()` or `execa.command()`.
1556
+ */
1557
+ escapedCommand: string;
1558
+ /**
1559
+ The numeric exit code of the process that was run.
1560
+ */
1561
+ exitCode: number;
1562
+ /**
1563
+ The output of the process on stdout.
1564
+ */
1565
+ stdout: StdoutStderrType;
1566
+ /**
1567
+ The output of the process on stderr.
1568
+ */
1569
+ stderr: StdoutStderrType;
1570
+ /**
1571
+ Whether the process failed to run.
1572
+ */
1573
+ failed: boolean;
1574
+ /**
1575
+ Whether the process timed out.
1576
+ */
1577
+ timedOut: boolean;
1578
+ /**
1579
+ Whether the process was killed.
1580
+ */
1581
+ killed: boolean;
1582
+ /**
1583
+ The name of the signal that was used to terminate the process. For example, `SIGFPE`.
1584
+
1585
+ If a signal terminated the process, this property is defined and included in the error message. Otherwise it is `undefined`.
1586
+ */
1587
+ signal?: string;
1588
+ /**
1589
+ A human-friendly description of the signal that was used to terminate the process. For example, `Floating point arithmetic error`.
1590
+
1591
+ If a signal terminated the process, this property is defined and included in the error message. Otherwise it is `undefined`. It is also `undefined` when the signal is very uncommon which should seldomly happen.
1592
+ */
1593
+ signalDescription?: string;
1594
+ }
1595
+ interface ExecaSyncReturnValue<StdoutErrorType = string> extends ExecaReturnBase<StdoutErrorType> {}
1596
+ /**
1597
+ Result of a child process execution. On success this is a plain object. On failure this is also an `Error` instance.
1598
+
1599
+ The child process fails when:
1600
+ - its exit code is not `0`
1601
+ - it was killed with a signal
1602
+ - timing out
1603
+ - being canceled
1604
+ - there's not enough memory or there are already too many child processes
1605
+ */
1606
+ interface ExecaReturnValue<StdoutErrorType = string> extends ExecaSyncReturnValue<StdoutErrorType> {
1607
+ /**
1608
+ The output of the process with `stdout` and `stderr` interleaved.
1609
+
1610
+ This is `undefined` if either:
1611
+ - the `all` option is `false` (default value)
1612
+ - `execa.sync()` was used
1613
+ */
1614
+ all?: StdoutErrorType;
1615
+ /**
1616
+ Whether the process was canceled.
1617
+ */
1618
+ isCanceled: boolean;
1619
+ }
1620
+ interface ExecaSyncError<StdoutErrorType = string> extends Error, ExecaReturnBase<StdoutErrorType> {
1621
+ /**
1622
+ Error message when the child process failed to run. In addition to the underlying error message, it also contains some information related to why the child process errored.
1623
+
1624
+ The child process stderr then stdout are appended to the end, separated with newlines and not interleaved.
1625
+ */
1626
+ message: string;
1627
+ /**
1628
+ This is the same as the `message` property except it does not include the child process stdout/stderr.
1629
+ */
1630
+ shortMessage: string;
1631
+ /**
1632
+ Original error message. This is the same as the `message` property except it includes neither the child process stdout/stderr nor some additional information added by Execa.
1633
+
1634
+ This is `undefined` unless the child process exited due to an `error` event or a timeout.
1635
+ */
1636
+ originalMessage?: string;
1637
+ }
1638
+ interface ExecaError<StdoutErrorType = string> extends ExecaSyncError<StdoutErrorType> {
1639
+ /**
1640
+ The output of the process with `stdout` and `stderr` interleaved.
1641
+
1642
+ This is `undefined` if either:
1643
+ - the `all` option is `false` (default value)
1644
+ - `execa.sync()` was used
1645
+ */
1646
+ all?: StdoutErrorType;
1647
+ /**
1648
+ Whether the process was canceled.
1649
+ */
1650
+ isCanceled: boolean;
1651
+ }
1652
+ interface KillOptions {
1653
+ /**
1654
+ Milliseconds to wait for the child process to terminate before sending `SIGKILL`.
1655
+
1656
+ Can be disabled with `false`.
1657
+
1658
+ @default 5000
1659
+ */
1660
+ forceKillAfterTimeout?: number | false;
1661
+ }
1662
+ interface ExecaChildPromise<StdoutErrorType> {
1663
+ /**
1664
+ Stream combining/interleaving [`stdout`](https://nodejs.org/api/child_process.html#child_process_subprocess_stdout) and [`stderr`](https://nodejs.org/api/child_process.html#child_process_subprocess_stderr).
1665
+
1666
+ This is `undefined` if either:
1667
+ - the `all` option is `false` (the default value)
1668
+ - both `stdout` and `stderr` options are set to [`'inherit'`, `'ipc'`, `Stream` or `integer`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_process_options_stdio)
1669
+ */
1670
+ all?: Readable;
1671
+ catch<ResultType = never>(onRejected?: (reason: ExecaError<StdoutErrorType>) => ResultType | PromiseLike<ResultType>): Promise<ExecaReturnValue<StdoutErrorType> | ResultType>;
1672
+ /**
1673
+ Same as the original [`child_process#kill()`](https://nodejs.org/api/child_process.html#child_process_subprocess_kill_signal), except if `signal` is `SIGTERM` (the default value) and the child process is not terminated after 5 seconds, force it by sending `SIGKILL`.
1674
+ */
1675
+ kill(signal?: string, options?: KillOptions): void;
1676
+ /**
1677
+ Similar to [`childProcess.kill()`](https://nodejs.org/api/child_process.html#child_process_subprocess_kill_signal). This is preferred when cancelling the child process execution as the error is more descriptive and [`childProcessResult.isCanceled`](#iscanceled) is set to `true`.
1678
+ */
1679
+ cancel(): void;
1680
+ }
1681
+ type ExecaChildProcess<StdoutErrorType = string> = ChildProcess & ExecaChildPromise<StdoutErrorType> & Promise<ExecaReturnValue<StdoutErrorType>>;
1682
+ }
1683
+ declare const execa: {
1684
+ /**
1685
+ Execute a file.
1686
+
1687
+ Think of this as a mix of `child_process.execFile` and `child_process.spawn`.
1688
+
1689
+ @param file - The program/script to execute.
1690
+ @param arguments - Arguments to pass to `file` on execution.
1691
+ @returns A [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess), which is enhanced to also be a `Promise` for a result `Object` with `stdout` and `stderr` properties.
1692
+
1693
+ @example
1694
+ ```
1695
+ import execa = require('execa');
1696
+
1697
+ (async () => {
1698
+ const {stdout} = await execa('echo', ['unicorns']);
1699
+ console.log(stdout);
1700
+ //=> 'unicorns'
1701
+
1702
+ // Cancelling a spawned process
1703
+
1704
+ const subprocess = execa('node');
1705
+
1706
+ setTimeout(() => {
1707
+ subprocess.cancel()
1708
+ }, 1000);
1709
+
1710
+ try {
1711
+ await subprocess;
1712
+ } catch (error) {
1713
+ console.log(subprocess.killed); // true
1714
+ console.log(error.isCanceled); // true
1715
+ }
1716
+ })();
1717
+
1718
+ // Pipe the child process stdout to the current stdout
1719
+ execa('echo', ['unicorns']).stdout.pipe(process.stdout);
1720
+ ```
1721
+ */
1722
+ (file: string, arguments?: readonly string[], options?: execa.Options): execa.ExecaChildProcess;
1723
+ (file: string, arguments?: readonly string[], options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
1724
+ (file: string, options?: execa.Options): execa.ExecaChildProcess;
1725
+ (file: string, options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
1726
+ /**
1727
+ Execute a file synchronously.
1728
+
1729
+ This method throws an `Error` if the command fails.
1730
+
1731
+ @param file - The program/script to execute.
1732
+ @param arguments - Arguments to pass to `file` on execution.
1733
+ @returns A result `Object` with `stdout` and `stderr` properties.
1734
+ */
1735
+ sync(file: string, arguments?: readonly string[], options?: execa.SyncOptions): execa.ExecaSyncReturnValue;
1736
+ sync(file: string, arguments?: readonly string[], options?: execa.SyncOptions<null>): execa.ExecaSyncReturnValue<Buffer>;
1737
+ sync(file: string, options?: execa.SyncOptions): execa.ExecaSyncReturnValue;
1738
+ sync(file: string, options?: execa.SyncOptions<null>): execa.ExecaSyncReturnValue<Buffer>;
1739
+ /**
1740
+ Same as `execa()` except both file and arguments are specified in a single `command` string. For example, `execa('echo', ['unicorns'])` is the same as `execa.command('echo unicorns')`.
1741
+
1742
+ If the file or an argument contains spaces, they must be escaped with backslashes. This matters especially if `command` is not a constant but a variable, for example with `__dirname` or `process.cwd()`. Except for spaces, no escaping/quoting is needed.
1743
+
1744
+ The `shell` option must be used if the `command` uses shell-specific features (for example, `&&` or `||`), as opposed to being a simple `file` followed by its `arguments`.
1745
+
1746
+ @param command - The program/script to execute and its arguments.
1747
+ @returns A [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess), which is enhanced to also be a `Promise` for a result `Object` with `stdout` and `stderr` properties.
1748
+
1749
+ @example
1750
+ ```
1751
+ import execa = require('execa');
1752
+
1753
+ (async () => {
1754
+ const {stdout} = await execa.command('echo unicorns');
1755
+ console.log(stdout);
1756
+ //=> 'unicorns'
1757
+ })();
1758
+ ```
1759
+ */
1760
+ command(command: string, options?: execa.Options): execa.ExecaChildProcess;
1761
+ command(command: string, options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
1762
+ /**
1763
+ Same as `execa.command()` but synchronous.
1764
+
1765
+ @param command - The program/script to execute and its arguments.
1766
+ @returns A result `Object` with `stdout` and `stderr` properties.
1767
+ */
1768
+ commandSync(command: string, options?: execa.SyncOptions): execa.ExecaSyncReturnValue;
1769
+ commandSync(command: string, options?: execa.SyncOptions<null>): execa.ExecaSyncReturnValue<Buffer>;
1770
+ /**
1771
+ Execute a Node.js script as a child process.
1772
+
1773
+ Same as `execa('node', [scriptPath, ...arguments], options)` except (like [`child_process#fork()`](https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options)):
1774
+ - the current Node version and options are used. This can be overridden using the `nodePath` and `nodeArguments` options.
1775
+ - the `shell` option cannot be used
1776
+ - an extra channel [`ipc`](https://nodejs.org/api/child_process.html#child_process_options_stdio) is passed to [`stdio`](#stdio)
1777
+
1778
+ @param scriptPath - Node.js script to execute.
1779
+ @param arguments - Arguments to pass to `scriptPath` on execution.
1780
+ @returns A [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess), which is enhanced to also be a `Promise` for a result `Object` with `stdout` and `stderr` properties.
1781
+ */
1782
+ node(scriptPath: string, arguments?: readonly string[], options?: execa.NodeOptions): execa.ExecaChildProcess;
1783
+ node(scriptPath: string, arguments?: readonly string[], options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
1784
+ node(scriptPath: string, options?: execa.Options): execa.ExecaChildProcess;
1785
+ node(scriptPath: string, options?: execa.Options<null>): execa.ExecaChildProcess<Buffer>;
1786
+ };
1787
+ //#endregion
1788
+ //#region src/common/cli/cli.d.ts
1789
+ type RunOptions = Record<string, unknown>;
1790
+ interface CliResult extends Promise<unknown> {
1791
+ toObservable(opt?: RunOptions): Observable<string>;
1792
+ toStream(opt?: RunOptions): execa.ExecaChildProcess<string>;
1793
+ cwd(cwd: string): CliResult;
1794
+ sync(opt?: RunOptions): execa.ExecaSyncReturnValue<string>;
1795
+ getRaw(opt?: RunOptions): string;
1796
+ get(opt?: RunOptions): string;
1797
+ }
1798
+ declare class Cli {
1799
+ cmd: string;
1800
+ constructor(cmd: string);
1801
+ sync(...args: string[]): execa.ExecaSyncReturnValue<string>;
1802
+ run(...args: string[]): CliResult;
1803
+ get(...args: string[]): string;
1804
+ static run(cmd: string, args?: string[], options?: RunOptions): CliResult;
1805
+ static getRaw(cmd: string, args: string[], options?: RunOptions): string;
1806
+ }
1807
+ //#endregion
1808
+ //#region src/common/cli/bun.d.ts
1809
+ declare class BunCli extends Cli {
1810
+ constructor();
1811
+ newVersion(version: string): undefined<string>;
1812
+ pm(...args: string[]): undefined<string>;
1813
+ run(...args: string[]): CliResult;
1814
+ install(...args: string[]): CliResult;
1815
+ /**
1816
+ * Reinstall dependencies without bun.lock mutation
1817
+ * @returns {Promise<unknown>}
1818
+ */
1819
+ restore(): CliResult;
1820
+ }
1821
+ declare const bun: BunCli;
1822
+ //#endregion
1823
+ //#region src/common/cli/docker.d.ts
1824
+ declare class DockerCli extends Cli {
1825
+ constructor();
1826
+ tag(...args: string[]): string;
1827
+ login(...args: string[]): undefined<string>;
1828
+ push(...args: string[]): CliResult;
1829
+ getToken(username: string, password: string): Promise<any>;
1830
+ getTags({ token, repository }: {
1831
+ token: string;
1832
+ repository: string;
1833
+ }): Promise<any>;
1834
+ deleteTag(tag: string, { token, repository }: {
1835
+ token: string;
1836
+ repository: string;
1837
+ }): Promise<void>;
1838
+ }
1839
+ declare const docker: DockerCli;
1840
+ //#endregion
1841
+ //#region src/common/cli/git.d.ts
1842
+ declare class GitCli extends Cli {
1843
+ constructor();
1844
+ init(...args: string[]): CliResult;
1845
+ add(...args: string[]): CliResult;
1846
+ status(...args: string[]): undefined<string>;
1847
+ branch(...args: string[]): CliResult;
1848
+ clean(...args: string[]): CliResult;
1849
+ config(...args: string[]): string;
1850
+ checkout(...args: string[]): CliResult;
1851
+ commit(...args: string[]): CliResult;
1852
+ fetch(...args: string[]): CliResult;
1853
+ prune(...args: string[]): CliResult;
1854
+ merge(...args: string[]): undefined<string>;
1855
+ reset(...args: string[]): undefined<string>;
1856
+ remote(...args: string[]): CliResult;
1857
+ rebase(...args: string[]): CliResult;
1858
+ getCommitTag(ref?: string): string;
1859
+ getBranchName(ref?: string): string;
1860
+ getLastCommitMsg(): string;
1861
+ push(...args: string[]): CliResult;
1862
+ branchExists(branch: string, origin?: string): boolean;
1863
+ checkBranchRemoteStatus(branch: string, origin?: string): string;
1864
+ branches(...args: string[]): string[];
1865
+ show(branch: string): string;
1866
+ branchesInfos(...args: string[]): {
1867
+ branch: string;
1868
+ date: string;
1869
+ creation: string;
1870
+ author: string;
1871
+ }[];
1872
+ }
1873
+ declare const git: GitCli;
1874
+ //#endregion
1875
+ //#region src/common/cli/lerna.d.ts
1876
+ declare class LernaCli extends Cli {
1877
+ constructor();
1878
+ newVersion(version: string): undefined<string>;
1879
+ version(...args: string[]): undefined<string>;
1880
+ run(...args: string[]): CliResult;
1881
+ install(...args: string[]): CliResult;
1882
+ }
1883
+ declare const lerna: LernaCli;
1884
+ //#endregion
1885
+ //#region src/common/cli/npm.d.ts
1886
+ declare class NpmCli extends Cli {
1887
+ constructor();
1888
+ newVersion(version: string): undefined<string>;
1889
+ version(...args: string[]): undefined<string>;
1890
+ run(...args: string[]): CliResult;
1891
+ install(...args: string[]): CliResult;
1892
+ publish(...args: string[]): CliResult;
1893
+ pack(...args: string[]): CliResult;
1894
+ /**
1895
+ * Reinstall dependencies without package-lock mutation
1896
+ * @returns {Promise<unknown>}
1897
+ */
1898
+ restore(): CliResult;
1899
+ }
1900
+ declare const npm: NpmCli;
1901
+ //#endregion
1902
+ //#region src/common/cli/pnpm.d.ts
1903
+ declare class PnpmCli extends Cli {
1904
+ constructor();
1905
+ newVersion(version: string): undefined<string>;
1906
+ version(...args: string[]): undefined<string>;
1907
+ run(...args: string[]): CliResult;
1908
+ install(...args: string[]): CliResult;
1909
+ /**
1910
+ * Reinstall dependencies without pnpm-lock.yaml mutation
1911
+ * @returns {Promise<unknown>}
1912
+ */
1913
+ restore(): CliResult;
1914
+ }
1915
+ declare const pnpm: PnpmCli;
1916
+ //#endregion
1917
+ //#region src/common/cli/yarn.d.ts
1918
+ declare class YarnCli extends Cli {
1919
+ constructor();
1920
+ newVersion(version: string): undefined<string>;
1921
+ version(...args: string[]): undefined<string>;
1922
+ run(...args: string[]): CliResult;
1923
+ install(...args: string[]): CliResult;
1924
+ /**
1925
+ * Reinstall dependencies without yarn.lock mutation
1926
+ * @returns {Promise<unknown>}
1927
+ */
1928
+ restore(): CliResult;
1929
+ }
1930
+ declare const yarn: YarnCli;
1931
+ //#endregion
1932
+ //#region src/common/configure-git-workspace.d.ts
1933
+ declare function configureGitWorkspace(context: CmContext): void;
1934
+ //#endregion
1935
+ //#region src/common/get-package-json.d.ts
1936
+ declare function getPackageJson(): PackageJson;
1937
+ //#endregion
1938
+ //#region src/common/get-package-manager.d.ts
1939
+ declare function getPackageManager(pkgManager: string): {
1940
+ newVersion(version: string): undefined<string>;
1941
+ pm(...args: string[]): undefined<string>;
1942
+ run(...args: string[]): CliResult;
1943
+ install(...args: string[]): CliResult;
1944
+ restore(): CliResult;
1945
+ cmd: string;
1946
+ sync(...args: string[]): undefined<string>;
1947
+ get(...args: string[]): string;
1948
+ } | {
1949
+ cmd: string;
1950
+ newVersion(version: string): undefined<string>;
1951
+ version(...args: string[]): undefined<string>;
1952
+ run(...args: string[]): CliResult;
1953
+ install(...args: string[]): CliResult;
1954
+ publish(...args: string[]): CliResult;
1955
+ pack(...args: string[]): CliResult;
1956
+ restore(): CliResult;
1957
+ sync(...args: string[]): undefined<string>;
1958
+ get(...args: string[]): string;
1959
+ } | {
1960
+ newVersion(version: string): undefined<string>;
1961
+ version(...args: string[]): undefined<string>;
1962
+ run(...args: string[]): CliResult;
1963
+ install(...args: string[]): CliResult;
1964
+ restore(): CliResult;
1965
+ cmd: string;
1966
+ sync(...args: string[]): undefined<string>;
1967
+ get(...args: string[]): string;
1968
+ } | {
1969
+ newVersion(version: string): undefined<string>;
1970
+ version(...args: string[]): undefined<string>;
1971
+ run(...args: string[]): CliResult;
1972
+ install(...args: string[]): CliResult;
1973
+ restore(): CliResult;
1974
+ cmd: string;
1975
+ sync(...args: string[]): undefined<string>;
1976
+ get(...args: string[]): string;
1977
+ };
1978
+ //#endregion
1979
+ //#region src/common/run-command.d.ts
1980
+ declare function runCommand(klass: CommandConstructor, opts: Record<string, any>): Promise<void>;
1981
+ //#endregion
1982
+ //#region src/semantic/define-config.d.ts
1983
+ type ReleasePluginContext = SemanticContext & {
1984
+ nextRelease: NextRelease;
1985
+ };
1986
+ interface ConditionalPluginOptions {
1987
+ when?: (context: ReleasePluginContext) => boolean;
1988
+ [key: string]: unknown;
1989
+ }
1990
+ type Plugin = string | [string, ConditionalPluginOptions];
1991
+ interface CmReleaseConfig extends Options$1 {
1992
+ verifyConditions?: readonly Plugin[];
1993
+ analyzeCommits?: readonly Plugin[];
1994
+ verifyRelease?: readonly Plugin[];
1995
+ generateNotes?: readonly Plugin[];
1996
+ prepare?: readonly Plugin[];
1997
+ publish?: readonly Plugin[];
1998
+ success?: readonly Plugin[];
1999
+ fail?: readonly Plugin[];
2000
+ }
2001
+ /**
2002
+ * Define the semantic-release configuration based on the ClubMed API configuration.
2003
+ */
2004
+ declare function defineConfig(opts?: CmReleaseConfig): CmReleaseConfig;
2005
+ //#endregion
2006
+ //#region src/semantic/utils/release-rules.d.ts
2007
+ declare const releaseRules: (import("lodash").Omit<{
2008
+ type: string;
2009
+ label: string;
2010
+ release: string;
2011
+ } | {
2012
+ type: string;
2013
+ label: string;
2014
+ release: boolean;
2015
+ }, "label"> | {
2016
+ breaking: boolean;
2017
+ release: string;
2018
+ revert?: undefined;
2019
+ } | {
2020
+ breaking?: undefined;
2021
+ revert: boolean;
2022
+ release: string;
2023
+ })[];
2024
+ //#endregion
2025
+ //#region src/semantic/utils/transform-writer.d.ts
2026
+ interface Commit {
2027
+ type: string;
2028
+ message?: string;
2029
+ subject?: string;
2030
+ scope?: string;
2031
+ hash?: string;
2032
+ shortHash?: string;
2033
+ notes: Array<{
2034
+ title: string;
2035
+ }>;
2036
+ references: Array<{
2037
+ issue: string;
2038
+ }>;
2039
+ [key: string]: unknown;
2040
+ }
2041
+ interface TransformContext {
2042
+ repository?: string;
2043
+ host?: string;
2044
+ owner?: string;
2045
+ repoUrl?: string;
2046
+ }
2047
+ declare function transformWriter(commit: Commit, context: TransformContext): Commit | undefined;
2048
+ //#endregion
2049
+ //#region src/workflow/index.d.ts
2050
+ declare const WORKFLOW_CONFIGURATION: ({
2051
+ type: string;
2052
+ label: string;
2053
+ release: string;
2054
+ } | {
2055
+ type: string;
2056
+ label: string;
2057
+ release: boolean;
2058
+ })[];
2059
+ //#endregion
2060
+ //#region src/index.d.ts
2061
+ declare global {
2062
+ const __VERSION__: string;
2063
+ }
2064
+ //#endregion
2065
+ export { Cli, CliConfig, CliResult, CmReleaseConfig, ConditionalPluginOptions, ReleasePluginContext, WORKFLOW_CONFIGURATION, bun, index_d_exports as commands, configureGitWorkspace, defineConfig, docker, getCI, getConfig, getPackageJson, getPackageManager, git, lerna, npm, pnpm, release, releaseRules, runCommand, transformWriter, yarn };
2066
+ //# sourceMappingURL=index.d.mts.map