[Pkg-javascript-devel] Javascript policy and npm2deb

Ximin Luo infinity0 at debian.org
Wed Oct 11 15:10:00 UTC 2017


Please CC me on all replies, I don't receive mail from this mailing list due to too much node-related traffic that I don't want to see.

> In a recent bug report, I came across this disparity,
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877213#36
> 
> npm2deb creates source packages with node- prefix. I think the policy
> should be updated to reflect this.

As I mentioned on that bug report, not all javascript is node or npm. It would be totally inappropriate to rename jquery or mathjax as node-jquery or node-mathjax.

My d3-format source package provides both node-d3-format and libjs-d3-format, which is a standalone javascript library that doesn't need node at all. The build does not need NPM, and it needs nodejs only to run uglifyjs. Calling a package node-XXX just because a build tool uses /usr/bin/nodejs is ridiculous, we might as well rename all/most packages to cc-XXX or gcc-XXX.

More generally we should be liberating as many Debian javascript packages as possible from the shackles of the neoliberal "free-market" npm "ecosystem".

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Pkg-javascript-devel mailing list