• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

npm / cli / #3276
97%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 03 Nov 2021 09:06PM UTC
Jobs 1
Files 125
Run time 31s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#3276

push

wraithgar
chore: refactor commands

This is the first phase of refactoring the internal structure of the npm
commands to set us up for future changes.  This iteration changes the
function signature of `exec` for all the commands to be a async (no more
callbacks), and also groups all the commands into their own
subdirectory.

It also removes the Proxy `npm.commands` object, in favor of an
`npm.cmd` and `npm.exec` function that breaks up the two things that
proxy was doing. Namely, getting to the attributes of a given command
(`npm.cmd` now does this), and actually running the command `npm.exec`
does this.

PR-URL: https://github.com/npm/cli/pull/3959
Credit: @wraithgar
Close: #3959
Reviewed-by: @lukekarrys

3244 of 3344 branches covered (97.01%)

Branch coverage included in aggregate %.

5458 of 5611 relevant lines covered (97.27%)

28.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #3276.1 03 Nov 2021 09:06PM UTC 0
97.17
Source Files on build #3276
Detailed source file information is not available for this build.
  • Back to Repo
  • 8ffeb71d on github
  • Prev Build on release-next
  • Next Build on release-next
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc