@wtf/release-npm 1.2.0 → 2.0.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.
- package/README.md +65 -42
- package/dist/check.d.ts +5 -5
- package/dist/check.d.ts.map +1 -1
- package/dist/check.js +2 -2
- package/dist/ecosystem.d.ts +46 -7
- package/dist/ecosystem.d.ts.map +1 -1
- package/dist/ecosystem.js +33 -25
- package/dist/ecosystem.js.map +1 -1
- package/dist/errors.d.ts +15 -6
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +15 -6
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +19 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -14
- package/dist/index.js.map +1 -1
- package/dist/manifests.d.ts +13 -13
- package/dist/manifests.d.ts.map +1 -1
- package/dist/manifests.js +9 -37
- package/dist/manifests.js.map +1 -1
- package/dist/prepare.d.ts +1 -1
- package/dist/publishers.d.ts.map +1 -1
- package/dist/publishers.js +22 -17
- package/dist/publishers.js.map +1 -1
- package/dist/release.d.ts +219 -222
- package/dist/release.d.ts.map +1 -1
- package/dist/release.js +501 -378
- package/dist/release.js.map +1 -1
- package/dist/smoke.d.ts +16 -12
- package/dist/smoke.d.ts.map +1 -1
- package/dist/smoke.js +31 -25
- package/dist/smoke.js.map +1 -1
- package/dist/types.d.ts +49 -35
- package/dist/types.d.ts.map +1 -1
- package/dist/workspace.d.ts +29 -11
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +18 -43
- package/dist/workspace.js.map +1 -1
- package/package.json +5 -3
package/dist/release.d.ts
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* and is the channel of no branch. A prerelease never takes `latest`, which every install with no
|
|
9
|
-
* version gets.
|
|
10
|
-
*
|
|
11
|
-
* @param version - The version of the release, as `2.1.0` or `2.1.0-beta.3`.
|
|
12
|
-
* @returns The dist-tag of the version.
|
|
13
|
-
*/
|
|
14
|
-
export declare const distTagOf: (version: string) => string;
|
|
1
|
+
import type { FileSystemDirectoryHandle } from '@wtf/platform/fs';
|
|
2
|
+
import type { ReleasePlatform, RepoContext } from '@wtf/release';
|
|
3
|
+
import type { Plan, Release, Released } from '@wtf/release/contract';
|
|
4
|
+
import { type OrderFault } from '@wtf/release/order';
|
|
5
|
+
import { type Validator } from '@wtf/release/validator';
|
|
6
|
+
import { type NpmPackage } from './manifests.ts';
|
|
7
|
+
import type { NpmAside, NpmOptions, Publisher, PublishPackage } from './types.ts';
|
|
15
8
|
/**
|
|
16
9
|
* The variables of the environment of an ID token the CI gives, of which npm signs provenance:
|
|
17
10
|
* Sigstore's on GitLab, GitHub's OIDC on GitHub Actions. Not `NPM_ID_TOKEN`, of npm's trusted
|
|
@@ -24,33 +17,51 @@ export declare const ID_TOKENS: readonly string[];
|
|
|
24
17
|
* alone, and refuses a publish with provenance of any other, though its CI gives the ID token.
|
|
25
18
|
*/
|
|
26
19
|
export declare const RUNNER_ENVIRONMENTS: readonly string[];
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/** The version of the release. */
|
|
34
|
-
readonly version: string;
|
|
20
|
+
/**
|
|
21
|
+
* The plan of a release of npm packages: a `Plan` of `@wtf/release/contract`, of the packages of
|
|
22
|
+
* `./manifests`, and what a plan of a part of the repo may say besides, as `TrainPlan` of
|
|
23
|
+
* `@wtf/release-trains/plan` does.
|
|
24
|
+
*/
|
|
25
|
+
export interface NpmPlan extends Plan<NpmPackage> {
|
|
35
26
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
27
|
+
* Every package of the part of the repo the release is of, private ones too, of which `pack`
|
|
28
|
+
* picks the private ones: of none, the workspace's.
|
|
38
29
|
*/
|
|
39
|
-
readonly
|
|
30
|
+
readonly packages?: readonly NpmPackage[] | undefined;
|
|
40
31
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* one version, whose tarballs install each other. Of the tags by default (`releasedVersions` of
|
|
44
|
-
* `@wtf/release-trains/packages`).
|
|
32
|
+
* What is wrong with the order of `own`, as `publishOrder` of `@wtf/release/order` finds it of
|
|
33
|
+
* its pins: of none, what it finds of `own` of no pin.
|
|
45
34
|
*/
|
|
46
|
-
readonly
|
|
47
|
-
/** The folder of the repo: the system's working folder by default. */
|
|
48
|
-
readonly cwd?: string | undefined;
|
|
49
|
-
/** The environment git runs in: the system's by default. */
|
|
50
|
-
readonly env?: Readonly<Record<string, string | undefined>> | undefined;
|
|
51
|
-
/** The system it runs by, which it requires. */
|
|
52
|
-
readonly system: System;
|
|
35
|
+
readonly faults?: readonly OrderFault[] | undefined;
|
|
53
36
|
}
|
|
37
|
+
/** The validator of the options of the release of npm packages, each step's. */
|
|
38
|
+
export declare const npmOptionsSchema: Validator<NpmOptions>;
|
|
39
|
+
/**
|
|
40
|
+
* Checks the packages of a plan as they are in the repo, before a release makes them ready: each
|
|
41
|
+
* scoped one public, of a license and a repository, none running with a private package, and an
|
|
42
|
+
* order of publishing that holds, unless `check` is `false`; and each name of `aside` of a package
|
|
43
|
+
* of the workspace. It reads the workspace of the folder of the repo, and writes nothing. Gives the
|
|
44
|
+
* name of each package that publishes, in order; throws `EPUBLISHCHECK` of what is wrong.
|
|
45
|
+
*
|
|
46
|
+
* @param root - The folder of the repo, a handle of the File System standard.
|
|
47
|
+
* @param plan - The packages that publish, in order, and what is wrong with their order.
|
|
48
|
+
* @param options - Whether the packages are checked, the access of each, and the packages of
|
|
49
|
+
* `aside`.
|
|
50
|
+
* @returns The name of each package that publishes, in the order of publishing.
|
|
51
|
+
*/
|
|
52
|
+
export declare function checkPlan(root: FileSystemDirectoryHandle, plan: NpmPlan, options?: Pick<NpmOptions, 'access' | 'check' | 'aside'>): Promise<string[]>;
|
|
53
|
+
/**
|
|
54
|
+
* Checks a release before anything of it is written: its version, one of semver
|
|
55
|
+
* (`EPUBLISHVERSION`), as npm publishes no other; its options, by {@link npmOptionsSchema}
|
|
56
|
+
* (`EOPTIONS`, and `EPUBLISHER` of a publisher that is none); and the packages of its plan as they
|
|
57
|
+
* are in the repo, by {@link checkPlan} (`EPUBLISHCHECK`). The faults of the version and of the
|
|
58
|
+
* options are thrown together, before the packages are read.
|
|
59
|
+
*
|
|
60
|
+
* @param release - The version of the release, the folder of the repo and the platform.
|
|
61
|
+
* @param plan - The packages that publish, in order.
|
|
62
|
+
* @param options - The options of the release.
|
|
63
|
+
*/
|
|
64
|
+
export declare function verifyRelease(release: Release, plan: NpmPlan, options: NpmOptions): Promise<void>;
|
|
54
65
|
/** A package of a release, its manifest as it publishes. */
|
|
55
66
|
export interface ResolvedPackage {
|
|
56
67
|
readonly name: string;
|
|
@@ -59,47 +70,44 @@ export interface ResolvedPackage {
|
|
|
59
70
|
/** Its manifest as it publishes: of the version of the release, its ranges resolved. */
|
|
60
71
|
readonly manifest: Record<string, unknown>;
|
|
61
72
|
}
|
|
62
|
-
/** The packages of a release
|
|
63
|
-
export interface
|
|
64
|
-
/** The name of the train. */
|
|
65
|
-
readonly train: string;
|
|
73
|
+
/** The packages of a release, each manifest as it publishes, in the order to publish. */
|
|
74
|
+
export interface ResolvedRelease {
|
|
66
75
|
readonly version: string;
|
|
67
|
-
readonly distTag: string;
|
|
68
76
|
readonly packages: readonly ResolvedPackage[];
|
|
69
|
-
/** The private packages of `pack`, each manifest as it packs, packed and never published
|
|
70
|
-
readonly packOnly
|
|
77
|
+
/** The private packages of `pack`, each manifest as it packs, packed and never published. */
|
|
78
|
+
readonly packOnly: readonly ResolvedPackage[];
|
|
71
79
|
}
|
|
72
80
|
/**
|
|
73
|
-
* The manifest of each package of the
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* of no check. It writes nothing. Throws `
|
|
80
|
-
*
|
|
81
|
-
* train, or of a train with no release, that reaches the registry, and `EPUBLISHCHECK` of what is
|
|
82
|
-
* wrong with a manifest.
|
|
81
|
+
* The manifest of each package of the plan that publishes, as it publishes, in the order of the
|
|
82
|
+
* plan, and checked: of the version of the release; each `workspace:` range of a package of the
|
|
83
|
+
* plan resolved to that version, as pnpm resolves `workspace:*`, `workspace:^` and `workspace:~`,
|
|
84
|
+
* and of another package of the repo to its version of the plan's `versions`; each export of the
|
|
85
|
+
* source stripped; and of each private package of `pack`, the same, of no check. A devDependency of
|
|
86
|
+
* a package of the workspace of no version is dropped, as no consumer installs it; any other range
|
|
87
|
+
* of no version is left, for the check to find. It writes nothing. Throws `EPUBLISHCHECK` of what
|
|
88
|
+
* is wrong with a manifest, and of a name of `aside` of no package of the workspace.
|
|
83
89
|
*
|
|
84
|
-
* @param release - The
|
|
85
|
-
*
|
|
86
|
-
* @
|
|
90
|
+
* @param release - The version of the release, and the folder of the repo, whose workspace it
|
|
91
|
+
* reads.
|
|
92
|
+
* @param plan - The packages that publish, in order, the versions of the repo, and the packages of
|
|
93
|
+
* `pack`.
|
|
94
|
+
* @param options - The access, the conditions of the source, whether to check, the packages of
|
|
95
|
+
* `aside`, and of `pack`.
|
|
96
|
+
* @returns The packages of the release, each manifest as it publishes, in the order to publish.
|
|
97
|
+
*/
|
|
98
|
+
export declare function resolvePlan(release: Pick<Release, 'root' | 'version'>, plan: NpmPlan, options?: Pick<NpmOptions, 'access' | 'conditions' | 'check' | 'aside' | 'pack'>): Promise<ResolvedRelease>;
|
|
99
|
+
/**
|
|
100
|
+
* How {@link packRelease} packs, and {@link publishPacked} publishes, the packages of a release: of
|
|
101
|
+
* the folder of the repo, `root`, and the platform, of its processes, its environment, which the
|
|
102
|
+
* publisher runs in, and its temporary folders.
|
|
87
103
|
*/
|
|
88
|
-
export
|
|
89
|
-
/** How {@link packTrain} packs, and {@link publishTrain} publishes, the packages of a release. */
|
|
90
|
-
export interface PackOptions {
|
|
104
|
+
export interface PackOptions extends RepoContext<ReleasePlatform> {
|
|
91
105
|
/** The publisher: `npmPublisher` of `./publishers` by default. */
|
|
92
106
|
readonly publisher?: Publisher | undefined;
|
|
93
|
-
/** The folder of the repo: the system's working folder by default. */
|
|
94
|
-
readonly cwd?: string | undefined;
|
|
95
|
-
/** The environment the publisher runs in: the system's by default. */
|
|
96
|
-
readonly env?: Readonly<Record<string, string | undefined>> | undefined;
|
|
97
|
-
/** The system it runs by, which it requires. */
|
|
98
|
-
readonly system: System;
|
|
99
107
|
/**
|
|
100
108
|
* The folder the tarballs are packed into, from the root of the repo or absolute, where they stay
|
|
101
|
-
* after `cleanup`:
|
|
102
|
-
* for git to ignore.
|
|
109
|
+
* after `cleanup`: a folder in the temporary folder of the copies by default, which goes. One in
|
|
110
|
+
* the repo is for git to ignore.
|
|
103
111
|
*/
|
|
104
112
|
readonly tarballDir?: string | undefined;
|
|
105
113
|
/** Whether the run publishes nothing for real, and asks the registry and says what it would. */
|
|
@@ -111,12 +119,9 @@ export interface PackOptions {
|
|
|
111
119
|
*/
|
|
112
120
|
readonly log?: ((line: string) => void) | undefined;
|
|
113
121
|
}
|
|
114
|
-
/** The packages of a release
|
|
115
|
-
export interface
|
|
116
|
-
/** The name of the train. */
|
|
117
|
-
readonly train: string;
|
|
122
|
+
/** The packages of a release, staged and packed by {@link packRelease}. */
|
|
123
|
+
export interface PackedRelease {
|
|
118
124
|
readonly version: string;
|
|
119
|
-
readonly distTag: string;
|
|
120
125
|
readonly publisher: Publisher;
|
|
121
126
|
/** Each package, in the order of publishing, its folder the copy it was packed of. */
|
|
122
127
|
readonly packages: readonly PublishPackage[];
|
|
@@ -124,13 +129,13 @@ export interface PackedTrain {
|
|
|
124
129
|
readonly packOnly: readonly PublishPackage[];
|
|
125
130
|
/** The tarball of each package, by its name, where the publisher packs. */
|
|
126
131
|
readonly tarballs: ReadonlyMap<string, string>;
|
|
127
|
-
/** The folder of the copies, of the
|
|
132
|
+
/** The folder of the copies, a temporary folder of the platform, by its absolute path. */
|
|
128
133
|
readonly staging: string;
|
|
129
134
|
/** The folder the tarballs are in, absolute. */
|
|
130
135
|
readonly tarballDir: string;
|
|
131
136
|
/**
|
|
132
|
-
* Removes the copies, and the tarballs of the folder of the
|
|
133
|
-
*
|
|
137
|
+
* Removes the copies, and the tarballs of the temporary folder of the copies; the tarballs of a
|
|
138
|
+
* folder the caller names stay, as for links of the release of the host.
|
|
134
139
|
*/
|
|
135
140
|
readonly cleanup: () => Promise<void>;
|
|
136
141
|
/**
|
|
@@ -140,34 +145,31 @@ export interface PackedTrain {
|
|
|
140
145
|
readonly discard: () => Promise<void>;
|
|
141
146
|
}
|
|
142
147
|
/**
|
|
143
|
-
* Packs the packages of a release, of the manifests {@link
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
148
|
+
* Packs the packages of a release, of the manifests {@link resolvePlan} gave: each package's folder
|
|
149
|
+
* copied, but its `node_modules`, into a temporary folder of the platform, its manifest as it
|
|
150
|
+
* publishes written into the copy, and each packed there by a publisher that packs, all before the
|
|
151
|
+
* first publish. The repo is left as it is. The copies and the tarballs stay until `cleanup`, and
|
|
152
|
+
* the tarballs of a `tarballDir` the caller names after it too; of a pack that fails, they are
|
|
153
|
+
* removed.
|
|
149
154
|
*
|
|
150
|
-
* @param resolved - The packages of the release, of {@link
|
|
151
|
-
* @param options - The publisher, the folder of the repo, the
|
|
152
|
-
* and the log.
|
|
155
|
+
* @param resolved - The packages of the release, of {@link resolvePlan}.
|
|
156
|
+
* @param options - The publisher, the folder of the repo, the platform, the folder of the
|
|
157
|
+
* tarballs, and the log.
|
|
153
158
|
* @returns The packages packed, their copies and their tarballs, and how each goes.
|
|
154
159
|
*/
|
|
155
|
-
export declare function
|
|
156
|
-
/** How {@link
|
|
160
|
+
export declare function packRelease(resolved: ResolvedRelease, options: PackOptions): Promise<PackedRelease>;
|
|
161
|
+
/** How {@link publishPacked} publishes the packages {@link packRelease} packed. */
|
|
157
162
|
export interface PublishRun extends Omit<PackOptions, 'publisher' | 'tarballDir'> {
|
|
163
|
+
/** The dist-tags of the release, the first its packages publish under. */
|
|
164
|
+
readonly moving: readonly [string, ...string[]];
|
|
158
165
|
/** The access of each package: its `publishConfig.access` by default. */
|
|
159
166
|
readonly access?: 'public' | 'restricted' | undefined;
|
|
160
167
|
/** Whether each is published with the provenance of the build: `auto`, of an ID token. */
|
|
161
168
|
readonly provenance?: boolean | 'auto' | undefined;
|
|
162
169
|
/** The registry: each package's `publishConfig.registry`, or the publisher's, by default. */
|
|
163
170
|
readonly registry?: string | undefined;
|
|
164
|
-
/** The packages
|
|
165
|
-
readonly aside?:
|
|
166
|
-
/**
|
|
167
|
-
* Whether the release is of a branch of maintenance, as semantic-release types its branch: of
|
|
168
|
-
* one, no package goes aside, as its channel is of a line already. `false` by default.
|
|
169
|
-
*/
|
|
170
|
-
readonly maintenance?: boolean | undefined;
|
|
171
|
+
/** The packages that publish aside where their dist-tag points above the release, and where. */
|
|
172
|
+
readonly aside?: NpmAside | undefined;
|
|
171
173
|
}
|
|
172
174
|
/** What {@link publishedOf} finds of the packages of a release on the registry. */
|
|
173
175
|
export interface PublishedOf {
|
|
@@ -175,90 +177,38 @@ export interface PublishedOf {
|
|
|
175
177
|
readonly published: ReadonlySet<string>;
|
|
176
178
|
/**
|
|
177
179
|
* Each package of `aside` whose dist-tag points above the release, by name, which is published
|
|
178
|
-
* under the dist-
|
|
180
|
+
* under the dist-tags of `aside.moving` instead, or was, of one the registry has already.
|
|
179
181
|
*/
|
|
180
182
|
readonly aside: ReadonlySet<string>;
|
|
181
|
-
/** The dist-tag of the line of the release, of the packages of `aside`: none of none. */
|
|
182
|
-
readonly asideTag: string | undefined;
|
|
183
183
|
}
|
|
184
|
-
/**
|
|
185
|
-
* The packages of a packed release that the registry has at its version already, by name, asked by
|
|
186
|
-
* the publisher's {@link Publisher.lookup}, a few at a time; and, of a publisher that reads
|
|
187
|
-
* dist-tags, `EPUBLISHBEHIND` of a package it has not whose dist-tag points above the release, as
|
|
188
|
-
* of an older release published after a newer one, which would move the dist-tag back, but of a
|
|
189
|
-
* package of `aside`, which goes under the dist-tag of its line, unless that points above it too. A
|
|
190
|
-
* package it has is no fault: an older release run again, all of it on the registry, publishes
|
|
191
|
-
* nothing. The plugin asks it in `prepare`, before the tag, and {@link publishTrain} before the
|
|
192
|
-
* first publish.
|
|
193
|
-
*
|
|
194
|
-
* @param packed - The release asked of: its packages, its version, its dist-tag and its publisher.
|
|
195
|
-
* @param run - The registry, the packages of `aside`, the system and the log the run asks by.
|
|
196
|
-
* @returns The packages the registry has at the version, and those that go aside.
|
|
197
|
-
*/
|
|
198
|
-
export declare function publishedOf(packed: LookedUpTrain, run: PublishRun): Promise<PublishedOf>;
|
|
199
184
|
/** What {@link publishedOf} asks of a release: its packages, as packed or as resolved, and how. */
|
|
200
|
-
export type
|
|
185
|
+
export type LookedUpRelease = Pick<PackedRelease, 'version' | 'publisher' | 'packages'>;
|
|
201
186
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
187
|
+
* The packages of a packed release that the registry has at its version already, by name, asked by
|
|
188
|
+
* the publisher's {@link Publisher.lookup}, a few at a time, of the first dist-tag of `moving`;
|
|
189
|
+
* and, of a publisher that reads dist-tags, `EPUBLISHBEHIND` of a package it has not whose dist-tag
|
|
190
|
+
* points above the release, as of an older release published after a newer one, which would move
|
|
191
|
+
* the dist-tag back, but of a package of `aside`, which goes under the dist-tags of `aside.moving`,
|
|
192
|
+
* unless the first of them points above it too. A package it has is no fault: an older release run
|
|
193
|
+
* again, all of it on the registry, publishes nothing. {@link prepareRelease} asks it, before
|
|
194
|
+
* anything is published, and {@link publishPacked} before the first publish.
|
|
205
195
|
*
|
|
206
|
-
* @param
|
|
207
|
-
* @param run - The
|
|
208
|
-
* asks by.
|
|
196
|
+
* @param packed - The release asked of: its packages, its version and its publisher.
|
|
197
|
+
* @param run - The dist-tags, the registry, the packages of `aside`, the platform and the log the
|
|
198
|
+
* run asks by.
|
|
209
199
|
* @returns The packages the registry has at the version, and those that go aside.
|
|
210
200
|
*/
|
|
211
|
-
export declare function
|
|
212
|
-
/**
|
|
213
|
-
* Publishes the packages {@link packTrain} packed, each in order, under the dist-tag of the
|
|
214
|
-
* channel, with the provenance of the build where the CI gives an ID token, and skips each the
|
|
215
|
-
* registry has at the version already. It leaves the copies and the tarballs, for `cleanup`.
|
|
216
|
-
* Before the first, it asks the registry by {@link publishedOf}: `EPUBLISHBEHIND` of a release that
|
|
217
|
-
* would move a dist-tag back, and nothing published.
|
|
218
|
-
*
|
|
219
|
-
* @param packed - The packages of the release, of {@link packTrain}.
|
|
220
|
-
* @param run - The access, the provenance, the registry, the system and the log of the publish.
|
|
221
|
-
* @returns What was published, and what was skipped, of each package.
|
|
222
|
-
*/
|
|
223
|
-
export declare function publishTrain(packed: PackedTrain, run: PublishRun): Promise<PublishedTrain>;
|
|
224
|
-
/** A release of a train {@link releaseTrain} publishes: what each of its three steps takes. */
|
|
225
|
-
export type ReleaseRun = ResolveRelease & PackOptions & PublishRun;
|
|
226
|
-
/**
|
|
227
|
-
* Publishes a release of a train in one call, as a job of the pipeline of its tag does: its
|
|
228
|
-
* manifests resolved ({@link resolveManifests}), its packages packed ({@link packTrain}) and
|
|
229
|
-
* published ({@link publishTrain}). The copies go after, and the tarballs but of a `tarballDir`
|
|
230
|
-
* named; every tarball goes of a publish that fails, whose error is the one thrown. A copy that
|
|
231
|
-
* cannot be removed after the publish fails nothing: the log says where it stays.
|
|
232
|
-
*
|
|
233
|
-
* @param release - The release, and what each of its three steps takes.
|
|
234
|
-
* @returns What was published, and what was skipped, of each package.
|
|
235
|
-
*/
|
|
236
|
-
export declare function releaseTrain(release: ReleaseRun): Promise<PublishedTrain>;
|
|
237
|
-
/**
|
|
238
|
-
* Publishes a release {@link packTrain} packed, by {@link publishTrain}, and removes what it packed:
|
|
239
|
-
* every tarball, of a `tarballDir` named too, of a publish that fails, whose error is the one
|
|
240
|
-
* thrown, as a release that failed has no assets; the copies, and the tarballs but of a
|
|
241
|
-
* `tarballDir` named, of one that passes. A copy that cannot be removed then fails nothing: the log
|
|
242
|
-
* says where it stays.
|
|
243
|
-
*
|
|
244
|
-
* @param packed - The packages of the release, of {@link packTrain}.
|
|
245
|
-
* @param run - The access, the provenance, the registry, the system and the log of the publish.
|
|
246
|
-
* @returns What was published, and what was skipped, of each package.
|
|
247
|
-
*/
|
|
248
|
-
export declare function publishPacked(packed: PackedTrain, run: PublishRun): Promise<PublishedTrain>;
|
|
249
|
-
/** What {@link publishTrain} did to a package. */
|
|
201
|
+
export declare function publishedOf(packed: LookedUpRelease, run: PublishRun): Promise<PublishedOf>;
|
|
202
|
+
/** What {@link publishPacked} did to a package. */
|
|
250
203
|
export interface PublishedPackage {
|
|
251
204
|
readonly name: string;
|
|
252
205
|
readonly version: string;
|
|
253
206
|
readonly dir: string;
|
|
207
|
+
/** Published, or a dry run's would-be publish; or skipped, as on the registry already. */
|
|
208
|
+
readonly status: 'published' | 'skipped';
|
|
254
209
|
/**
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*/
|
|
258
|
-
readonly status: 'published' | 'skipped' | 'tagged';
|
|
259
|
-
/**
|
|
260
|
-
* The dist-tag it was published under, where not the release's: of a package of `aside`, its
|
|
261
|
-
* major's line. Of one the registry had already, as of a retry, where the dist-tag of its line
|
|
210
|
+
* The dist-tag it was published under, where not the release's: of a package of `aside`, the
|
|
211
|
+
* first of `aside.moving`. Of one the registry had already, as of a retry, where that dist-tag
|
|
262
212
|
* points at the version still: one it has moved on from keeps no trace of where it went, so has
|
|
263
213
|
* none. None else.
|
|
264
214
|
*/
|
|
@@ -271,80 +221,127 @@ export interface PublishedPackage {
|
|
|
271
221
|
*/
|
|
272
222
|
readonly registry?: string | undefined;
|
|
273
223
|
}
|
|
274
|
-
/** What {@link
|
|
275
|
-
export interface
|
|
224
|
+
/** What {@link publishPacked} did. */
|
|
225
|
+
export interface PublishedRelease {
|
|
276
226
|
readonly version: string;
|
|
227
|
+
/** The dist-tag the release was published under, the first of `moving`. */
|
|
277
228
|
readonly distTag: string;
|
|
278
229
|
/** The publisher's name. */
|
|
279
230
|
readonly publisher: string;
|
|
280
|
-
/** Each package of the
|
|
231
|
+
/** Each package of the release that publishes, in the order of publishing. */
|
|
281
232
|
readonly packages: readonly PublishedPackage[];
|
|
282
233
|
}
|
|
283
|
-
/**
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
234
|
+
/**
|
|
235
|
+
* Publishes the packages {@link packRelease} packed, each in order, under the first dist-tag of
|
|
236
|
+
* `moving`, with the provenance of the build where the CI gives an ID token, and skips each the
|
|
237
|
+
* registry has at the version already; then points each other dist-tag of `moving` at the version,
|
|
238
|
+
* of each package, as {@link moveRelease} does, and of a package aside each other of
|
|
239
|
+
* `aside.moving`. Before the first, it asks the registry by {@link publishedOf}: `EPUBLISHBEHIND`
|
|
240
|
+
* of a release that would move a dist-tag back, and nothing published. It removes what it packed
|
|
241
|
+
* after: every tarball, of a `tarballDir` named too, of a publish that fails, whose error is the
|
|
242
|
+
* one thrown, as a release that failed has no assets; the copies, and the tarballs but of a
|
|
243
|
+
* `tarballDir` named, of one that passes. A copy that cannot be removed then fails nothing: the log
|
|
244
|
+
* says where it stays.
|
|
245
|
+
*
|
|
246
|
+
* @param packed - The packages of the release, of {@link packRelease}.
|
|
247
|
+
* @param run - The dist-tags, the access, the provenance, the registry, the packages of `aside`,
|
|
248
|
+
* the platform and the log of the publish.
|
|
249
|
+
* @returns What was published, and what was skipped, of each package.
|
|
250
|
+
*/
|
|
251
|
+
export declare function publishPacked(packed: PackedRelease, run: PublishRun): Promise<PublishedRelease>;
|
|
252
|
+
/** What {@link moveRelease} did to a package, of one dist-tag. */
|
|
253
|
+
export interface MovedPackage {
|
|
254
|
+
readonly name: string;
|
|
290
255
|
readonly version: string;
|
|
256
|
+
/** Its folder, from the root of the repo. */
|
|
257
|
+
readonly dir: string;
|
|
258
|
+
/** The dist-tag moved. */
|
|
259
|
+
readonly tag: string;
|
|
291
260
|
/**
|
|
292
|
-
*
|
|
293
|
-
* the version
|
|
261
|
+
* Tagged, its dist-tag moved, or pointed at the version already; or skipped, as of a package the
|
|
262
|
+
* registry has not at the version, or whose dist-tag points above it.
|
|
294
263
|
*/
|
|
295
|
-
readonly
|
|
296
|
-
/**
|
|
297
|
-
readonly
|
|
298
|
-
/** The environment the publisher runs in: the system's by default. */
|
|
299
|
-
readonly env?: Readonly<Record<string, string | undefined>> | undefined;
|
|
300
|
-
/** The system it runs by, which it requires. */
|
|
301
|
-
readonly system: System;
|
|
302
|
-
/** Whether the run moves nothing for real, and says what it would. */
|
|
303
|
-
readonly dryRun?: boolean | undefined;
|
|
264
|
+
readonly status: 'tagged' | 'skipped';
|
|
265
|
+
/** Its page on the registry, where the publisher knows it: none of a version it has not. */
|
|
266
|
+
readonly page?: string | undefined;
|
|
304
267
|
/**
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
* @param line - The line of what it does, of no newline.
|
|
268
|
+
* The registry it was published to, where the release names one, of the option or its
|
|
269
|
+
* `publishConfig.registry`: none of the publisher's own.
|
|
308
270
|
*/
|
|
309
|
-
readonly
|
|
271
|
+
readonly registry?: string | undefined;
|
|
272
|
+
}
|
|
273
|
+
/** What {@link moveRelease} did. */
|
|
274
|
+
export interface MovedRelease {
|
|
275
|
+
readonly version: string;
|
|
276
|
+
/** The publisher's name. */
|
|
277
|
+
readonly publisher: string;
|
|
278
|
+
/** Each package of the release that publishes, of each dist-tag in turn, in order. */
|
|
279
|
+
readonly packages: readonly MovedPackage[];
|
|
310
280
|
}
|
|
311
281
|
/**
|
|
312
|
-
* Moves a release
|
|
313
|
-
* package of the
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
282
|
+
* Moves a release published already to the dist-tags of `moving`: each pointed at the version, of
|
|
283
|
+
* each package of the plan, in the order of publishing, by the publisher's {@link Publisher.tag};
|
|
284
|
+
* each the registry does not have at the version, as a package that joined the release after it was
|
|
285
|
+
* published, skipped, and each whose dist-tag points above the version, of a publisher that reads
|
|
286
|
+
* dist-tags, as of an older release moved after a newer one, which would move it back; one whose
|
|
287
|
+
* dist-tag points at the version already is there, and not moved again. The registry is asked of
|
|
288
|
+
* every package, a few at a time, by the publisher's {@link Publisher.lookup}, before the first
|
|
289
|
+
* dist-tag moves. A publisher that moves no dist-tag moves none, and says so: the release stays
|
|
290
|
+
* where it was published.
|
|
321
291
|
*
|
|
322
|
-
* @param release - The
|
|
323
|
-
*
|
|
324
|
-
* @
|
|
292
|
+
* @param release - The version of the release, the folder of the repo, the platform and the log.
|
|
293
|
+
* @param plan - The packages that publish, in order.
|
|
294
|
+
* @param options - The dist-tags, the publisher and the registry.
|
|
295
|
+
* @returns What was moved, and what was skipped, of each package and each dist-tag.
|
|
325
296
|
*/
|
|
326
|
-
export declare function
|
|
327
|
-
/** The packages of a train to check before a release, as they are in the repo. */
|
|
328
|
-
export interface CheckRelease extends Omit<PublishTrainOptions, 'publisher'> {
|
|
329
|
-
/** Every train of the repo. */
|
|
330
|
-
readonly trains: Trains;
|
|
331
|
-
/** The train of the release. */
|
|
332
|
-
readonly train: string | undefined;
|
|
333
|
-
/** The folder of the repo: the system's working folder by default. */
|
|
334
|
-
readonly cwd?: string | undefined;
|
|
335
|
-
/** The system it runs by, which it requires. */
|
|
336
|
-
readonly system: System;
|
|
337
|
-
}
|
|
297
|
+
export declare function moveRelease(release: Release, plan: NpmPlan, options: Pick<NpmOptions, 'moving' | 'publisher' | 'registry'>): Promise<MovedRelease>;
|
|
338
298
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
*
|
|
299
|
+
* Prepares a release: each manifest of its plan resolved as it publishes and checked
|
|
300
|
+
* ({@link resolvePlan}), each package packed from a copy in a temporary folder of the platform
|
|
301
|
+
* ({@link packRelease}), and the registry asked ({@link publishedOf}), so a range of no version, a
|
|
302
|
+
* package that cannot be packed, or a release below the version its dist-tag points at on the
|
|
303
|
+
* registry (`EPUBLISHBEHIND`) fails before anything is published. What it packed is kept, of the
|
|
304
|
+
* folder of the repo, the version and the packages, for `smoke` and `publish` of the same process;
|
|
305
|
+
* of a step that fails, it is removed. Nothing of npm is committed: it writes no file of the repo,
|
|
306
|
+
* and gives none.
|
|
344
307
|
*
|
|
345
|
-
* @param release - The
|
|
346
|
-
* the
|
|
347
|
-
* @
|
|
308
|
+
* @param release - The version of the release, the folder of the repo, the platform and the log.
|
|
309
|
+
* @param plan - The packages that publish, in order, and the versions of the repo.
|
|
310
|
+
* @param options - The options of the release.
|
|
311
|
+
* @returns No file: none of npm is committed, as the version is the release's alone.
|
|
312
|
+
*/
|
|
313
|
+
export declare function prepareRelease(release: Release, plan: NpmPlan, options: NpmOptions): Promise<readonly string[]>;
|
|
314
|
+
/**
|
|
315
|
+
* Tries each package of a release as a consumer installs it, and each private package of `pack`, by
|
|
316
|
+
* `smokePacked` of `./smoke`, of the globs of `forbid` and the conditions of the source: of what
|
|
317
|
+
* `prepare` packed in this process, or of a pack of its own, which it removes after. Throws
|
|
318
|
+
* `EPUBLISHSMOKE` of every fault together; what `prepare` packed is removed then too.
|
|
319
|
+
*
|
|
320
|
+
* @param release - The version of the release, the folder of the repo, the platform and the log.
|
|
321
|
+
* @param plan - The packages that publish, in order, and the versions of the repo.
|
|
322
|
+
* @param options - The options of the release.
|
|
323
|
+
*/
|
|
324
|
+
export declare function smokeRelease(release: Release, plan: NpmPlan, options: NpmOptions): Promise<void>;
|
|
325
|
+
/**
|
|
326
|
+
* Publishes a release: what `prepare` packed of it in this process, or its plan resolved and packed
|
|
327
|
+
* anew ({@link resolvePlan}, {@link packRelease}), each package published in order by
|
|
328
|
+
* {@link publishPacked}, each the registry has already skipped, so a publish run again finishes a
|
|
329
|
+
* release; and what it packed removed, the tarballs of a `tarballDir` kept. Of a dry run, the
|
|
330
|
+
* publisher says what it would publish, and publishes nothing.
|
|
331
|
+
*
|
|
332
|
+
* @param release - The version of the release, the folder of the repo, the platform and the log.
|
|
333
|
+
* @param plan - The packages that publish, in order, and the versions of the repo.
|
|
334
|
+
* @param options - The options of the release.
|
|
335
|
+
* @returns Each package published, or found published, and each of `pack`: its page, its registry
|
|
336
|
+
* and, of a `tarballDir`, its tarball.
|
|
337
|
+
*/
|
|
338
|
+
export declare function publishRelease(release: Release, plan: NpmPlan, options: NpmOptions): Promise<readonly Released[]>;
|
|
339
|
+
/**
|
|
340
|
+
* Removes what `prepare` packed of a release and its plan in this process, the copies and every
|
|
341
|
+
* tarball, of a `tarballDir` too, as of a release that goes no further: none of none.
|
|
342
|
+
*
|
|
343
|
+
* @param release - The version of the release and the platform, of the folder of the repo.
|
|
344
|
+
* @param plan - The packages that publish.
|
|
348
345
|
*/
|
|
349
|
-
export declare function
|
|
346
|
+
export declare function discardPacked(release: Pick<Release, 'platform' | 'version'>, plan: Plan): Promise<void>;
|
|
350
347
|
//# sourceMappingURL=release.d.ts.map
|
package/dist/release.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../src/release.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../src/release.ts"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAA;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAGpE,OAAO,EAAE,KAAK,UAAU,EAAgB,MAAM,oBAAoB,CAAA;AAGlE,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,wBAAwB,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