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

npm / cli / #1319 / 1
98%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 22 Feb 2021 08:32PM UTC
Files 118
Run time 42s
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

22 Feb 2021 08:30PM UTC coverage: 97.757% (+0.006%) from 97.751%
#1319.1

push

isaacs
chore(refactor): clean up lifecycle-cmds

This is a small incremental step in removing some of the complexity
surrounding the `npm` object in our code.

It moves that object one level up the chain of code, with the end goal
being that we will only require it once in the codebase, ultimately allowing
us to improve our tests.

I also changed the command that it calls to `run-script` because that is the
base command. `run` was an alias, and that is one more layer of hoops a
developer would have to jump through to find what file in `./lib` is even
being referenced here.

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

2885 of 2962 branches covered (97.4%)

Branch coverage included in aggregate %.

5046 of 5151 relevant lines covered (97.96%)

20.3 hits per line

Source Files on job #1319.1
  • Tree
  • List 0
  • Changed 12
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1319
  • 773ae3e7 on github
  • Prev Job for on gar/lifecycle-cmd-refactor (##1309.1)
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