shiplane 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { $ as OpenPr, B as LinkedPr, H as ActionsMinutes, I as CiPipelinePort, L as CodeHostPort, O as SourceControlPort, Q as MergeMethods, R as Deploy, Z as MergeMethod, a as VersioningPort, c as DeliveryAdapter, d as DecideContext, g as JobInput, h as Job, i as MobileDistributionPort, k as GitPosition, l as ServiceAdapter, m as Health, mt as Environment, n as ServerHostingPort, nt as PlannedChangeset, r as PackageRegistryPort, rt as StatusPlan, t as StaticHostingPort, v as Requirement, z as IssueRef } from "./static-hosting.port-mknLsxwR.js";
1
+ import { $ as OpenPr, B as LinkedPr, H as ActionsMinutes, I as CiPipelinePort, L as CodeHostPort, O as SourceControlPort, Q as MergeMethods, R as Deploy, Z as MergeMethod, a as VersioningPort, c as DeliveryAdapter, d as DecideContext, g as JobInput, h as Job, i as MobileDistributionPort, it as StatusPlan, k as GitPosition, l as ServiceAdapter, m as Health, mt as Environment, n as ServerHostingPort, nt as BumpLevel, r as PackageRegistryPort, rt as PlannedChangeset, t as StaticHostingPort, v as Requirement, z as IssueRef } from "./static-hosting.port-DaIJfr1x.js";
2
2
 
3
3
  //#region src/adapters/source-control/__fakes__/source-control.fake.d.ts
