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

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

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 02 Nov 2021 05:52PM UTC
Jobs 1
Files 125
Run time 17min
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
#3252

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.

3244 of 3344 branches covered (97.01%)

Branch coverage included in aggregate %.

252 of 252 new or added lines in 70 files covered. (100.0%)

5458 of 5611 relevant lines covered (97.27%)

28.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #3252.1 02 Nov 2021 05:52PM UTC 0
97.17
Source Files on build #3252
Detailed source file information is not available for this build.
  • Back to Repo
  • 16003ff0 on github
  • Prev Build on gar/refactor-commands
  • Next Build on gar/refactor-commands
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