You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ $ np --help
64
64
--release-draft-only Only opens a GitHub release draft
65
65
--test-script Name of npm run script to run tests before publishing (default: test)
66
66
--no-2fa Don't enable 2FA on new packages (not recommended)
67
+
--message Version bump commit message, '%s' will be replaced with version (default: version)
67
68
68
69
Examples
69
70
$ np
@@ -98,6 +99,7 @@ Currently, these are the flags you can configure:
98
99
-`releaseDraft` - Open a GitHub release draft after releasing (`true` by default).
99
100
-`testScript` - Name of npm run script to run tests before publishing (`test` by default).
100
101
-`2fa` - Enable 2FA on new packages (`true` by default) (setting this to `false` is not recommended).
102
+
-`message` - The commit message used for the version bump. Any `%s` in the string will be replaced with the new version (`%s` when using npm and `v%s` when using yarn by default)
101
103
102
104
For example, this configures `np` to never use Yarn and to use `dist` as the subdirectory to publish:
0 commit comments