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

npm / arborist / #993

Build:
Build:
LAST BUILD BRANCH:
DEFAULT BRANCH: master
Ran 06 May 2021 05:03PM UTC
Jobs 1
Files 38
Run time 31min
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
#993

push

nlf
fix(add): save packages in the right place

Right now where we end up saving a dep is not very well coupled to where
the user requested it.  We are inferring more than we are checking for
intention.  This moves us to more heavily lean on the `saveType` if
given when adding a package into the dependencies.

We also were not consistently inferring the saveType.  There was code in
two places trying to do this, and either place used slightly different
logic. This moves the logic into one place.

Finally, we are more consistently making certain dependency types
mutually exclusive, for instance dependencies and devDependencies.

PR-URL: https://github.com/npm/arborist/pull/273
Credit: @wraithgar
Close: #273
Reviewed-by: @nlf

3038 of 3038 branches covered (100.0%)

Branch coverage included in aggregate %.

4102 of 4102 relevant lines covered (100.0%)

564.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #993.1 06 May 2021 05:03PM UTC 0
100.0
Source Files on build #993
Detailed source file information is not available for this build.
  • Back to Repo
  • cbcccc9a on github
  • Prev Build on
  • Next Build on
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