Skip to main content

yarn npm stage approve

Approve a staged package version for publishing.

Usage

$ yarn npm stage approve <stageId>

Examples

Approve a staged package :

yarn npm stage approve 1de6f3db-2ed9-4d72-b3dd-8f0e2b474a2f

Details

This command will approve a staged package version, publishing it to the npm registry. This operation requires 2FA and will prompt for an OTP token if one is not provided via the --otp flag.

Options

DefinitionDescription

--otp #0

The OTP token to use with the command