@bonvoy/plugin-npm 0.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/dist/index.d.mts +26 -0
- package/dist/index.mjs +6426 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +45 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BonvoyPlugin } from "@bonvoy/core";
|
|
2
|
+
|
|
3
|
+
//#region src/npm.d.ts
|
|
4
|
+
interface NpmPluginConfig {
|
|
5
|
+
registry?: string;
|
|
6
|
+
access?: "public" | "restricted";
|
|
7
|
+
dryRun?: boolean;
|
|
8
|
+
skipExisting?: boolean;
|
|
9
|
+
provenance?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare class NpmPlugin implements BonvoyPlugin {
|
|
12
|
+
name: string;
|
|
13
|
+
private config;
|
|
14
|
+
constructor(config?: NpmPluginConfig);
|
|
15
|
+
apply(bonvoy: {
|
|
16
|
+
hooks: {
|
|
17
|
+
publish: any;
|
|
18
|
+
};
|
|
19
|
+
}): void;
|
|
20
|
+
private publishPackages;
|
|
21
|
+
private publishPackage;
|
|
22
|
+
private isAlreadyPublished;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { type NpmPluginConfig, NpmPlugin as default };
|
|
26
|
+
//# sourceMappingURL=index.d.mts.map
|