Skip to content
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

Make npm backup global packages only #74

Merged
merged 4 commits into from
Oct 15, 2018
Merged

Make npm backup global packages only #74

merged 4 commits into from
Oct 15, 2018

Conversation

jasikpark
Copy link
Contributor

I changed the code to request a list of installed packages from
npm ls --parseable=true
to
npm ls --global --parseable=true --depth=0

--global restricts it to only the global packages.
--depth=0 restricts it to only the base packages, ignoring their dependencies.

@jasikpark
Copy link
Contributor Author

This is to fix issue #61.

@alichtman
Copy link
Owner

Looks good to me. Just pull from master to resolve those merge conflicts and I'll get this in.

@alichtman alichtman merged commit 01c48c8 into alichtman:master Oct 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants