shiplane 0.5.2 → 0.6.0-fix-shiplane-ship-node-cache.3dccda9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cli.js +157 -312
- package/dist/cli.js.map +1 -1
- package/dist/{readStatus-DypM0faL.js → compose-BTQXZqHM.js} +2758 -1448
- package/dist/compose-BTQXZqHM.js.map +1 -0
- package/dist/{budget-BTnKtGF6.js → display-CfV4G1TR.js} +155 -52
- package/dist/display-CfV4G1TR.js.map +1 -0
- package/dist/{static-hosting.port-B5i6W7eD.d.ts → index-B1Rd22nM.d.ts} +482 -21
- package/dist/index.d.ts +2 -3
- package/dist/index.js +3 -4
- package/dist/{issues-TcWtMTv5.js → issues-DCRpXUBW.js} +1 -1
- package/dist/{issues-TcWtMTv5.js.map → issues-DCRpXUBW.js.map} +1 -1
- package/dist/memory.d.ts +1 -1
- package/dist/memory.js +1 -1
- package/dist/{package-registry.fake-BLBdd7IQ.d.ts → package-registry.fake-CjoePEzE.d.ts} +53 -6
- package/dist/{package-registry.fake-CN6M1-Gi.js → package-registry.fake-ykiSBd8M.js} +58 -6
- package/dist/package-registry.fake-ykiSBd8M.js.map +1 -0
- package/dist/plugin-D-JQhwVd.d.ts +118 -0
- package/dist/plugin.d.ts +3 -23
- package/dist/plugin.js +84 -7
- package/dist/plugin.js.map +1 -0
- package/dist/shell-server-hosting.adapter-CvOcC6Wh.js +369 -0
- package/dist/shell-server-hosting.adapter-CvOcC6Wh.js.map +1 -0
- package/dist/{src-DO7WyrfV.js → src-8BbKTQBb.js} +2 -2
- package/dist/src-8BbKTQBb.js.map +1 -0
- package/dist/testing.d.ts +103 -18
- package/dist/testing.js +235 -22
- package/dist/testing.js.map +1 -1
- package/package.json +2 -1
- package/dist/budget-BTnKtGF6.js.map +0 -1
- package/dist/display-IqkJ6uCw.js +0 -96
- package/dist/display-IqkJ6uCw.js.map +0 -1
- package/dist/index-C_urG4yY.d.ts +0 -252
- package/dist/package-registry.fake-CN6M1-Gi.js.map +0 -1
- package/dist/readStatus-DypM0faL.js.map +0 -1
- package/dist/shell-server-hosting.adapter-C7_5MWrl.js +0 -50
- package/dist/shell-server-hosting.adapter-C7_5MWrl.js.map +0 -1
- package/dist/src-DO7WyrfV.js.map +0 -1
- package/dist/web-app.module-BB1fY1Kd.js +0 -125
- package/dist/web-app.module-BB1fY1Kd.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
1
|
+
import { z, z as z$1 } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/domain/environment.d.ts
|
|
4
4
|
/** Where a unit runs, in promotion order: production ships what preview validated. */
|
|
@@ -94,6 +94,129 @@ interface PlatformEnvPort {
|
|
|
94
94
|
}) => string;
|
|
95
95
|
}
|
|
96
96
|
//#endregion
|
|
97
|
+
//#region src/application/config/perEnv.d.ts
|
|
98
|
+
/** A value that is the same everywhere, or written once per environment. */
|
|
99
|
+
declare const perEnv: <Value extends z.ZodType>(value: Value) => z.ZodUnion<readonly [Value, z.ZodObject<{
|
|
100
|
+
preview: Value;
|
|
101
|
+
production: Value;
|
|
102
|
+
}, z.core.$strict>]>;
|
|
103
|
+
type PerEnv<Value> = Value | Record<Environment, Value>;
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/domain/tags.d.ts
|
|
106
|
+
/** Tag formats a config can name instead of writing one out. */
|
|
107
|
+
declare const TAG_FORMATS: {
|
|
108
|
+
/** `api@1.2.0`: one tag per unit, as changesets tags a monorepo. */readonly package: "{name}@{version}";
|
|
109
|
+
/**
|
|
110
|
+
* `my-plugin--v1.2.0`: an agent plugin's tag. Claude Code resolves versions from it; Gemini CLI and
|
|
111
|
+
* Codex install from any tag, so one tag serves all three.
|
|
112
|
+
*/
|
|
113
|
+
readonly plugin: "{name}--v{version}"; /** `v1.2.0`: a repository that releases one unit, the most common tag there is. */
|
|
114
|
+
readonly single: "v{version}"; /** `api/v1.2.0`: a tag per folder, as Go requires for a module below the repository root. */
|
|
115
|
+
readonly module: "{name}/v{version}";
|
|
116
|
+
};
|
|
117
|
+
type TagFormatName = keyof typeof TAG_FORMATS;
|
|
118
|
+
/** How a tag names a unit's version unless the config says otherwise. */
|
|
119
|
+
declare const DEFAULT_TAG_FORMAT: "{name}@{version}";
|
|
120
|
+
/** A unit's tag for a version, through a format like `v{version}` or `{name}--v{version}`. */
|
|
121
|
+
declare const tagName: (app: string, version: string, format?: string) => string;
|
|
122
|
+
/** The tag a unit had before this version, by version order. Null for its first release. */
|
|
123
|
+
declare const previousTag: ({
|
|
124
|
+
tags,
|
|
125
|
+
unit,
|
|
126
|
+
version,
|
|
127
|
+
format
|
|
128
|
+
}: {
|
|
129
|
+
tags: ReadonlySet<string>;
|
|
130
|
+
unit: string;
|
|
131
|
+
version: string;
|
|
132
|
+
format?: string;
|
|
133
|
+
}) => string | null;
|
|
134
|
+
interface ReleaseTag {
|
|
135
|
+
/** The unit's name. */
|
|
136
|
+
app: string;
|
|
137
|
+
version: string;
|
|
138
|
+
tag: string;
|
|
139
|
+
sha: string;
|
|
140
|
+
needsTag: boolean;
|
|
141
|
+
needsNotes: boolean;
|
|
142
|
+
}
|
|
143
|
+
/** A release pull request's subject: `chore(api): release v0.0.4`, or `chore(release): ...` for several. */
|
|
144
|
+
declare const isReleaseSubject: (subject: string) => boolean;
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region src/domain/testChannel.d.ts
|
|
147
|
+
/**
|
|
148
|
+
* Where a test release publishes. `snapshot` is one temporary version per commit; any other word is
|
|
149
|
+
* a numbered prerelease channel: `<next>-<word>.<n>` under the npm tag `<word>`.
|
|
150
|
+
*/
|
|
151
|
+
declare const channels: {
|
|
152
|
+
/**
|
|
153
|
+
* `<next>-<branch>.<sha>` under the branch's npm tag, such as `0.6.0-feat-x.ae08284` on `feat-x`.
|
|
154
|
+
* One per commit, temporary: what every branch publishes unless `testRelease` says otherwise.
|
|
155
|
+
*/
|
|
156
|
+
readonly snapshot: "snapshot";
|
|
157
|
+
/**
|
|
158
|
+
* `<next>-nightly.<n>` under the npm tag `nightly`, such as `0.6.0-nightly.4`; `<n>` goes up by
|
|
159
|
+
* one each publish. `npm i <package>@nightly` installs the newest.
|
|
160
|
+
*/
|
|
161
|
+
readonly nightly: "nightly";
|
|
162
|
+
/**
|
|
163
|
+
* `<next>-alpha.<n>` under the npm tag `alpha`, such as `0.6.0-alpha.0`; `<n>` goes up by one each
|
|
164
|
+
* publish. `npm i <package>@alpha` installs the newest.
|
|
165
|
+
*/
|
|
166
|
+
readonly alpha: "alpha";
|
|
167
|
+
/**
|
|
168
|
+
* `<next>-beta.<n>` under the npm tag `beta`, such as `0.6.0-beta.2`; `<n>` goes up by one each
|
|
169
|
+
* publish. `npm i <package>@beta` installs the newest.
|
|
170
|
+
*/
|
|
171
|
+
readonly beta: "beta";
|
|
172
|
+
/**
|
|
173
|
+
* `<next>-rc.<n>` under the npm tag `rc`, such as `0.6.0-rc.1`; `<n>` goes up by one each publish.
|
|
174
|
+
* `npm i <package>@rc` installs the newest.
|
|
175
|
+
*/
|
|
176
|
+
readonly rc: "rc";
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* A test release channel: `snapshot`, one of the numbered `channels`, or any word of your own
|
|
180
|
+
* (`[a-z][a-z0-9-]*`, never `latest`), which publishes `<next>-<word>.<n>` under the npm tag `<word>`.
|
|
181
|
+
*/
|
|
182
|
+
type Channel = (typeof channels)[keyof typeof channels] | (string & {});
|
|
183
|
+
/**
|
|
184
|
+
* Which channel each branch's test release publishes on. A key is a branch name, or a pattern such
|
|
185
|
+
* as `release/*`: the exact name wins, then the longest pattern. A branch not listed publishes a
|
|
186
|
+
* `snapshot`.
|
|
187
|
+
*/
|
|
188
|
+
type TestReleaseBranches = Readonly<Record<string, Channel>>;
|
|
189
|
+
/** Ready branch → channel maps for `testRelease`; each is a plain map, spread it to change it. */
|
|
190
|
+
declare const testReleases: {
|
|
191
|
+
/**
|
|
192
|
+
* `main` → nightly; every other branch → snapshot.
|
|
193
|
+
* @example main publishes 0.6.0-nightly.4 under the npm tag `nightly`.
|
|
194
|
+
*/
|
|
195
|
+
readonly nightly: {
|
|
196
|
+
readonly main: "nightly";
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* One channel per long-lived branch: `main` → nightly, `next` → alpha, `beta` → beta,
|
|
200
|
+
* `release/*` → rc; every other branch → snapshot.
|
|
201
|
+
* @example release/1.0 publishes 1.0.0-rc.0 under the npm tag `rc`.
|
|
202
|
+
*/
|
|
203
|
+
readonly prerelease: {
|
|
204
|
+
readonly main: "nightly";
|
|
205
|
+
readonly next: "alpha";
|
|
206
|
+
readonly beta: "beta";
|
|
207
|
+
readonly "release/*": "rc";
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* Git-flow: `develop` → nightly, `release/*` → beta, `hotfix/*` → rc; every other branch → snapshot.
|
|
211
|
+
* @example develop publishes 0.6.0-nightly.4 under the npm tag `nightly`.
|
|
212
|
+
*/
|
|
213
|
+
readonly gitflow: {
|
|
214
|
+
readonly develop: "nightly";
|
|
215
|
+
readonly "release/*": "beta";
|
|
216
|
+
readonly "hotfix/*": "rc";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
//#endregion
|
|
97
220
|
//#region src/domain/changes.d.ts
|
|
98
221
|
/** A unit as changesets know it: its name here, its package name there. */
|
|
99
222
|
interface UnitRef {
|
|
@@ -192,7 +315,8 @@ type DeployState = "none" | "running" | "done";
|
|
|
192
315
|
declare const deployState: (states: string[]) => DeployState;
|
|
193
316
|
/** Whether a diff only moves version files: the code is still the code a release named. */
|
|
194
317
|
declare const onlyVersionFiles: (files: string[], versionFiles: ReadonlySet<string>) => boolean;
|
|
195
|
-
|
|
318
|
+
/** How a unit ships: through the flow's CI pipeline, or from this machine. */
|
|
319
|
+
type DeployPath = "ci" | "local";
|
|
196
320
|
//#endregion
|
|
197
321
|
//#region src/domain/budget.d.ts
|
|
198
322
|
interface ActionsMinutes {
|
|
@@ -254,7 +378,8 @@ interface CodeHostPort {
|
|
|
254
378
|
openInBrowser: (pr: OpenPr) => Promise<void>;
|
|
255
379
|
/** Tags that already have release notes. */
|
|
256
380
|
releasedTags: () => Promise<Set<string>>;
|
|
257
|
-
|
|
381
|
+
/** Publishes a tag's notes; with the tag before it, they end on a link comparing the two. */
|
|
382
|
+
createRelease: (tag: string, notes: string, latest: boolean, previous?: string) => Promise<void>;
|
|
258
383
|
/** Every deploy recorded for a tag, by a workflow or by this machine. */
|
|
259
384
|
deployments: () => Promise<Deploy[]>;
|
|
260
385
|
recordDeployment: (ref: string, environment: Environment) => Promise<void>;
|
|
@@ -264,9 +389,25 @@ interface CodeHostPort {
|
|
|
264
389
|
comments: (on: readonly IssueRef[]) => Promise<string[][]>;
|
|
265
390
|
/** Posts a comment on an issue or a pull request, paced so a burst stays under the host's limits. */
|
|
266
391
|
comment: (on: IssueRef, body: string) => Promise<void>;
|
|
392
|
+
/** The open pull request whose head is this branch, or null when it has none. */
|
|
393
|
+
prForBranch: (branch: string) => Promise<OpenPr | null>;
|
|
394
|
+
/** Edits the pull request's comment holding `marker`, or posts `body` when none does. */
|
|
395
|
+
upsertComment: (comment: {
|
|
396
|
+
on: OpenPr;
|
|
397
|
+
marker: string;
|
|
398
|
+
body: string;
|
|
399
|
+
}) => Promise<void>;
|
|
267
400
|
}
|
|
268
401
|
//#endregion
|
|
269
402
|
//#region src/ports/ci-pipeline.port.d.ts
|
|
403
|
+
/** The workflow a repository ships from, calling shiplane's own, pinned to one shiplane release. */
|
|
404
|
+
interface CallerWorkflow {
|
|
405
|
+
/** Where it goes, as `workflowFile` places `shipWorkflow`. */
|
|
406
|
+
file: string;
|
|
407
|
+
content: string;
|
|
408
|
+
/** The commit the release's tag points at, which its `uses:` line pins. */
|
|
409
|
+
pin: string;
|
|
410
|
+
}
|
|
270
411
|
/** Where workflows run: dispatched on a ref, their runs read back, the minutes they cost. */
|
|
271
412
|
interface CiPipelinePort {
|
|
272
413
|
/** The one workflow that ships on CI: `shiplane ship` on a runner, given units and an environment. */
|
|
@@ -278,6 +419,16 @@ interface CiPipelinePort {
|
|
|
278
419
|
minutes: () => Promise<ActionsMinutes | null>;
|
|
279
420
|
/** Billed minutes of a workflow's last successful runs. */
|
|
280
421
|
measuredMinutes: (workflow: string) => Promise<number[]>;
|
|
422
|
+
/** What a person calls this pipeline, such as `GitHub Actions`; `CI` when unset. */
|
|
423
|
+
readonly label?: string;
|
|
424
|
+
/** Where a ref holds a workflow's file, checked before dispatching on it; unchecked when unset. */
|
|
425
|
+
workflowFile?: (workflow: string) => string;
|
|
426
|
+
/** The command a dry run prints for a dispatch, as a person would type it. */
|
|
427
|
+
dispatchLine?: (workflow: string, ref: string, inputs: Record<string, string>) => string;
|
|
428
|
+
/** The caller workflow for shiplane `version`, or why there is none; unwritten when unset. */
|
|
429
|
+
callerWorkflow?: (version: string) => Promise<CallerWorkflow | {
|
|
430
|
+
error: string;
|
|
431
|
+
}>;
|
|
281
432
|
}
|
|
282
433
|
//#endregion
|
|
283
434
|
//#region src/ports/shell.port.d.ts
|
|
@@ -299,6 +450,8 @@ interface Shell {
|
|
|
299
450
|
attach: (command: string, args: readonly string[], options?: RunOptions) => Promise<number>;
|
|
300
451
|
/** A variable of this process's environment, such as a token a command needs. */
|
|
301
452
|
env: (name: string) => string | undefined;
|
|
453
|
+
/** Puts a folder first on this process's PATH, so the commands run after it find a tool there. */
|
|
454
|
+
prependPath?: (dir: string) => void;
|
|
302
455
|
}
|
|
303
456
|
/** A command that exited non-zero, carrying all it printed so a failure can show why. */
|
|
304
457
|
declare class CommandFailed extends Error {
|
|
@@ -311,7 +464,7 @@ type ReleaseIntent = "build" | "update" | "submit";
|
|
|
311
464
|
interface GitPosition {
|
|
312
465
|
branch: string;
|
|
313
466
|
head: string;
|
|
314
|
-
/** origin
|
|
467
|
+
/** The default branch on origin after a fetch: origin/main, or origin/master. The name stays. */
|
|
315
468
|
originMain: string;
|
|
316
469
|
}
|
|
317
470
|
type SourceResult = {
|
|
@@ -321,22 +474,32 @@ type SourceResult = {
|
|
|
321
474
|
why: "not-main" | "behind-main";
|
|
322
475
|
};
|
|
323
476
|
/**
|
|
324
|
-
* A binary ships what it was built from, so builds start from
|
|
325
|
-
*
|
|
477
|
+
* A binary ships what it was built from, so builds start from the default branch (main, or
|
|
478
|
+
* master) as it is on origin, or from exactly the commit the release tagged (a runner checked out
|
|
479
|
+
* at the tag, retrying it). Preview updates may come from a branch for testers; production updates
|
|
480
|
+
* only from the default branch.
|
|
326
481
|
*/
|
|
327
482
|
declare const releaseSource: (intent: ReleaseIntent, channel: Environment, {
|
|
328
483
|
branch,
|
|
329
484
|
head,
|
|
330
485
|
originMain
|
|
331
|
-
}: GitPosition
|
|
486
|
+
}: GitPosition, {
|
|
487
|
+
tagCommit,
|
|
488
|
+
defaultBranch
|
|
489
|
+
}?: {
|
|
490
|
+
tagCommit?: string | null;
|
|
491
|
+
defaultBranch?: string;
|
|
492
|
+
}) => SourceResult;
|
|
332
493
|
/** Production never runs a step nobody confirmed. */
|
|
333
494
|
declare const yesAllowed: (channel: Environment, yes: boolean) => boolean;
|
|
334
495
|
//#endregion
|
|
335
496
|
//#region src/ports/source-control.port.d.ts
|
|
336
497
|
/** The repository's history, as a release reads and writes it. */
|
|
337
498
|
interface SourceControlPort {
|
|
338
|
-
/** After fetching
|
|
499
|
+
/** After fetching the default branch: the branch, its head and the default branch on origin. */
|
|
339
500
|
position: () => Promise<GitPosition>;
|
|
501
|
+
/** The branch releases start from: origin's default, else whichever of main or master exists. */
|
|
502
|
+
defaultBranch: () => Promise<string>;
|
|
340
503
|
/** No tracked file changed. */
|
|
341
504
|
isClean: () => Promise<boolean>;
|
|
342
505
|
tagCommit: (tag: string) => Promise<string | null>;
|
|
@@ -353,8 +516,16 @@ interface SourceControlPort {
|
|
|
353
516
|
/** Modified and untracked files, relative to the root. */
|
|
354
517
|
changedFiles: () => Promise<string[]>;
|
|
355
518
|
diffNames: (from: string, to: string) => Promise<string[]>;
|
|
519
|
+
/** The last commit `a` and `b` share, where a branch left the other; null when none. */
|
|
520
|
+
mergeBase?: (a: string, b: string) => Promise<string | null>;
|
|
356
521
|
fileAt: (ref: string, file: string) => Promise<string | null>;
|
|
357
522
|
tags: () => Promise<Set<string>>;
|
|
523
|
+
/** Untracked files git ignores that match a pattern (`*` stays in its folder), relative to the root. */
|
|
524
|
+
ignoredFiles: (patterns: readonly string[]) => Promise<string[]>;
|
|
525
|
+
/** Checks a ref out, detached, in a new folder outside the repository. */
|
|
526
|
+
addWorktree: (dir: string, ref: string) => Promise<void>;
|
|
527
|
+
/** Removes a worktree `addWorktree` made, whatever it holds. */
|
|
528
|
+
removeWorktree: (dir: string) => Promise<void>;
|
|
358
529
|
createBranch: (name: string) => Promise<void>;
|
|
359
530
|
switchTo: (branch: string) => Promise<void>;
|
|
360
531
|
/** `skipHooks` commits without the repository's hooks: a release title longer than they allow. */
|
|
@@ -452,6 +623,11 @@ interface Job {
|
|
|
452
623
|
record?: boolean;
|
|
453
624
|
/** Runs after `local` whether it failed or not, such as putting a manifest back. */
|
|
454
625
|
cleanup?: Command[];
|
|
626
|
+
/**
|
|
627
|
+
* A tag this machine ships instead of its checkout: `local` runs in a worktree detached at it,
|
|
628
|
+
* installed and given the checkout's ignored `.env*` files, then removed.
|
|
629
|
+
*/
|
|
630
|
+
from?: string;
|
|
455
631
|
}
|
|
456
632
|
/** What an adapter is told when asked for its jobs. */
|
|
457
633
|
interface JobInput<Options> {
|
|
@@ -463,6 +639,13 @@ interface JobInput<Options> {
|
|
|
463
639
|
options: Options;
|
|
464
640
|
/** The commit this machine is on. */
|
|
465
641
|
commit: string;
|
|
642
|
+
/** The branch releases start from: main or master, as git reports it. */
|
|
643
|
+
defaultBranch: string;
|
|
644
|
+
/**
|
|
645
|
+
* A branch release for testers: a registry publishes under this dist-tag instead of the
|
|
646
|
+
* environment's, and moves no other tag.
|
|
647
|
+
*/
|
|
648
|
+
distTag?: string;
|
|
466
649
|
}
|
|
467
650
|
/** What a module's per-app stages may read and run. */
|
|
468
651
|
interface DecideContext {
|
|
@@ -496,24 +679,28 @@ interface Refusal {
|
|
|
496
679
|
detail: string;
|
|
497
680
|
commands: string[];
|
|
498
681
|
}
|
|
682
|
+
/** What a ship runs: a build, a submit or a publish from here; an update or a deploy asks how. */
|
|
683
|
+
type ShipKind = "build" | "submit" | "publish" | "update" | "deploy";
|
|
499
684
|
/** What a unit needs on an environment, as its adapter decides. */
|
|
500
685
|
type Decision =
|
|
501
686
|
/**
|
|
502
687
|
* Ship: a build, a submit or a publish runs from here; an update or a deploy asks how.
|
|
503
|
-
* `notLocal` says why this machine cannot ship it, leaving
|
|
688
|
+
* `notLocal` says why this machine cannot ship it, leaving the CI pipeline.
|
|
504
689
|
*/
|
|
505
690
|
{
|
|
506
691
|
action: "ship";
|
|
507
|
-
kind:
|
|
692
|
+
kind: ShipKind;
|
|
508
693
|
jobs: Job[];
|
|
509
|
-
notLocal?: string;
|
|
694
|
+
notLocal?: string; /** A person already said go, such as by picking a retry: no "Ship …?" follows. */
|
|
695
|
+
confirmed?: boolean;
|
|
510
696
|
} /** Nothing to do; the status says why. */ | {
|
|
511
697
|
action: "none";
|
|
512
698
|
status: string;
|
|
513
699
|
}
|
|
514
700
|
/**
|
|
515
701
|
* A move only a person picks, such as how far a rollout goes: `lines` say where it stands, then
|
|
516
|
-
* the question; an option with no jobs ships nothing and says `held`.
|
|
702
|
+
* the question; an option with no jobs ships nothing and says `held`. A picked option's `then`
|
|
703
|
+
* lines are said right after it.
|
|
517
704
|
*/
|
|
518
705
|
| {
|
|
519
706
|
action: "choose";
|
|
@@ -522,8 +709,13 @@ type Decision =
|
|
|
522
709
|
suggested: string;
|
|
523
710
|
options: (Choice<string> & {
|
|
524
711
|
jobs: Job[];
|
|
712
|
+
then?: string[];
|
|
525
713
|
})[];
|
|
526
|
-
held: string;
|
|
714
|
+
held: string; /** What an option with jobs ships; an update when absent. */
|
|
715
|
+
kind?: ShipKind;
|
|
716
|
+
notLocal?: string; /** Picking an option with jobs is the go-ahead: no "Ship …?" follows. */
|
|
717
|
+
confirmed?: boolean; /** Said as a failure when nobody can answer (no terminal, or CI); held when absent. */
|
|
718
|
+
unattended?: Refusal;
|
|
527
719
|
} | ({
|
|
528
720
|
action: "fail";
|
|
529
721
|
} & Refusal) /** A small PR has to merge first, such as moving a version; the adapter decides again after it. */ | {
|
|
@@ -558,7 +750,7 @@ interface VersionContribution {
|
|
|
558
750
|
/** A numbered step the release announces before anything runs. */
|
|
559
751
|
step?: string;
|
|
560
752
|
}
|
|
561
|
-
/** A folder as `
|
|
753
|
+
/** A folder as `setup` shows it to an adapter, to recognise what ships from it. */
|
|
562
754
|
interface FolderView {
|
|
563
755
|
/** Relative to the root. */
|
|
564
756
|
dir: string;
|
|
@@ -580,7 +772,7 @@ interface Detection {
|
|
|
580
772
|
/** Options read from what was seen; `questions` asks for the rest. */
|
|
581
773
|
options: Record<string, unknown>;
|
|
582
774
|
}
|
|
583
|
-
/** An option `
|
|
775
|
+
/** An option `setup` asks for when nothing in the folder said it. */
|
|
584
776
|
interface Question {
|
|
585
777
|
key: string;
|
|
586
778
|
message: string;
|
|
@@ -593,6 +785,16 @@ interface Requirement {
|
|
|
593
785
|
check: Command;
|
|
594
786
|
/** What fixes it, offered to run. */
|
|
595
787
|
fix?: Command;
|
|
788
|
+
/**
|
|
789
|
+
* How a Linux runner installs the tool when it is missing; `path` is the folder it lands in, put
|
|
790
|
+
* first on PATH afterwards (`$NAME` reads a variable, such as `$HOME/.fly/bin`).
|
|
791
|
+
*/
|
|
792
|
+
install?: {
|
|
793
|
+
command: Command;
|
|
794
|
+
path?: string;
|
|
795
|
+
};
|
|
796
|
+
/** The variables a runner sets instead of signing in, such as `FLY_API_TOKEN`. */
|
|
797
|
+
secrets?: string[];
|
|
596
798
|
}
|
|
597
799
|
/** A value per environment becomes the value itself, at any depth. */
|
|
598
800
|
type Resolved<Value> = Value extends {
|
|
@@ -627,11 +829,11 @@ interface ServiceAdapter<Port> extends Adapter<Port> {
|
|
|
627
829
|
/** Tools and sign-ins it needs, checked by `shiplane doctor`. */
|
|
628
830
|
readonly requirements?: () => Requirement[];
|
|
629
831
|
}
|
|
630
|
-
/** An adapter of a delivery port: what its apps' unit files hold, and what `
|
|
832
|
+
/** An adapter of a delivery port: what its apps' unit files hold, and what `setup` recognises. */
|
|
631
833
|
interface DeliveryAdapter<Port extends {
|
|
632
834
|
capability: string;
|
|
633
835
|
}> extends Adapter<Port> {
|
|
634
|
-
/** The kind of delivery its port does, the one `
|
|
836
|
+
/** The kind of delivery its port does, the one `setup` picks a module by. */
|
|
635
837
|
readonly capability: Port["capability"];
|
|
636
838
|
/** The keys an app's unit file holds for it besides `module`. */
|
|
637
839
|
readonly settings: z.ZodObject;
|
|
@@ -639,9 +841,9 @@ interface DeliveryAdapter<Port extends {
|
|
|
639
841
|
readonly typicalMinutes?: number;
|
|
640
842
|
/** Set when its own platform, not deploy records, knows what is live. */
|
|
641
843
|
readonly decidedBy?: DecidedBy;
|
|
642
|
-
/** What `
|
|
844
|
+
/** What `setup` recognises in a folder it ships. */
|
|
643
845
|
readonly detect?: (folder: FolderView) => Detection | null;
|
|
644
|
-
/** Settings `
|
|
846
|
+
/** Settings `setup` asks for that `detect` could not read. */
|
|
645
847
|
readonly questions?: (folder: FolderView, found: Record<string, unknown>, repository: string) => Question[];
|
|
646
848
|
/** Tools and sign-ins it needs for an app. */
|
|
647
849
|
readonly requirements?: (unit: ReleaseUnit) => Requirement[];
|
|
@@ -678,6 +880,162 @@ interface VersioningPort {
|
|
|
678
880
|
changelogFile: (dir: string) => string;
|
|
679
881
|
}
|
|
680
882
|
//#endregion
|
|
883
|
+
//#region src/modules/module.d.ts
|
|
884
|
+
/** What a module's per-app stages are told: the app, its tag, its settings for that environment. */
|
|
885
|
+
type AppInput = JobInput<Record<string, unknown>>;
|
|
886
|
+
/** Where a tag lands, as a person reads it, and the jobs that ship it there. */
|
|
887
|
+
interface ShipPlan {
|
|
888
|
+
where: string;
|
|
889
|
+
jobs: Job[];
|
|
890
|
+
}
|
|
891
|
+
/** An app a ship just triggered on an environment. */
|
|
892
|
+
interface Shipped {
|
|
893
|
+
unit: ReleaseUnit;
|
|
894
|
+
tag: string;
|
|
895
|
+
environment: Environment;
|
|
896
|
+
}
|
|
897
|
+
/** One thing done once apps ship, as data: a ship runs it, a plan only lists it. */
|
|
898
|
+
interface FollowUp {
|
|
899
|
+
label: string;
|
|
900
|
+
run: () => Promise<void>;
|
|
901
|
+
}
|
|
902
|
+
/** Creates the port an adapter gives, for this repository. */
|
|
903
|
+
type Open = <Port>(adapter: Adapter<Port>) => Port;
|
|
904
|
+
/** What a feature is told once apps ship. */
|
|
905
|
+
interface AfterShipContext {
|
|
906
|
+
/** Subjects of the commits after `from` up to `to` whose files can reach what an app ships. */
|
|
907
|
+
subjectsReaching: (unit: ReleaseUnit, from: string, to: string) => Promise<string[]>;
|
|
908
|
+
open: Open;
|
|
909
|
+
/** How a tag names a version, such as `{name}@{version}`. */
|
|
910
|
+
tagFormat: string;
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* What gets released: the apps whose unit file names it. Every stage is optional; the release flow
|
|
914
|
+
* owns their order, and the order of `modules` is the release order.
|
|
915
|
+
*/
|
|
916
|
+
interface ReleaseModule {
|
|
917
|
+
readonly type: "module";
|
|
918
|
+
/** What an app's unit file names: its kind, or a name the config gives it. */
|
|
919
|
+
readonly name: string;
|
|
920
|
+
/** "backend-service", "mobile-app". */
|
|
921
|
+
readonly kind: string;
|
|
922
|
+
/** The provider its apps ship with, as output names it: "fly". */
|
|
923
|
+
readonly provider: string;
|
|
924
|
+
/** What its apps' unit files hold besides `module`. */
|
|
925
|
+
readonly settings: z.ZodObject;
|
|
926
|
+
/** The adapters it was given. */
|
|
927
|
+
readonly adapters: readonly Adapter<unknown>[];
|
|
928
|
+
/** The kind of delivery its adapter does, such as "package-registry". */
|
|
929
|
+
readonly capability?: string;
|
|
930
|
+
/** Set when its own platform, not deploy records, knows what is live. */
|
|
931
|
+
readonly decidedBy?: DecidedBy;
|
|
932
|
+
/** Set when nothing deploys its apps: a release versions and tags them, nothing more. */
|
|
933
|
+
readonly releaseOnly?: boolean;
|
|
934
|
+
/** Billed minutes of a CI deploy, used until a run has been measured. */
|
|
935
|
+
readonly typicalMinutes?: number;
|
|
936
|
+
/** Tools and sign-ins it needs, given the apps that name it. */
|
|
937
|
+
readonly requirements?: (apps: readonly ReleaseUnit[]) => Requirement[];
|
|
938
|
+
/** Lists the env var names its apps' platform holds; without it, their env is not checked. */
|
|
939
|
+
readonly env?: (context: AdapterContext) => PlatformEnvPort;
|
|
940
|
+
/** Files a release may change after a tag without changing what ships. Relative to the root. */
|
|
941
|
+
readonly versionFiles?: (unit: ReleaseUnit, units: readonly ReleaseUnit[], open: Open) => string[];
|
|
942
|
+
/** Adds to the release PR, given the app's bump in it when there is one. */
|
|
943
|
+
readonly version?: (context: DecideContext, input: AppInput & {
|
|
944
|
+
bump: AppBump | undefined;
|
|
945
|
+
chosen?: string;
|
|
946
|
+
}) => Promise<VersionContribution>;
|
|
947
|
+
/** The tagged version runs on the environment, read from its platform; else deploy records say. */
|
|
948
|
+
readonly live?: (context: DecideContext, input: AppInput) => Promise<boolean>;
|
|
949
|
+
/** Decides what an app needs; without it, deploy records decide and `ship` runs. */
|
|
950
|
+
readonly decide?: (context: DecideContext, input: AppInput) => Promise<Decision>;
|
|
951
|
+
/** The name its registry publishes an app under, when it is not the workspace name. */
|
|
952
|
+
readonly publishedName?: (context: DecideContext, input: AppInput) => string;
|
|
953
|
+
/** Every version its registry holds, for a numbered test release; absent when it cannot say. */
|
|
954
|
+
readonly publishedVersions?: (context: DecideContext, input: AppInput) => Promise<string[]>;
|
|
955
|
+
/** Where a tag lands and the jobs that ship it: data, never run by the module itself. */
|
|
956
|
+
readonly ship: (context: DecideContext, input: AppInput) => ShipPlan;
|
|
957
|
+
/** How the tagged version does on preview, read before promoting it. Null when nothing says. */
|
|
958
|
+
readonly health?: (context: DecideContext, input: AppInput) => Promise<Health | null>;
|
|
959
|
+
/** What `status --json` shows for an app, read from its platform. */
|
|
960
|
+
readonly inspect?: (context: DecideContext, input: AppInput) => Promise<unknown>;
|
|
961
|
+
}
|
|
962
|
+
/** What happens around a release, after the ship, such as telling issues what shipped. */
|
|
963
|
+
interface Feature {
|
|
964
|
+
readonly type: "feature";
|
|
965
|
+
readonly name: string;
|
|
966
|
+
/** The adapters it was given, for doctor to check. */
|
|
967
|
+
readonly adapters: readonly Adapter<unknown>[];
|
|
968
|
+
readonly requirements?: () => Requirement[];
|
|
969
|
+
/** What to do once apps ship: it only reads, a ship runs each one, a plan lists them. */
|
|
970
|
+
readonly afterShip: (context: AfterShipContext, shipped: readonly Shipped[]) => Promise<FollowUp[]>;
|
|
971
|
+
}
|
|
972
|
+
/** How the release itself runs: versions, tags, the release PR, GitHub releases, CI. */
|
|
973
|
+
interface ReleaseFlow {
|
|
974
|
+
readonly type: "flow";
|
|
975
|
+
readonly sourceControl: ServiceAdapter<SourceControlPort>;
|
|
976
|
+
readonly codeHost: ServiceAdapter<CodeHostPort>;
|
|
977
|
+
readonly ciPipeline: ServiceAdapter<CiPipelinePort>;
|
|
978
|
+
readonly versioning: ServiceAdapter<VersioningPort>;
|
|
979
|
+
/** "required": someone else approves the release PR, so shiplane never merges it itself. */
|
|
980
|
+
readonly approval: Approval;
|
|
981
|
+
}
|
|
982
|
+
//#endregion
|
|
983
|
+
//#region src/application/config/defineRelease.d.ts
|
|
984
|
+
/** How a repository releases: the flow, what gets released in order, and what happens around it. */
|
|
985
|
+
interface ReleaseConfig {
|
|
986
|
+
/** Folders to look in, `dir/*` or exact. Without it, the workspace file decides. */
|
|
987
|
+
units?: string[];
|
|
988
|
+
/** How the release itself runs: an adapter per port, each from its plugin. */
|
|
989
|
+
flow: ReleaseFlow;
|
|
990
|
+
/** What gets released, in this order. The first app is the repository's Latest release. */
|
|
991
|
+
modules: ReleaseModule[];
|
|
992
|
+
/** What happens around a release, after the ship, in this order. */
|
|
993
|
+
features?: Feature[];
|
|
994
|
+
/**
|
|
995
|
+
* How a tag names a version: `"package"` (`{name}@{version}`, the default), `"plugin"` (`{name}--v{version}`), `"single"` (`v{version}`, one unit only), `"module"` (`{name}/v{version}`), or a format of your own.
|
|
996
|
+
*/
|
|
997
|
+
tag?: TagFormatName | (string & {});
|
|
998
|
+
/** How much the release says while it runs; `--verbose` and `--mascot` (or `--no-…`) override. */
|
|
999
|
+
display?: DisplayChoice;
|
|
1000
|
+
/**
|
|
1001
|
+
* The pull request comment of a test version (`shiplane test-release`): `comments.table` (the default),
|
|
1002
|
+
* `comments.compact`, or text of your own with `{branch}`, `{commit}`, `{table}` and `{install}`.
|
|
1003
|
+
*/
|
|
1004
|
+
testComment?: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* Which channel each branch's test release (`shiplane test-release`) publishes on: a preset such
|
|
1007
|
+
* as `testReleases.gitflow`, or a map such as `{ main: channels.nightly, "release/*": channels.beta }`.
|
|
1008
|
+
* A key is a branch or a `*` pattern; a branch not listed publishes a snapshot. Without it, every
|
|
1009
|
+
* branch does. `shiplane test-release <channel>` picks another for one run.
|
|
1010
|
+
*/
|
|
1011
|
+
testRelease?: TestReleaseBranches;
|
|
1012
|
+
/**
|
|
1013
|
+
* How a unit ships when both ways can: `"ci"` (the flow's CI pipeline, such as GitHub Actions) or
|
|
1014
|
+
* `"local"` (this machine). Without it, each ship asks. `--via` still wins for one run; a way that
|
|
1015
|
+
* cannot ship takes the other.
|
|
1016
|
+
*/
|
|
1017
|
+
via?: "ci" | "local";
|
|
1018
|
+
/**
|
|
1019
|
+
* A shell command run from the root before each unit ships from this machine (a laptop or a
|
|
1020
|
+
* runner), never before a CI dispatch: `{unit}` is the unit's name, `{dir}` its folder from the
|
|
1021
|
+
* root, such as `"pnpm --filter {unit}... build"`. A failure fails that unit.
|
|
1022
|
+
*/
|
|
1023
|
+
prepare?: string;
|
|
1024
|
+
}
|
|
1025
|
+
declare const defineRelease: (config: ReleaseConfig) => ReleaseConfig;
|
|
1026
|
+
//#endregion
|
|
1027
|
+
//#region src/domain/branchRelease.d.ts
|
|
1028
|
+
/** What `shiplane` does on the default branch: the real release, or (`shiplane branch`) a test version. */
|
|
1029
|
+
type OnDefault = "release" | "publish";
|
|
1030
|
+
/**
|
|
1031
|
+
* The pull request comment presets: `table`, the install table with its notes (the default), and
|
|
1032
|
+
* `compact`, one line. Each is a template, as is any text of your own.
|
|
1033
|
+
*/
|
|
1034
|
+
declare const comments: {
|
|
1035
|
+
readonly table: string;
|
|
1036
|
+
readonly compact: "📦 Test version of `{branch}` ({commit}): {install}\n";
|
|
1037
|
+
};
|
|
1038
|
+
//#endregion
|
|
681
1039
|
//#region src/ports/mobile-distribution.port.d.ts
|
|
682
1040
|
/**
|
|
683
1041
|
* Ships a mobile app to the stores or over the air: EAS today. Its own platform knows what is live,
|
|
@@ -711,6 +1069,13 @@ interface PackageRegistryPort<Options = Record<string, unknown>> extends Deliver
|
|
|
711
1069
|
readonly capability: "package-registry";
|
|
712
1070
|
/** Publish, move a tag, or nothing: the registry, not GitHub Deployments, knows what is out. */
|
|
713
1071
|
decide(context: DecideContext, input: JobInput<Options>): Promise<Decision>;
|
|
1072
|
+
/** The name it publishes the app under, when a rename it is told differs from the workspace name. */
|
|
1073
|
+
publishedName?(input: JobInput<Options>): string;
|
|
1074
|
+
/**
|
|
1075
|
+
* Every version of the package the registry holds, for a test release to number its next one.
|
|
1076
|
+
* Without it, a test release only publishes snapshots.
|
|
1077
|
+
*/
|
|
1078
|
+
publishedVersions?(context: DecideContext, input: JobInput<Options>): Promise<string[]>;
|
|
714
1079
|
/** The version is out on the environment: published, and its dist-tag points at it. */
|
|
715
1080
|
live(context: DecideContext, input: JobInput<Options>): Promise<boolean>;
|
|
716
1081
|
}
|
|
@@ -727,5 +1092,101 @@ interface StaticHostingPort<Options = Record<string, unknown>> extends Delivery<
|
|
|
727
1092
|
readonly capability: "static-hosting";
|
|
728
1093
|
}
|
|
729
1094
|
//#endregion
|
|
730
|
-
|
|
731
|
-
|
|
1095
|
+
//#region src/adapters/defineDelivery.d.ts
|
|
1096
|
+
/**
|
|
1097
|
+
* What an adapter author writes in one object: the recipe's static parts (name, settings, what setup
|
|
1098
|
+
* and doctor ask) and the port's members, which read the settings typed.
|
|
1099
|
+
*/
|
|
1100
|
+
type Authored<Port extends {
|
|
1101
|
+
capability: string;
|
|
1102
|
+
}, Schema extends z.ZodObject> = Omit<Port, "capability"> & Omit<DeliveryAdapter<Port>, "create" | "settings" | "capability"> & {
|
|
1103
|
+
readonly settings: Schema;
|
|
1104
|
+
};
|
|
1105
|
+
type Typed<Schema extends z.ZodObject> = Resolved<z.output<Schema>>;
|
|
1106
|
+
declare const defineServerHosting: <const Schema extends z.ZodObject>(adapter: Authored<ServerHostingPort<Typed<Schema>>, Schema>) => DeliveryAdapter<ServerHostingPort>;
|
|
1107
|
+
declare const defineStaticHosting: <const Schema extends z.ZodObject>(adapter: Authored<StaticHostingPort<Typed<Schema>>, Schema>) => DeliveryAdapter<StaticHostingPort>;
|
|
1108
|
+
declare const defineMobileDistribution: <const Schema extends z.ZodObject>(adapter: Authored<MobileDistributionPort<Typed<Schema>>, Schema> & Required<Pick<DeliveryAdapter<MobileDistributionPort>, "decidedBy">>) => DeliveryAdapter<MobileDistributionPort>;
|
|
1109
|
+
declare const definePackageRegistry: <const Schema extends z.ZodObject>(adapter: Authored<PackageRegistryPort<Typed<Schema>>, Schema>) => DeliveryAdapter<PackageRegistryPort>;
|
|
1110
|
+
//#endregion
|
|
1111
|
+
//#region src/application/releaseFlow.d.ts
|
|
1112
|
+
/** How the release itself runs, given an adapter for each port it runs on. */
|
|
1113
|
+
declare const releaseFlow: (ports: {
|
|
1114
|
+
sourceControl: ServiceAdapter<SourceControlPort>;
|
|
1115
|
+
codeHost: ServiceAdapter<CodeHostPort>;
|
|
1116
|
+
ciPipeline: ServiceAdapter<CiPipelinePort>;
|
|
1117
|
+
versioning: ServiceAdapter<VersioningPort>; /** "required" when someone else approves the release PR; "none", the default, merges it here. */
|
|
1118
|
+
approval?: Approval;
|
|
1119
|
+
}) => ReleaseFlow;
|
|
1120
|
+
//#endregion
|
|
1121
|
+
//#region src/modules/deliveryModule.d.ts
|
|
1122
|
+
/** What every module of apps takes besides its adapter: a name, when two of a kind sit side by side. */
|
|
1123
|
+
interface Named {
|
|
1124
|
+
/** What an app's unit file names; the module's kind by default. */
|
|
1125
|
+
name?: string;
|
|
1126
|
+
}
|
|
1127
|
+
//#endregion
|
|
1128
|
+
//#region src/modules/backend-service/backend-service.module.d.ts
|
|
1129
|
+
/** A long-lived service, such as an API: deployed from its tag, recorded with the code host. */
|
|
1130
|
+
declare const backendService: ({
|
|
1131
|
+
name,
|
|
1132
|
+
serverHosting
|
|
1133
|
+
}: Named & {
|
|
1134
|
+
serverHosting: DeliveryAdapter<ServerHostingPort>;
|
|
1135
|
+
}) => ReleaseModule;
|
|
1136
|
+
//#endregion
|
|
1137
|
+
//#region src/modules/agent-plugin/agent-plugin.module.d.ts
|
|
1138
|
+
/**
|
|
1139
|
+
* A plugin for coding agents, such as a Claude Code, Codex or Cursor plugin: a release versions it,
|
|
1140
|
+
* writes the version into each agent's manifest in the release PR, tags it and publishes its notes.
|
|
1141
|
+
* Nothing deploys it: agents install it from the repository, so merging the release PR ships it.
|
|
1142
|
+
*/
|
|
1143
|
+
declare const agentPlugin: ({
|
|
1144
|
+
name
|
|
1145
|
+
}?: Named) => ReleaseModule;
|
|
1146
|
+
//#endregion
|
|
1147
|
+
//#region src/modules/internal-tool/internal-tool.module.d.ts
|
|
1148
|
+
/**
|
|
1149
|
+
* An app nothing deploys, such as a CLI run from the repository: a release versions it, tags it and
|
|
1150
|
+
* publishes its notes, and every environment counts it as shipped once tagged.
|
|
1151
|
+
*/
|
|
1152
|
+
declare const internalTool: ({
|
|
1153
|
+
name
|
|
1154
|
+
}?: Named) => ReleaseModule;
|
|
1155
|
+
//#endregion
|
|
1156
|
+
//#region src/modules/mobile-app/mobile-app.module.d.ts
|
|
1157
|
+
/**
|
|
1158
|
+
* A mobile app: its distribution decides between a store build and an over-the-air update, adds to
|
|
1159
|
+
* the release PR, and says how a version does before it is promoted.
|
|
1160
|
+
*/
|
|
1161
|
+
declare const mobileApp: ({
|
|
1162
|
+
name,
|
|
1163
|
+
mobileDistribution
|
|
1164
|
+
}: Named & {
|
|
1165
|
+
mobileDistribution: DeliveryAdapter<MobileDistributionPort>;
|
|
1166
|
+
}) => ReleaseModule;
|
|
1167
|
+
//#endregion
|
|
1168
|
+
//#region src/modules/published-package/published-package.module.d.ts
|
|
1169
|
+
/** A package others install: its registry, not deploy records, knows what is out. */
|
|
1170
|
+
declare const publishedPackage: ({
|
|
1171
|
+
name,
|
|
1172
|
+
packageRegistry
|
|
1173
|
+
}: Named & {
|
|
1174
|
+
packageRegistry: DeliveryAdapter<PackageRegistryPort>;
|
|
1175
|
+
}) => ReleaseModule;
|
|
1176
|
+
//#endregion
|
|
1177
|
+
//#region src/modules/web-app/web-app.module.d.ts
|
|
1178
|
+
/** A static site, built against the environment it ships to. */
|
|
1179
|
+
declare const webApp: ({
|
|
1180
|
+
name,
|
|
1181
|
+
staticHosting
|
|
1182
|
+
}: Named & {
|
|
1183
|
+
staticHosting: DeliveryAdapter<StaticHostingPort>;
|
|
1184
|
+
}) => ReleaseModule;
|
|
1185
|
+
//#endregion
|
|
1186
|
+
//#region src/adapters/server-hosting/shell-server-hosting.adapter.d.ts
|
|
1187
|
+
/** Anything a command ships: the escape hatch until a host has its own adapter. */
|
|
1188
|
+
type ShellServerHostingAdapter = DeliveryAdapter<ServerHostingPort>;
|
|
1189
|
+
declare const shellServerHosting: () => ShellServerHostingAdapter;
|
|
1190
|
+
//#endregion
|
|
1191
|
+
export { StepPlace as $, MascotMoment as $t, Adapter as A, StatusPlan as At, JobInput as B, TAG_FORMATS as Bt, Feature as C, MergeMethod as Ct, ReleaseModule as D, AppBump as Dt, ReleaseFlow as E, ReleaseStep as Et, DecideContext as F, TestReleaseBranches as Ft, VersionChoice as G, PerEnv as Gt, Requirement as H, isReleaseSubject as Ht, Decision as I, channels as It, Choice as J, ReleaseUnit as Jt, VersionContribution as K, perEnv as Kt, Delivery as L, testReleases as Lt, DeliveryAdapter as M, appBumps as Mt, ServiceAdapter as N, splitChangesets as Nt, Shipped as O, BumpLevel as Ot, Command as P, Channel as Pt, Prompter as Q, Mascot as Qt, Health as R, DEFAULT_TAG_FORMAT as Rt, AfterShipContext as S, Approval as St, Open as T, OpenPr as Tt, Resolved as U, previousTag as Ut, Refusal as V, TagFormatName as Vt, ShipKind as W, tagName as Wt, Output as X, isEnvVarName as Xt, Clock as Y, EnvVarName as Yt, Progress as Z, DisplayChoice as Zt, MobileDistributionPort as _, billedMinutes as _t, mobileApp as a, RunOptions as at, ReleaseConfig as b, deployState as bt, backendService as c, CallerWorkflow as ct, definePackageRegistry as d, Deploy as dt, Mood as en, SourceControlPort as et, defineServerHosting as f, IssueRef as ft, PackageRegistryPort as g, actionsMinutes as gt, ServerHostingPort as h, ActionsMinutes as ht, publishedPackage as i, CommandFailed as it, AdapterContext as j, UnitRef as jt, VersioningPort as k, PlannedChangeset as kt, releaseFlow as l, CiPipelinePort as lt, StaticHostingPort as m, issueName as mt, shellServerHosting as n, Environment as nn, releaseSource as nt, internalTool as o, Shell as ot, defineStaticHosting as p, LinkedPr as pt, BatchPlace as q, PlatformEnvPort as qt, webApp as r, yesAllowed as rt, agentPlugin as s, ShellResult as st, z$1 as t, progressBar as tn, GitPosition as tt, defineMobileDistribution as u, CodeHostPort as ut, OnDefault as v, DeployPath as vt, FollowUp as w, MergeMethods as wt, defineRelease as x, onlyVersionFiles as xt, comments as y, deployRunTitle as yt, Job as z, ReleaseTag as zt };
|
|
1192
|
+
//# sourceMappingURL=index-B1Rd22nM.d.ts.map
|