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

Publish to NPM #64

Open
davbeck opened this Issue Feb 11, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@davbeck
Copy link

davbeck commented Feb 11, 2019

I've been using dbmate with a node project. It works great but it would be nice if I could integrate it with the rest of my projects dependencies. While NPM is focused on Javascript, you can publish any binary to the repository (see https://github.com/sanathkr/go-npm for a go specific tool and instructions on doing this).

This would not only make it easier to use with node projects, but for some users would make it easier to install since NPM handles cross platform binaries automatically. You would even get support for npx dbmate, which lets you run a binary without explicitly installing it first. This would also simplify using it on Heroku.

@amacneil

This comment has been minimized.

Copy link
Owner

amacneil commented Feb 18, 2019

This is a great idea, thanks! I'll publish an npm package when I get a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment