8000 Fix grammar (#564) · JavaScriptExpert/np@127311a · GitHub
[go: up one dir, main page]

Skip to content

Commit 127311a

Browse files
G-Rathsindresorhus
andauthored
Fix grammar (sindresorhus#564)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
1 parent 556b52c commit 127311a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Currently, these are the flags you can configure:
9696
- `contents` - Subdirectory to publish (`.` by default).
9797
- `releaseDraft` - Open a GitHub release draft after releasing (`true` by default).
9898
- `testScript` - Name of npm run script to run tests before publishing (`test` by default).
99-
- `2fa` - Enable 2FA on new packages (`true` by default) (it's not recommended to set this to `false`).
99+
- `2fa` - Enable 2FA on new packages (`true` by default) (setting this to `false` is not recommended).
100100

101101
For example, this configures `np` to never use Yarn and to use `dist` as the subdirectory to publish:
102102

@@ -164,7 +164,7 @@ You can also add `np` to a custom script in `package.json`. This can be useful i
164164

165165
### User-defined tests
166166

167-
If you want to run a user-defined test script before publishing instead of the normal `npm test` or `yarn test`, you can use `--test-script` flag or the `testScript` config. This is can be useful when your normal test script is running with a `--watch` mode or in case you want to run some specific tests (maybe on the packaged files) before publishing.
167+
If you want to run a user-defined test script before publishing instead of the normal `npm test` or `yarn test`, you can use `--test-script` flag or the `testScript` config. This can be useful when your normal test script is running with a `--watch` flag or in case you want to run some specific tests (maybe on the packaged files) before publishing.
168168

169169
For example, `np --test-script=publish-test` would run the `publish-test` script instead of the default `test`.
170170

@@ -201,7 +201,7 @@ $ yarn config set version-sign-git-tag true
201201

202202
You can use `np` for packages that aren't publicly published to npm (perhaps installed from a private git repo).
203203

204-
Set `"private": true` in your `package.json` and the publish step will be skipped. All other steps
204+
Set `"private": true` in your `package.json` and the publishing step will be skipped. All other steps
205205
including versioning and pushing tags will still be completed.
206206

207207
### Public scoped packages
@@ -268,7 +268,7 @@ $ git push --set-upstream origin HEAD
268268
$ np patch --any-branch --tag=v1
269269
```
270270

271-
### Prerequisite step runs forever on macOS
271+
### The prerequisite step runs forever on macOS
272272

273273
If you're using macOS Sierra 10.12.2 or later, your SSH key passphrase is no longer stored into the keychain by default. This may cause the `prerequisite` step to run forever because it prompts for your passphrase in the background. To fix this, add the following lines to your `~/.ssh/config` and run a simple Git command like `git fetch`.
274274

0 commit comments

Comments
 (0)
0