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

Suggestion: Publish task as an npm package #870

Closed
ath88 opened this issue Sep 21, 2022 · 1 comment · Fixed by #871
Closed

Suggestion: Publish task as an npm package #870

ath88 opened this issue Sep 21, 2022 · 1 comment · Fixed by #871
Labels
area: releasing Changes related to the release process.

Comments

@ath88
Copy link

ath88 commented Sep 21, 2022

Hello there,

We have several node.js projects where we would love to use task as our task runner. But - that would require every developer to install task on their local development host. Usually we include development dependencies in the package.json-file of our projects. There are tools we can't install this way, such as docker, but it'll be an easier sell in the team if we can just add it into our existing dependency list.

There are tools that makes it easy to publish go binaries to npm packages while still handling cross-platform issues, such as https://github.com/sanathkr/go-npm.

Would you be open to do this?

@andreynering
Copy link
Member

Hi @ath88,

I liked the idea, so I just gave it a try and it seems to be very simple indeed, so I'll commit to do that.

I opened a PR with the WIP work on it: #871

I used of fork of the package you indicated because it's more maintained (see sanathkr/go-npm#15).

There's a contribution I just made which is a blocker to make it work on Windows: gzuidhof/go-npm#5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: releasing Changes related to the release process.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants