Skip to content

Commit fe9debd

Browse files
lukekarrysericmutta
andauthoredJan 9, 2023
docs: fix typos in definitions.js (#6038)
* Fix typo in definitions.js * Fix another typo in definitions.js * Fix yet another typo in definitions.js * update snapshots Co-authored-by: Eric Mutta <eric.mutta@gmail.com>
1 parent fa27aca commit fe9debd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎lib/utils/config/definitions.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ define('access', {
163163
`,
164164
type: [null, 'restricted', 'public'],
165165
description: `
166-
If do not want your scoped package to be publicly viewable (and
166+
If you do not want your scoped package to be publicly viewable (and
167167
installable) set \`--access=restricted\`.
168168
169169
Unscoped packages can not be set to \`restricted\`.
@@ -848,7 +848,7 @@ define('global-style', {
848848
type: Boolean,
849849
description: `
850850
Only install direct dependencies in the top level \`node_modules\`,
851-
but hoist on deeper dependendencies.
851+
but hoist on deeper dependencies.
852852
Sets \`--install-strategy=shallow\`.
853853
`,
854854
deprecated: `
@@ -2021,7 +2021,7 @@ define('strict-peer-deps', {
20212021
even if doing so will result in some packages receiving a peer dependency
20222022
outside the range set in their package's \`peerDependencies\` object.
20232023
2024-
When such and override is performed, a warning is printed, explaining the
2024+
When such an override is performed, a warning is printed, explaining the
20252025
conflict and the packages involved. If \`--strict-peer-deps\` is set,
20262026
then this warning is treated as a failure.
20272027
`,

‎tap-snapshots/test/lib/docs.js.test.cjs

+4-4
Original file line numberDiff line numberDiff line change
@@ -604,8 +604,8 @@ safer to use a registry-provided authentication bearer token stored in the
604604
current level
605605
* Type: null, "restricted", or "public"
606606
607-
If do not want your scoped package to be publicly viewable (and installable)
608-
set \`--access=restricted\`.
607+
If you do not want your scoped package to be publicly viewable (and
608+
installable) set \`--access=restricted\`.
609609
610610
Unscoped packages can not be set to \`restricted\`.
611611
@@ -1702,7 +1702,7 @@ be resolved using the nearest non-peer dependency specification, even if
17021702
doing so will result in some packages receiving a peer dependency outside
17031703
the range set in their package's \`peerDependencies\` object.
17041704
1705-
When such and override is performed, a warning is printed, explaining the
1705+
When such an override is performed, a warning is printed, explaining the
17061706
conflict and the packages involved. If \`--strict-peer-deps\` is set, then
17071707
this warning is treated as a failure.
17081708
@@ -1983,7 +1983,7 @@ Alias for \`--include=dev\`.
19831983
\`--install-strategy=shallow\`
19841984
19851985
Only install direct dependencies in the top level \`node_modules\`, but hoist
1986-
on deeper dependendencies. Sets \`--install-strategy=shallow\`.
1986+
on deeper dependencies. Sets \`--install-strategy=shallow\`.
19871987
19881988
#### \`init.author.email\`
19891989

0 commit comments

Comments
 (0)
Please sign in to comment.