4
4
  interface SourceState {
@@ -11,8 +11,6 @@ interface SourceState {
11
11
  sha: string;
12
12
  subject: string;
13
13
  }>;
14
- /** `<sha>:<dir>` → subjects of the commits since, newest first. */
15
- subjects: Record<string, string[]>;
16
14
  /** `<ref>:<file>` → its text at that ref. */
17
15
  files: Record<string, string>;
18
16
  /** `<from>..<to>` → the files that differ. */
@@ -77,7 +75,6 @@ declare class SourceControlFake implements SourceControlPort {
77
75
  sha: string;
78
76
  subject: string;
79
77
  }>;
80
- subjectsSince: (sha: string, dir: string) => Promise<string[]>;
81
78
  changedFiles: () => Promise<string[]>;
82
79
  diffNames: (from: string, to: string) => Promise<string[]>;
83
80
  commitsBetween: (from: string, to: string) => Promise<{
@@ -237,13 +234,13 @@ declare const ciPipelineFake: (fake?: CiPipelineFake) => ServiceAdapter<CiPipeli
237
234
  };
238
235
  //#endregion
239
236
  //#region src/adapters/versioning/__fakes__/versioning.fake.d.ts
240
- type PlanOf = (added: PlannedChangeset[], held: PlannedChangeset[]) => StatusPlan;
237
+ type PlanOf = (added: PlannedChangeset[], held: PlannedChangeset[], ceiling?: BumpLevel) => StatusPlan;
241
238
  interface VersioningState {
242
239
  pending: {
243
240
  id: string;
244
241
  text: string;
245
242
  }[];
246
- /** What `changeset status` would answer, given what the release adds and holds back. */
243
+ /** What `changeset status` would answer, given what the release adds, holds back and caps. */
247
244
  plan: PlanOf;
248
245
  dependencies: Record<string, string[]>;
249
246
  folders: Record<string, string>;
@@ -254,6 +251,7 @@ declare class VersioningFake implements VersioningPort {
254
251
  readonly applied: {
255
252
  added: PlannedChangeset[];
256
253
  held: PlannedChangeset[];
254
+ ceiling?: BumpLevel;
257
255
  }[];
258
256
  readonly written: PlannedChangeset[];
259
257
  seed(state: Partial<VersioningState>): this;
@@ -261,11 +259,12 @@ declare class VersioningFake implements VersioningPort {
261
259
  id: string;
262
260
  text: string;
263
261
  }[]>;
264
- plan: (added: PlannedChangeset[], held: PlannedChangeset[]) => Promise<StatusPlan>;
262
+ plan: (added: PlannedChangeset[], held: PlannedChangeset[], ceiling?: BumpLevel) => Promise<StatusPlan>;
265
263
  dependencies: () => Promise<Record<string, string[]>>;
266
264
  folders: () => Promise<Record<string, string>>;
267
- apply: (added: PlannedChangeset[], held: PlannedChangeset[]) => Promise<void>;
265
+ apply: (added: PlannedChangeset[], held: PlannedChangeset[], ceiling?: BumpLevel) => Promise<void>;
268
266
  write: (changeset: PlannedChangeset) => Promise<void>;
267
+ nextChange: string;
269
268
  changesetFile: (id: string) => string;
270
269
  changelogFile: (dir: string) => string;
271
270
  }
@@ -441,4 +440,4 @@ declare const packageRegistryFake: (fake?: PackageRegistryFake) => DeliveryAdapt
441
440
  };
442
441
  //#endregion
443
442
  export { VersioningFake as a, ciPipelineFake as c, codeHostFake as d, SourceControlFake as f, serverHostingFake as i, CodeHostFake as l, mobileDistributionFake as n, versioningFake as o, sourceControlFake as p, staticHostingFake as r, CiPipelineFake as s, packageRegistryFake as t, HostEvent as u };
444
- //# sourceMappingURL=package-registry.fake-CC37ptzf.d.ts.map
443
+ //# sourceMappingURL=package-registry.fake-DOI4N4yu.d.ts.map
package/dist/plugin.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as releaseSource, B as LinkedPr, F as ShellResult, I as CiPipelinePort, J as onlyVersionFiles, K as deployRunTitle, L as CodeHostPort, M as CommandFailed, O as SourceControlPort, P as Shell, R as Deploy, U as actionsMinutes, V as issueName, W as billedMinutes, _ as Refusal, a as VersioningPort, b as VersionChoice, c as DeliveryAdapter, ct as ReleaseUnit, d as DecideContext, dt as MascotMoment, f as Decision, g as JobInput, h as Job, i as MobileDistributionPort, j as yesAllowed, k as GitPosition, l as ServiceAdapter, m as Health, mt as Environment, n as ServerHostingPort, nt as PlannedChangeset, o as Adapter, ot as appBumps, pt as progressBar, q as deployState, r as PackageRegistryPort, rt as StatusPlan, s as AdapterContext, t as StaticHostingPort, tt as AppBump, u as Command, ut as Mascot, v as Requirement, y as Resolved, z as IssueRef } from "./static-hosting.port-mknLsxwR.js";
2
- import { A as perEnv, C as DEFAULT_TAG_FORMAT, D as isReleaseSubject, E as TagFormatName, O as tagName, S as Shipped, T as TAG_FORMATS, _ as Feature, a as mobileApp, b as ReleaseFlow, c as backendService, d as definePackageRegistry, f as defineServerHosting, g as AfterShipContext, h as defineRelease, i as publishedPackage, k as PerEnv, l as releaseFlow, m as ReleaseConfig, n as shellServerHosting, o as internalTool, p as defineStaticHosting, r as webApp, s as agentPlugin, t as z, u as defineMobileDistribution, v as FollowUp, x as ReleaseModule } from "./index-Cb8R0RIA.js";
1
+ import { A as releaseSource, B as LinkedPr, F as ShellResult, I as CiPipelinePort, J as onlyVersionFiles, K as deployRunTitle, L as CodeHostPort, M as CommandFailed, O as SourceControlPort, P as Shell, R as Deploy, U as actionsMinutes, V as issueName, W as billedMinutes, _ as Refusal, a as VersioningPort, b as VersionChoice, c as DeliveryAdapter, ct as ReleaseUnit, d as DecideContext, dt as MascotMoment, f as Decision, g as JobInput, h as Job, i as MobileDistributionPort, it as StatusPlan, j as yesAllowed, k as GitPosition, l as ServiceAdapter, m as Health, mt as Environment, n as ServerHostingPort, nt as BumpLevel, o as Adapter, ot as appBumps, pt as progressBar, q as deployState, r as PackageRegistryPort, rt as PlannedChangeset, s as AdapterContext, t as StaticHostingPort, tt as AppBump, u as Command, ut as Mascot, v as Requirement, y as Resolved, z as IssueRef } from "./static-hosting.port-DaIJfr1x.js";
2
+ import { A as perEnv, C as DEFAULT_TAG_FORMAT, D as isReleaseSubject, E as TagFormatName, O as tagName, S as Shipped, T as TAG_FORMATS, _ as Feature, a as mobileApp, b as ReleaseFlow, c as backendService, d as definePackageRegistry, f as defineServerHosting, g as AfterShipContext, h as defineRelease, i as publishedPackage, k as PerEnv, l as releaseFlow, m as ReleaseConfig, n as shellServerHosting, o as internalTool, p as defineStaticHosting, r as webApp, s as agentPlugin, t as z, u as defineMobileDistribution, v as FollowUp, x as ReleaseModule } from "./index-CxyLUqKJ.js";
3
3
 
4
4
  //#region src/domain/versions.d.ts
5
5
  /** Negative, zero or positive, like a sort comparator: "0.1.10" is after "0.1.9". */
@@ -19,5 +19,5 @@ declare const workspacePatterns: (from: string | WorkspaceReader) => string[];
19
19
  /** Folders matching `dir/*` or an exact path, sorted. Negations and deeper globs are skipped. */
20
20
  declare const expandPatterns: (from: string | WorkspaceReader, patterns: readonly string[]) => string[];
21
21
  //#endregion
