Skip to content

Commit

Permalink
feat: add support the registry option when publishing NPM packages
Browse files Browse the repository at this point in the history
  • Loading branch information
malaporte committed Oct 5, 2023
1 parent 218541f commit ffbec3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/npm/doNpmPublish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ interface NpmOptions {
* @see {@link https://docs.npmjs.com/cli/v8/commands/npm-publish#provenance}
*/
provenance?: boolean;
/**
* Specify the registry to publish to, overriding the default registry.
* @default undefined
*/
registry?: string;
}

export default async function (PATH: string, npmOpts?: NpmOptions) {
Expand Down

0 comments on commit ffbec3b

Please sign in to comment.