-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -977,7 +977,7 @@ | |
* fix package.json dependencies order | ||
* [`49b2bf5a7`](https://github.com/npm/cli/commit/49b2bf5a798b49d52166744088a80b8a39ccaeb6) | ||
`@npmcli/[email protected]` | ||
* fix unkown envs to be passed through | ||
* fix unknown envs to be passed through | ||
* fix setting correct globalPrefix on load | ||
* [`f9aac351d`](https://github.com/npm/cli/commit/f9aac351dd36a19d14e1f951a2e8e20b41545822) | ||
`[email protected]` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ To create "pre" or "post" scripts for any scripts defined in the `"scripts"` sec | |
|
||
### Life Cycle Scripts | ||
|
||
There are some special life cycle scripts that happen only in certain situations. These scripts happen in addtion to the "pre" and "post" script. | ||
There are some special life cycle scripts that happen only in certain situations. These scripts happen in addition to the "pre" and "post" script. | ||
* `prepare`, `prepublish`, `prepublishOnly`, `prepack`, `postpack` | ||
|
||
**prepare** (since `[email protected]`) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -187,7 +187,7 @@ exports[`test/lib/ls.js TAP ls --parseable --production > should output tree con | |
{CWD}/ls-ls-parseable--production/node_modules/prod-dep/node_modules/bar | ||
` | ||
|
||
exports[`test/lib/ls.js TAP ls --parseable cycle deps > should print tree output ommiting deduped ref 1`] = ` | ||
exports[`test/lib/ls.js TAP ls --parseable cycle deps > should print tree output omitting deduped ref 1`] = ` | ||
{CWD}/ls-ls-parseable-cycle-deps | ||
{CWD}/ls-ls-parseable-cycle-deps/node_modules/a | ||
{CWD}/ls-ls-parseable-cycle-deps/node_modules/b | ||
|
@@ -287,19 +287,19 @@ exports[`test/lib/ls.js TAP ls --parseable using aliases > should output tree co | |
{CWD}/ls-ls-parseable-using-aliases/node_modules/a | ||
` | ||
|
||
exports[`test/lib/ls.js TAP ls --parseable with filter arg > should output parseable contaning only occurences of filtered by package 1`] = ` | ||
exports[`test/lib/ls.js TAP ls --parseable with filter arg > should output parseable contaning only occurrences of filtered by package 1`] = ` | ||
{CWD}/ls-ls-parseable-with-filter-arg/node_modules/lorem | ||
` | ||
|
||
exports[`test/lib/ls.js TAP ls --parseable with filter arg nested dep > should output parseable contaning only occurences of filtered package 1`] = ` | ||
exports[`test/lib/ls.js TAP ls --parseable with filter arg nested dep > should output parseable contaning only occurrences of filtered package 1`] = ` | ||
{CWD}/ls-ls-parseable-with-filter-arg-nested-dep/node_modules/bar | ||
` | ||
|
||
exports[`test/lib/ls.js TAP ls --parseable with missing filter arg > should output parseable output containing no dependencies info 1`] = ` | ||
` | ||
|
||
exports[`test/lib/ls.js TAP ls --parseable with multiple filter args > should output parseable contaning only occurences of multiple filtered packages and their ancestors 1`] = ` | ||
exports[`test/lib/ls.js TAP ls --parseable with multiple filter args > should output parseable contaning only occurrences of multiple filtered packages and their ancestors 1`] = ` | ||
{CWD}/ls-ls-parseable-with-multiple-filter-args/node_modules/lorem | ||
{CWD}/ls-ls-parseable-with-multiple-filter-args/node_modules/bar | ||
` | ||
|
@@ -319,8 +319,8 @@ [email protected] {CWD}/ls-ls-broken-resolved-field | |
` | ||
|
||
exports[`test/lib/ls.js TAP ls coloured output > should output tree containing color info 1`] = ` | ||
[[email protected] {CWD}/ls-ls-coloured-output[0m | ||
exports[`test/lib/ls.js TAP ls colored output > should output tree containing color info 1`] = ` | ||
[[email protected] {CWD}/ls-ls-colored-output[0m | ||
[0m+-- [email protected] [31m[40minvalid[49m[39m[0m | ||
[0m| \`-- [email protected][0m | ||
[0m+-- [31m[40mUNMET DEPENDENCY[49m[39m ipsum@^1.0.0[0m | ||
|
@@ -550,19 +550,19 @@ [email protected] {CWD}/ls-ls-with-args-and-different-order-of-items | |
` | ||
|
||
exports[`test/lib/ls.js TAP ls with dot filter arg > should output tree contaning only occurences of filtered by package and coloured output 1`] = ` | ||
exports[`test/lib/ls.js TAP ls with dot filter arg > should output tree contaning only occurrences of filtered by package and colored output 1`] = ` | ||
[email protected] {CWD}/ls-ls-with-dot-filter-arg | ||
\`-- (empty) | ||
` | ||
|
||
exports[`test/lib/ls.js TAP ls with filter arg > should output tree contaning only occurences of filtered by package and coloured output 1`] = ` | ||
exports[`test/lib/ls.js TAP ls with filter arg > should output tree contaning only occurrences of filtered by package and colored output 1`] = ` | ||
[[email protected] {CWD}/ls-ls-with-filter-arg[0m | ||
[0m\`-- [33m[[email protected][49m[39m[0m | ||
[0m[0m | ||
` | ||
|
||
exports[`test/lib/ls.js TAP ls with filter arg nested dep > should output tree contaning only occurences of filtered package and its ancestors 1`] = ` | ||
exports[`test/lib/ls.js TAP ls with filter arg nested dep > should output tree contaning only occurrences of filtered package and its ancestors 1`] = ` | ||
[email protected] {CWD}/ls-ls-with-filter-arg-nested-dep | ||
\`-- [email protected] | ||
\`-- [email protected] | ||
|
@@ -575,7 +575,7 @@ [email protected] {CWD}/ls-ls-with-missing-filter-arg | |
` | ||
|
||
exports[`test/lib/ls.js TAP ls with multiple filter args > should output tree contaning only occurences of multiple filtered packages and their ancestors 1`] = ` | ||
exports[`test/lib/ls.js TAP ls with multiple filter args > should output tree contaning only occurrences of multiple filtered packages and their ancestors 1`] = ` | ||
[email protected] {CWD}/ls-ls-with-multiple-filter-args | ||
+-- [email protected] | ||
| \`-- [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,7 +209,7 @@ t.test('ls', (t) => { | |
}) | ||
ls(['lorem'], (err) => { | ||
t.ifError(err, 'npm ls') | ||
t.matchSnapshot(redactCwd(result), 'should output tree contaning only occurences of filtered by package and coloured output') | ||
t.matchSnapshot(redactCwd(result), 'should output tree contaning only occurrences of filtered by package and colored output') | ||
_flatOptions.color = false | ||
t.end() | ||
}) | ||
|
@@ -231,7 +231,7 @@ t.test('ls', (t) => { | |
}) | ||
ls(['.'], (err) => { | ||
t.ifError(err, 'should not throw on missing dep above current level') | ||
t.matchSnapshot(redactCwd(result), 'should output tree contaning only occurences of filtered by package and coloured output') | ||
t.matchSnapshot(redactCwd(result), 'should output tree contaning only occurrences of filtered by package and colored output') | ||
_flatOptions.all = true | ||
_flatOptions.depth = Infinity | ||
t.end() | ||
|
@@ -252,7 +252,7 @@ t.test('ls', (t) => { | |
}) | ||
ls(['bar'], (err) => { | ||
t.ifError(err, 'npm ls') | ||
t.matchSnapshot(redactCwd(result), 'should output tree contaning only occurences of filtered package and its ancestors') | ||
t.matchSnapshot(redactCwd(result), 'should output tree contaning only occurrences of filtered package and its ancestors') | ||
t.end() | ||
}) | ||
}) | ||
|
@@ -280,7 +280,7 @@ t.test('ls', (t) => { | |
}) | ||
ls(['bar@*', '[email protected]'], (err) => { | ||
t.ifError(err, 'npm ls') | ||
t.matchSnapshot(redactCwd(result), 'should output tree contaning only occurences of multiple filtered packages and their ancestors') | ||
t.matchSnapshot(redactCwd(result), 'should output tree contaning only occurrences of multiple filtered packages and their ancestors') | ||
t.end() | ||
}) | ||
}) | ||
|
@@ -443,7 +443,7 @@ t.test('ls', (t) => { | |
}) | ||
}) | ||
|
||
t.test('coloured output', (t) => { | ||
t.test('colored output', (t) => { | ||
_flatOptions.color = true | ||
prefix = t.testdir({ | ||
'package.json': JSON.stringify({ | ||
|
@@ -1588,7 +1588,7 @@ t.test('ls --parseable', (t) => { | |
}) | ||
ls(['lorem'], (err) => { | ||
t.ifError(err, 'npm ls') | ||
t.matchSnapshot(redactCwd(result), 'should output parseable contaning only occurences of filtered by package') | ||
t.matchSnapshot(redactCwd(result), 'should output parseable contaning only occurrences of filtered by package') | ||
t.end() | ||
}) | ||
}) | ||
|
@@ -1607,7 +1607,7 @@ t.test('ls --parseable', (t) => { | |
}) | ||
ls(['bar'], (err) => { | ||
t.ifError(err, 'npm ls') | ||
t.matchSnapshot(redactCwd(result), 'should output parseable contaning only occurences of filtered package') | ||
t.matchSnapshot(redactCwd(result), 'should output parseable contaning only occurrences of filtered package') | ||
t.end() | ||
}) | ||
}) | ||
|
@@ -1635,7 +1635,7 @@ t.test('ls --parseable', (t) => { | |
}) | ||
ls(['bar@*', '[email protected]'], (err) => { | ||
t.ifError(err, 'npm ls') | ||
t.matchSnapshot(redactCwd(result), 'should output parseable contaning only occurences of multiple filtered packages and their ancestors') | ||
t.matchSnapshot(redactCwd(result), 'should output parseable contaning only occurrences of multiple filtered packages and their ancestors') | ||
t.end() | ||
}) | ||
}) | ||
|
@@ -2158,7 +2158,7 @@ t.test('ls --parseable', (t) => { | |
}, | ||
}) | ||
ls([], () => { | ||
t.matchSnapshot(redactCwd(result), 'should print tree output ommiting deduped ref') | ||
t.matchSnapshot(redactCwd(result), 'should print tree output omitting deduped ref') | ||
t.end() | ||
}) | ||
}) | ||
|
@@ -2482,7 +2482,7 @@ t.test('ls --json', (t) => { | |
}, | ||
}, | ||
}, | ||
'should output json contaning only occurences of filtered by package' | ||
'should output json contaning only occurrences of filtered by package' | ||
) | ||
t.equal( | ||
process.exitCode, | ||
|
@@ -2523,7 +2523,7 @@ t.test('ls --json', (t) => { | |
}, | ||
}, | ||
}, | ||
'should output json contaning only occurences of filtered by package' | ||
'should output json contaning only occurrences of filtered by package' | ||
) | ||
t.end() | ||
}) | ||
|
@@ -2571,7 +2571,7 @@ t.test('ls --json', (t) => { | |
}, | ||
}, | ||
}, | ||
'should output json contaning only occurences of multiple filtered packages and their ancestors' | ||
'should output json contaning only occurrences of multiple filtered packages and their ancestors' | ||
) | ||
t.end() | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ t.equal( | |
t.equal( | ||
replaceInfo('Something https://user:[email protected]/ foo bar'), | ||
'Something https://user:***@registry.npmjs.org/ foo bar', | ||
'should replace single item withing a phrase' | ||
'should replace single item within a phrase' | ||
) | ||
|
||
t.deepEqual( | ||
|