Writing Publishers
publish(options: PublisherOptions): Promise<void>
publish(options: PublisherOptions): Promise<void>export default class MyPublisher extends PublisherBase {
async publish (opts) {
for (const result of opts.makeResults) {
await createVersionIfNotExists();
await uploadDistributable(result);
}
}
}Last updated
Was this helpful?