Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
* fix: do not fail adding unresolvable optional dep
|
|
|
|
|
|
* feat: add types lookup
* fix(man): don't lose relative man path
|
|
|
|
* Made rejectUnauthorized depend on NODE_TLS_REJECT_UNAUTHORIZED
|
|
PR-URL: https://github.com/npm/cli/pull/3690
Credit: @tripu
Close: #3690
Reviewed-by: @wraithgar
|
|
* feat: export npm_config_local_prefix and npm_config_global_prefix
to the environment
|
|
|
|
|
|
* feat: introduce @npmcli/fs for tmp dir methods
|
|
Order matters here so we clean the more specific things before the
generic ones.
PR-URL: https://github.com/npm/cli/pull/3687
Credit: @wraithgar
Close: #3687
Reviewed-by: @nlf
|
|
This corrects two things,
`--global` implies `--location=global` and `--package-lock-only` implies
`--package-lock`
It also introduces a new sandbox runner for testing purposes. it's not
the prettiest thing i've ever written, but it seems to do the job pretty
nicely and doesn't require keeping track of wild shenanigans everywhere.
Fixes #2747
Fixes #3572
PR-URL: https://github.com/npm/cli/pull/3684
Credit: @nlf
Close: #3684
Reviewed-by: @wraithgar
|
|
* fix: perf regression on hot string munging path
|
|
Somehow the last one didn't take?
|
|
|
|
|
|
* fix: Add gitHead in subdirectories too
* fix(man): don't resolve paths to man files
|
|
PR-URL: https://github.com/npm/cli/pull/3681
Credit: @fritzy
Close: #3681
Reviewed-by: @wraithgar
|
|
The better to avoid having to do patches like 771a1cbf7.
PR-URL: https://github.com/npm/cli/pull/3664
Credit: @isaacs
Close: #3664
Reviewed-by: @wraithgar
|
|
* fix: use the same strictSSL default as tls.connect
|
|
Not sure why this only happened during publish
|
|
|
|
|
|
|
|
|
|
* update license list to v3.14
|
|
|
|
|
|
|
|
PR-URL: https://github.com/npm/cli/pull/3630
Credit: @austincho
Close: #3630
Reviewed-by: @wraithgar
EDIT(@isaacs): rebased and edited to put config documentation in the
correct location.
|
|
* fix: prune dirCache properly for unicode, windows
* fix: reserve paths properly for unicode, windows
* fix: prevent path escape using drive-relative paths
* fix: drop dirCache for symlink on all platforms
|
|
* fix: treat top-level global packages as "top" nodes
* fix: load global symlinks implicitly as file: deps
* fix(reify): debug crash when extracting into symlink
* fix: node_modules must be a directory
* fix: make Node.children() a case-insensitive Map
* fix(reify): verify existing deps in nm are dirs
|
|
|
|
|
|
The attribute is here, er.file was used in error on another lib, the lib
got changed, and this code wasn't fixed.
PR-URL: https://github.com/npm/cli/pull/3661
Credit: @wraithgar
Close: #3661
Reviewed-by: @fritzy
|
|
PR-URL: https://github.com/npm/cli/pull/3592
Credit: @fritzy
Close: #3592
Reviewed-by: @nlf
|
|
* fix: account for "licence" as spelling variant
|
|
|
|
Wraps logged process.argv in `replaceInfo`
Removes logged process.argv from EJSONPARSE warning for top level
package.json merge conflicts. It is currently not even working (er.file
is not being populated by the parsing library right now), and
process.argv contains fullly resolved paths which isn't very nice
looking. The user knows what they typed, it's enough to tell them to
retry.
PR-URL: https://github.com/npm/cli/pull/3658
Credit: @wraithgar
Close: #3658
Reviewed-by: @nlf
|
|
When we accidentally edit the auto-generated portions of the docs, this
will catch the error and cause CI to fail.
Later phase automated safety check that the early-stage human commenting
in the last commit also addresses.
Re: #3654
Re: #3630
PR-URL: https://github.com/npm/cli/pull/3655
Credit: @isaacs
Close: #3655
Reviewed-by: @nlf
|
|
This should prevent the kind of thing we've seen where people edit the
generated docs, as in #3654 and #3630, and provide them with a helpful
pointer so they put the config documentation changes in the right place.
|
|
The content in this portion of the docs is auto-generated.
PR-URL: https://github.com/npm/cli/pull/3654
Credit: @wraithgar
Close: #3654
Reviewed-by: @nlf
|
|
`leven` dropped support for node10 and we still currently have to support
it. Moved to https://github.com/ka-weihe/fastest-levenshtein
Originally discussed in https://github.com/npm/cli/pull/2403, but the
did-you-mean lib moved quite a bit since then and there were conflicts
so I made a new PR
PR-URL: https://github.com/npm/cli/pull/3640
Credit: @wraithgar
Close: #3640
Reviewed-by: @nlf
|
|
|
|
|
|
|