Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix typos in definitions.js #6038

Merged
merged 4 commits into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/utils/config/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ define('access', {
`,
type: [null, 'restricted', 'public'],
description: `
If do not want your scoped package to be publicly viewable (and
If you do not want your scoped package to be publicly viewable (and
installable) set \`--access=restricted\`.

Unscoped packages can not be set to \`restricted\`.
Expand Down Expand Up @@ -848,7 +848,7 @@ define('global-style', {
type: Boolean,
description: `
Only install direct dependencies in the top level \`node_modules\`,
but hoist on deeper dependendencies.
but hoist on deeper dependencies.
Sets \`--install-strategy=shallow\`.
`,
deprecated: `
Expand Down Expand Up @@ -2021,7 +2021,7 @@ define('strict-peer-deps', {
even if doing so will result in some packages receiving a peer dependency
outside the range set in their package's \`peerDependencies\` object.

When such and override is performed, a warning is printed, explaining the
When such an override is performed, a warning is printed, explaining the
conflict and the packages involved. If \`--strict-peer-deps\` is set,
then this warning is treated as a failure.
`,
Expand Down
8 changes: 4 additions & 4 deletions tap-snapshots/test/lib/docs.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,8 @@ safer to use a registry-provided authentication bearer token stored in the
current level
* Type: null, "restricted", or "public"

If do not want your scoped package to be publicly viewable (and installable)
set \`--access=restricted\`.
If you do not want your scoped package to be publicly viewable (and
installable) set \`--access=restricted\`.

Unscoped packages can not be set to \`restricted\`.

Expand Down Expand Up @@ -1702,7 +1702,7 @@ be resolved using the nearest non-peer dependency specification, even if
doing so will result in some packages receiving a peer dependency outside
the range set in their package's \`peerDependencies\` object.

When such and override is performed, a warning is printed, explaining the
When such an override is performed, a warning is printed, explaining the
conflict and the packages involved. If \`--strict-peer-deps\` is set, then
this warning is treated as a failure.

Expand Down Expand Up @@ -1983,7 +1983,7 @@ Alias for \`--include=dev\`.
\`--install-strategy=shallow\`

Only install direct dependencies in the top level \`node_modules\`, but hoist
on deeper dependendencies. Sets \`--install-strategy=shallow\`.
on deeper dependencies. Sets \`--install-strategy=shallow\`.

#### \`init.author.email\`

Expand Down