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

Publish as a npm package? #4

Closed
zachlysobey opened this issue Nov 17, 2016 · 6 comments
Closed

Publish as a npm package? #4

zachlysobey opened this issue Nov 17, 2016 · 6 comments

Comments

@zachlysobey
Copy link

This seems to be the final item preventing me from using this (easily) in production.

If you could add it, I would be ever-so grateful.

@antham
Copy link
Owner

antham commented Nov 17, 2016

A npm package, what do you mean ?

@zachlysobey
Copy link
Author

Pretty much, I'd just like to be able to use this in my javascript projects using npm.

I.e. npm install gommit --save-dev to install this project as a dependency.

Given that this itself is not a JS project, you'd probably have to write a wrapper, perhaps using something like: https://github.com/kevva/bin-wrapper

Honestly, this isn't something I've really done before, and I'm not really even 100% its appropriate for your project.

If you wanted to take a stab at it, that would be amazing. If not, maybe I can take a shot at writing the JS wrapper at some point in the coming weeks?

@antham
Copy link
Owner

antham commented Nov 17, 2016

I saw dev package.json part only like things related to js, I would put a command like that rather in script part, but I get the idea. If you want to give it a try why not.

@dschnare
Copy link

@zachlysobey @antham Hey guys, I too would like this tool wrapped in a NPM module. So I wrote one. @zachlysobey hope you didn't get too far in your implementation, but I needed a solution. You can check out the project here: https://github.com/dschnare/gommitjs

@zachlysobey
Copy link
Author

@dschnare nope, its just been a line on a TODO list. Awesome job putting that together. I'll give it a test-drive soon.

@antham
Copy link
Owner

antham commented Feb 12, 2017

@dschnare thanks for your geat job, I added your library to gommit README : https://github.com/antham/gommit#third-part-libraries

I can close this issue now.

👍

@antham antham closed this as completed Feb 12, 2017
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

No branches or pull requests

3 participants