basic nodejs eclass, + dev-nodejs package category #651
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We need to have a NodeJS package available for configurable-http-proxy, so we can either install manually using npm, or use some publicly existing work for packaging NodeJS stuff in Gentoo.
This PR merges an eclass from https://github.com/Jannis234/jm-overlay with some tweaks, and adds a dev-nodejs package category to profiles/categories.
This PR also adds a dev-nodejs/configurable-http-proxy package which appears to work at first glance (on my ~amd64 box).
There is another approach for packaging NodeJS/npm stuff being done at this overlay:
https://github.com/orsonteodoro/oiledmachine-overlay/blob/master/eclass/npm-utils.eclass
https://github.com/orsonteodoro/oiledmachine-overlay/blob/master/eclass/npm-secaudit.eclass
It seems like a more in-depth approach but also seems to be a bit more heavyweight (I don't think we'll have much packaged using this).
There is also this approach here https://github.com/Alessandro-Barbieri/node-overlay/tree/main/eclass
wdyt? @monsieurp @varilci