Skip to content

Make npm backup global packages only#74

Merged
alichtman merged 4 commits intoalichtman:masterfrom
jasikpark:backup-npm-correctly
Oct 15, 2018
Merged

Make npm backup global packages only#74
alichtman merged 4 commits intoalichtman:masterfrom
jasikpark:backup-npm-correctly

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