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

npm installation support #218

Open
andymac4182 opened this issue Aug 11, 2024 · 2 comments
Open

npm installation support #218

andymac4182 opened this issue Aug 11, 2024 · 2 comments

Comments

@andymac4182
Copy link

Feature Request

Use Case:

We are looking at using process-compose to orchestrate a few of our commands.
It needs to be something that is abstracted from most of the team members.

Proposed Change:

Ship this as a binary in npm for supported platforms similar to napi-rs does.

Who Benefits From The Change(s)?

This reduces the effort to adopt and lets projects have different versions instead of one global version.

Alternative Approaches

@adrian-gierakowski
Copy link
Contributor

Consider using nix for managing non js deps https://nixos.org/

@idangoldman
Copy link

You can wrap the download-install of process-compose with an npm scripts command and use it as part of the project's napi-rc workflow.

{
  "scripts": {
    "download:process-compose": "sh -c \"$(curl --location https://raw.githubusercontent.com/F1bonacc1/process-compose/main/scripts/get-pc.sh)\" -- -d"
  }
}

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