22
- export { Adapter, AdapterContext, type AfterShipContext, type AppBump, CiPipelinePort, CodeHostPort, type Command, CommandFailed, DEFAULT_TAG_FORMAT, type DecideContext, type Decision, DeliveryAdapter, type Deploy, Environment, Feature, type FollowUp, type GitPosition, type Health, type IssueRef, type Job, type JobInput, type LinkedPr, Mascot, MascotMoment, MobileDistributionPort, PackageRegistryPort, PerEnv, type PlannedChangeset, type Refusal, ReleaseConfig, ReleaseFlow, ReleaseModule, ReleaseUnit, type Requirement, type Resolved, ServerHostingPort, ServiceAdapter, type Shell, type ShellResult, type Shipped, SourceControlPort, StaticHostingPort, type StatusPlan, TAG_FORMATS, type TagFormatName, type VersionChoice, VersioningPort, actionsMinutes, agentPlugin, appBumps, backendService, billedMinutes, compareVersions, defineMobileDistribution, definePackageRegistry, defineRelease, defineServerHosting, defineStaticHosting, deployRunTitle, deployState, expandPatterns, internalTool, isReleaseSubject, issueName, mobileApp, nextPatch, onlyVersionFiles, perEnv, progressBar, publishedPackage, releaseFlow, releaseSource, shellServerHosting, tagName, webApp, workspacePatterns, yesAllowed, z };
22
+ export { Adapter, AdapterContext, type AfterShipContext, type AppBump, type BumpLevel, CiPipelinePort, CodeHostPort, type Command, CommandFailed, DEFAULT_TAG_FORMAT, type DecideContext, type Decision, DeliveryAdapter, type Deploy, Environment, Feature, type FollowUp, type GitPosition, type Health, type IssueRef, type Job, type JobInput, type LinkedPr, Mascot, MascotMoment, MobileDistributionPort, PackageRegistryPort, PerEnv, type PlannedChangeset, type Refusal, ReleaseConfig, ReleaseFlow, ReleaseModule, ReleaseUnit, type Requirement, type Resolved, ServerHostingPort, ServiceAdapter, type Shell, type ShellResult, type Shipped, SourceControlPort, StaticHostingPort, type StatusPlan, TAG_FORMATS, type TagFormatName, type VersionChoice, VersioningPort, actionsMinutes, agentPlugin, appBumps, backendService, billedMinutes, compareVersions, defineMobileDistribution, definePackageRegistry, defineRelease, defineServerHosting, defineStaticHosting, deployRunTitle, deployState, expandPatterns, internalTool, isReleaseSubject, issueName, mobileApp, nextPatch, onlyVersionFiles, perEnv, progressBar, publishedPackage, releaseFlow, releaseSource, shellServerHosting, tagName, webApp, workspacePatterns, yesAllowed, z };
23
23
  //# sourceMappingURL=plugin.d.ts.map
package/dist/plugin.js CHANGED
@@ -2,7 +2,7 @@ import { t as perEnv } from "./perEnv-B7AiYnW_.js";
2
2
  import { i as defineRelease, n as internalTool, r as agentPlugin, t as z } from "./src-Dqo5lgrW.js";
3
3
  import { a as defineStaticHosting, i as defineServerHosting, n as defineMobileDistribution, r as definePackageRegistry, t as shellServerHosting } from "./shell-server-hosting.adapter-DobfDqFm.js";
4
4
  import { a as releaseFlow, i as backendService, n as publishedPackage, r as mobileApp, t as webApp } from "./web-app.module-6KrXIU7j.js";
5
- import { A as expandPatterns, E as isReleaseSubject, S as TAG_FORMATS, _ as compareVersions, a as CommandFailed, b as yesAllowed, c as onlyVersionFiles, d as appBumps, j as workspacePatterns, k as tagName, n as billedMinutes, o as deployRunTitle, s as deployState, t as actionsMinutes, v as nextPatch, x as DEFAULT_TAG_FORMAT, y as releaseSource } from "./budget-CTjB1v-Z.js";
5
+ import { A as workspacePatterns, O as tagName, T as isReleaseSubject, a as CommandFailed, b as DEFAULT_TAG_FORMAT, c as onlyVersionFiles, d as appBumps, g as nextPatch, h as compareVersions, k as expandPatterns, n as billedMinutes, o as deployRunTitle, s as deployState, t as actionsMinutes, v as releaseSource, x as TAG_FORMATS, y as yesAllowed } from "./budget-BTnKtGF6.js";
6
6
  import { t as progressBar } from "./display-IqkJ6uCw.js";
7
7
  import { t as issueName } from "./issues-TcWtMTv5.js";
8
8
  export { CommandFailed, DEFAULT_TAG_FORMAT, TAG_FORMATS, actionsMinutes, agentPlugin, appBumps, backendService, billedMinutes, compareVersions, defineMobileDistribution, definePackageRegistry, defineRelease, defineServerHosting, defineStaticHosting, deployRunTitle, deployState, expandPatterns, internalTool, isReleaseSubject, issueName, mobileApp, nextPatch, onlyVersionFiles, perEnv, progressBar, publishedPackage, releaseFlow, releaseSource, shellServerHosting, tagName, webApp, workspacePatterns, yesAllowed, z };