yarn npm publish --access public

Category: Node.js & npm/yarn

yarn npm publish --access public

Publish a package with yarn

Uploads the current workspace to the npm registry with public access, which scoped packages need to avoid the restricted default that requires a paid plan. Publishing is permanent, so run the --dry-run variant first. The --tag flag attaches a dist-tag like next.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.