Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-22deps: cacache@16.0.6Luke Karrys
2022-04-22deps: @npmcli/map-workspaces@2.0.3Luke Karrys
2022-04-22chore(deps): @npmcli/template-oss@3.4.2Luke Karrys
2022-04-21chore(latest): release libnpmexec 4.0.4 (#4780)libnpmexec-v4.0.4github-actions[bot]
* chore(latest): release libnpmexec 4.0.4 * deps: libnpmexec@4.0.4 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: npm cli ops bot <ops+npm-cli@npmjs.com>
2022-04-21chore(latest): release arborist 5.1.0 (#4779)arborist-v5.1.0github-actions[bot]
* chore(latest): release arborist 5.1.0 * deps: @npmcli/arborist@5.1.0 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: npm cli ops bot <ops+npm-cli@npmjs.com>
2022-04-21fix: Use node in and fallback to PATH if not found (#4778)Marco Tizzoni
Co-authored-by: Marco Tizzoni <marco.tizzoni@ecb.europa.eu>
2022-04-21chore(exec): fix testsRuy Adorno
2022-04-20fix(exec): workspaces supportRuy Adorno
Fixes the proper path location to use when targetting specific workspaces. Fixes: https://github.com/npm/cli/issues/3520 Relates to: https://github.com/npm/statusboard/issues/403
2022-04-20fix: remove lib/utils/read-package-name.jsGar
This code wasn't doing anything special, just dereferencing `name` from a packument. There is no need for this to exist. Most of the tests were able to handle having this go away, except for `npm owner` which had to have its tests rewritten to be real, which of course surfaced bugs along the way of behavior that was incorrectly being tested. `npm owner` needs some love to clean up its UX, it throws or returns inconsistently. I did fix it so that if there is no package.json in cwd it errored as expected instead of throwing `ENOENT` which is what it did before.
2022-04-20fix(install): do not install invalid package nameRuy Adorno
Throws an usage error if finding an invalid argument in global install. Fixes: https://github.com/npm/cli/issues/3029
2022-04-20chore: fix nodejs pr actionLuke Karrys
2022-04-20chore(changelog): dont show commit body by default & add extra pr checkLuke Karrys
We don't usually include the commit body in the release notes, so this removes it from the output by default. It's now behind the `--format=long` flag, and the command can be rerun with that in case we need the full commit body sometimes. Also do an extra check for PR references in titles, since squashed PRs don't always include the `associatedPullRequests`.
2022-04-20chore: add fallback audit to testsGar
2022-04-20fix: consolidate registryConfig application logicGar
It should happen whenever we read a manifest anyways. Tests were also rewritten to be real.
2022-04-20fix(libnpmexec): fix read mixed local/registry pkgRuy Adorno
Refactor / clean up of the logic around reading installed packages. Fixes reading packages from mixed sources (one being from the local installed tree and the other from the registry using pacote.manifest). Makes it so that libnpmexec is always reading from the Arborist actual tree instead of reading `node_modules` from the file system when retrieving local package data. Fixes: https://github.com/npm/cli/issues/3668 Relates to: https://github.com/npm/cli/pull/4643 Relates to: https://github.com/npm/cli/issues/4619 Relates to: https://github.com/npm/statusboard/issues/403
2022-04-20chore: rebuild docs for install-links confignlf
2022-04-20docs: add some more docs for --install-linksnlf
2022-04-20feat: add install-links config definitionnlf
2022-04-20chore(arborist): add installLinks with workspaces testnlf
2022-04-20feat(arborist): add support for installLinksnlf
when set, installLinks instructs arborist to pack and extract a file: dependency rather than creating a symlink to it. this has the effect of also installing the dependencies for the linked dependency, though if local changes are made it also requires the user to reinstall the package
2022-04-20fix(arborist): when replacing a Link with a Node, make sure to remove the ↵nlf
Link target from the root
2022-04-15chore(test): fix config definitions test when run without tapLuke Karrys
2022-04-15deps: npm-registry-fetch@13.1.1Gar
2022-04-15chore: update DEPENDENCIES.mdGar
3 deps are gone now, and there's a new workspace
2022-04-15fix: deprecate completionGar
Found a bug refactoring the tests. libnpmaccess mutates the response from the server, and the completion code was not looking for the right value.
2022-04-15chore: fix benchmark script syntaxLuke Karrys
You cannot use a secret as part of an if expression in actions
2022-04-148.7.0v8.7.0Luke Karrys
2022-04-14chore: update AUTHORSLuke Karrys
2022-04-14chore: changelog for v8.7.0Luke Karrys
2022-04-14chore: increase smoke test timeoutLuke Karrys
2022-04-14chore: make sure to build markdown docs for all commands as part of the docs ↵nlf
target
2022-04-14chore: fix Makefile for building markdown docsnlf
2022-04-14chore: fix reading latest release from changelogLuke Karrys
2022-04-14deps: @npmcli/arborist@5.0.6arborist-v5.0.6npm cli ops bot
2022-04-14chore(latest): release arborist 5.0.6github-actions[bot]
2022-04-14deps: libnpmversion@3.0.3libnpmversion-v3.0.3npm cli ops bot
2022-04-14chore(latest): release libnpmversion 3.0.3github-actions[bot]
2022-04-14chore: remove deprecated configs from MakefileLuke Karrys
2022-04-14fix(ls): make `--omit` filter `npm ls`Luke Karrys
This makes `npm ls` use the same logic as other commands (eg `outdated`) when parsing config items that filter the output based on package type. Previously `--development` and `--production` has special semantics when used with `npm ls` that were inconsistent with the rest of the CLI. To achieve the same behavior as these deprecated flags use: - in place of `--development` use `--omit peer --omit prod --omit optional` - in place of `--production` use `--omit dev --omit peer` Fixes #4739
2022-04-14deps: remove ansicolorsGar
2022-04-14deps: remove ansistylesGar
chalk is already in use elsewhere and does what we need
2022-04-14fix: mitigate doctor test race conditionGar
cacache appears to not write everything to the cache by the time doctor is checking permissions. This limits the permissions error to a single directory that we know exists by the time the checks run.
2022-04-14chore: fix adduser testsGar
They mock real registry calls now
2022-04-14deps: @npmcli/config@4.1.0Luke Karrys
2022-04-14feat(config): warn on deprecated configsLuke Karrys
2022-04-14fix(arborist): dont skip adding advisories to audit based on name/rangeLuke Karrys
When generating an audit report, a cache of seen advisories is kept to avoid doing any repeat fanout work on its nodes. Previously this cache was also preventing audits from being added to the report. This has been fixed so the cache is only used to prevent extra work, but all valid advisories are added to the output. Fixes #4681
2022-04-14fixup! fix: show more information during publish dry-runLuke Karrys
2022-04-14fixup! fix: show more information during publish dry-runLuke Karrys
2022-04-14fix: show more information during publish dry-runLuke Karrys
Fixes #4317
2022-04-14chore: refactor and update actions in nodejs pr workflowLuke Karrys