All apps/np

np

np

A better npm publish.

Runs as np|macOS, Linux, Windows|github.com

Autocomplete

Fig spec, with what the manifest adds · 15 options
Published once and never changed; check the digest before caching
sha256
81d637324642d2db59c5e245b93c6dddc725544b21d981905d2ce90190ea9297
Size
2403 bytes
OptionsOn np itself
--any-branch
Allow publishing from any branch
--branch
Name of the release branch (default: main | master) <branch>
--no-cleanup
Skips cleanup of node_modules
--no-tests
Skips tests
--yolo
Skips cleanup and testing
--no-publish
Skips publishing
--preview
Show tasks without actually executing them
--tag
Publish under a given dist-tag <tag>
--no-yarn
Don't use Yarn
--contents
Subdirectory to publish <directory>
--no-release-draft
Skips opening a GitHub release draft
--release-draft-only
Only opens a GitHub release draft
--test-script
Name of npm run script to run tests before publishing (default: test) <script>
--no-2fa
Don't enable 2FA on new packages (not recommended)
--message
Version bump commit message. `%s` will be replaced with version. (default: '%s' with npm and 'v%s' with yarn) <message>
ArgumentsPositional, in order
<version>
Version to publish · optional