shiplane 0.2.0 → 0.4.0

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,32 +0,0 @@
1
- import "./perEnv-B7AiYnW_.js";
2
- import "./shell-server-hosting.adapter-DobfDqFm.js";
3
- import { z, z as z$1 } from "zod";
4
- //#region src/application/config/defineRelease.ts
5
- const defineRelease = (config) => config;
6
- //#endregion
7
- //#region src/modules/internal-tool/internal-tool.module.ts
8
- /**
9
- * An app nothing deploys, such as a CLI run from the repository: a release versions it, tags it and
10
- * publishes its notes, and every environment counts it as shipped once tagged.
11
- */
12
- const internalTool = ({ name = "internal-tool" } = {}) => ({
13
- type: "module",
14
- name,
15
- kind: "internal-tool",
16
- provider: "release-only",
17
- settings: z.object({}),
18
- adapters: [],
19
- releaseOnly: true,
20
- ship: () => ({
21
- where: "its tag and release notes, nothing deploys it",
22
- jobs: []
23
- }),
24
- decide: () => Promise.resolve({
25
- action: "none",
26
- status: "released, nothing deploys it"
27
- })
28
- });
29
- //#endregion
30
- export { internalTool as n, defineRelease as r, z$1 as t };
31
-
32
- //# sourceMappingURL=src-CGASfBy2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"src-CGASfBy2.js","names":[],"sources":["../src/application/config/defineRelease.ts","../src/modules/internal-tool/internal-tool.module.ts"],"sourcesContent":["import type { DisplayChoice } from \"../../domain/display\";\nimport type { Feature, ReleaseFlow, ReleaseModule } from \"../../modules/module\";\n\n/** How a repository releases: the flow, what gets released in order, and what happens around it. */\nexport interface ReleaseConfig {\n /** Folders to look in, `dir/*` or exact. Without it, the workspace file decides. */\n units?: string[];\n /** How the release itself runs: an adapter per port, each from its plugin. */\n flow: ReleaseFlow;\n /** What gets released, in this order. The first app is the repository's Latest release. */\n modules: ReleaseModule[];\n /** What happens around a release, after the ship, in this order. */\n features?: Feature[];\n /** How a tag names a version: `{name}@{version}` when absent, or e.g. `v{version}`, `{name}--v{version}`. */\n tag?: string;\n /**\n * A unit whose folder changed with no changeset naming it: `\"ignore\"` (the default, as changesets\n * does) leaves it, `\"release\"` offers it with a changelog from its commits.\n */\n commitsWithoutChangeset?: \"release\" | \"ignore\";\n /** How much the release says while it runs; `--verbose` and `--mascot` (or `--no-…`) override. */\n display?: DisplayChoice;\n}\n\nexport const defineRelease = (config: ReleaseConfig): ReleaseConfig => config;\n","import { z } from \"zod\";\n\nimport type { Named } from \"../deliveryModule\";\nimport type { ReleaseModule } from \"../module\";\n\n/**\n * An app nothing deploys, such as a CLI run from the repository: a release versions it, tags it and\n * publishes its notes, and every environment counts it as shipped once tagged.\n */\nexport const internalTool = ({ name = \"internal-tool\" }: Named = {}): ReleaseModule => ({\n type: \"module\",\n name,\n kind: \"internal-tool\",\n // What output named it before modules: the release PR and status keep saying it.\n provider: \"release-only\",\n settings: z.object({}),\n adapters: [],\n releaseOnly: true,\n ship: () => ({ where: \"its tag and release notes, nothing deploys it\", jobs: [] }),\n decide: () => Promise.resolve({ action: \"none\", status: \"released, nothing deploys it\" }),\n});\n"],"mappings":";;;;AAwBA,MAAa,iBAAiB,WAAyC;;;;;;;ACfvE,MAAa,gBAAgB,EAAE,OAAO,oBAA2B,EAAE,MAAqB;CACtF,MAAM;CACN;CACA,MAAM;CAEN,UAAU;CACV,UAAU,EAAE,OAAO,EAAE,CAAC;CACtB,UAAU,EAAE;CACZ,aAAa;CACb,aAAa;EAAE,OAAO;EAAiD,MAAM,EAAE;EAAE;CACjF,cAAc,QAAQ,QAAQ;EAAE,QAAQ;EAAQ,QAAQ;EAAgC,CAAC;CAC1F"}
@@ -1,19 +0,0 @@
1
- //#region src/domain/tags.d.ts
2
- /** How a tag names a unit's version unless the config says otherwise. */
3
- declare const DEFAULT_TAG_FORMAT = "{name}@{version}";
4
- /** A unit's tag for a version, through a format like `v{version}` or `{name}--v{version}`. */
5
- declare const tagName: (app: string, version: string, format?: string) => string;
6
- interface ReleaseTag {
7
- /** The unit's name. */
8
- app: string;
9
- version: string;
10
- tag: string;
11
- sha: string;
12
- needsTag: boolean;
13
- needsNotes: boolean;
14
- }
15
- /** A release pull request's subject: `chore(api): release v0.0.4`, or `chore(release): ...` for several. */
16
- declare const isReleaseSubject: (subject: string) => boolean;
17
- //#endregion
18
- export { tagName as i, ReleaseTag as n, isReleaseSubject as r, DEFAULT_TAG_FORMAT as t };
19
- //# sourceMappingURL=tags-Bn3JrgPI.d.ts.map