@async/pipeline 0.8.9 → 0.9.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.
- package/API_SURFACE.md +11 -3
- package/api-contract.json +12 -6
- package/dist/cli.js +0 -0
- package/dist/internal/core/index.d.ts +6 -1
- package/dist/internal/core/index.d.ts.map +1 -1
- package/dist/internal/core/index.js +14 -3
- package/dist/internal/core/index.js.map +1 -1
- package/dist/internal/node/cli.js +0 -0
- package/dist/internal/node/github.d.ts.map +1 -1
- package/dist/internal/node/github.js +241 -36
- package/dist/internal/node/github.js.map +1 -1
- package/dist/internal/node/package-lifecycle.d.ts +7 -19
- package/dist/internal/node/package-lifecycle.js +6 -746
- package/package.json +1 -1
- package/dist/internal/node/package-lifecycle.d.ts.map +0 -1
- package/dist/internal/node/package-lifecycle.js.map +0 -1
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
export type GitHubPackagePublishMode = "pr" | "main" | "release";
|
|
2
|
-
export interface PackageLifecycleIO {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
registry?: string;
|
|
10
|
-
namespace?: string;
|
|
11
|
-
comment?: boolean;
|
|
12
|
-
env: NodeJS.ProcessEnv;
|
|
13
|
-
io: PackageLifecycleIO;
|
|
14
|
-
}
|
|
15
|
-
export declare function publishGitHubPackage(mode: GitHubPackagePublishMode, options: PackageLifecycleOptions): Promise<void>;
|
|
16
|
-
export declare function publishNpmPackage(options: PackageLifecycleOptions): Promise<void>;
|
|
17
|
-
export declare function ensureGitHubRelease(options: PackageLifecycleOptions): Promise<void>;
|
|
18
|
-
export declare function runReleaseDoctor(options: PackageLifecycleOptions): Promise<void>;
|
|
19
|
-
export declare function runLifecycleCli(action: () => Promise<void>, io: PackageLifecycleIO): Promise<number>;
|
|
20
|
-
//# sourceMappingURL=package-lifecycle.d.ts.map
|
|
2
|
+
export interface PackageLifecycleIO { stdout(text: string): void; stderr(text: string): void; }
|
|
3
|
+
export interface PackageLifecycleOptions { cwd: string; packagePath: string; registry?: string; namespace?: string; comment?: boolean; env: NodeJS.ProcessEnv; io: PackageLifecycleIO; }
|
|
4
|
+
export declare function publishGitHubPackage(): never;
|
|
5
|
+
export declare function publishNpmPackage(): never;
|
|
6
|
+
export declare function ensureGitHubRelease(): never;
|
|
7
|
+
export declare function runReleaseDoctor(): never;
|
|
8
|
+
export declare function runLifecycleCli(_action: () => Promise<void>, io: PackageLifecycleIO): Promise<number>;
|