-
Notifications
You must be signed in to change notification settings - Fork 3.7k
chore: arborist fund cmd refactor #1311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I had a quick chat with @isaacs related to this and I'd actually like to pluck out |
c67ee3b
to
4d28bee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some stuff that's a little confusing. Maybe we can find some time tomorrow to sync up on this? May well be I'm just misunderstanding exactly what fund is doing.
we went over some of the concerns in a pair session, I'll still get to some of the comments here but otherwise it should be good to merge
e0d621d
to
050ddf7
Compare
adressed all items from original @isaacs review 😊 should be good to merge ✅ |
- npm fund cmd: - no longer depends on `lib/install` modules - now it uses arborist tree and inventory to retrieve funding data - refactor to use same exports patterns to new commands - changed human output to reinstate representation of nested deps - install: - no longer breaks on missing audit report - refactored `reify-output` to use `libnpmfund` module - added tests for utils.reify-output fund summary - moved logic from `lib/utils/funding.js` into a new `libnpmfund` pkg
050ddf7
to
7e908c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ LGTM
- npm fund cmd: - no longer depends on `lib/install` modules - now it uses arborist tree and inventory to retrieve funding data - refactor to use same exports patterns to new commands - changed human output to reinstate representation of nested deps - install: - no longer breaks on missing audit report - refactored `reify-output` to use `libnpmfund` module - added tests for utils.reify-output fund summary - moved logic from `lib/utils/funding.js` into a new `libnpmfund` pkg PR-URL: #1311 Credit: @ruyadorno Close: #1311 Reviewed-by: @darcyclarke
Changes:
lib/install
modulesreify-output
to uselibnpmfund
modulelib/utils/funding.js
into a newlibnpmfund
pkg