Appsweet-co / npm-carbon

Copy npm packages and all their versions from one registry to another
MIT License
3 stars 2 forks source link

Handle case where destination does not exist yet #2

Closed dpogue closed 3 years ago

dpogue commented 3 years ago

Issues Fixed :wrench:

Breaking Changes :boom:

None

Details :memo:

This was ported from the the original npm-copy behaviour: https://github.com/goodeggs/npm-copy/blob/master/src/cli.coffee#L33

I've tested this change and was able to successfully sync a package from npm to the GitHub package registry. The sync failed with the master branch due to the package not existing in GitHub package registry yet.

dperuo commented 3 years ago

@dpogue Thank you for the Pull Request. Very sorry for the slow reply.