[Pkg-javascript-devel] Bug#762033: node-highlight: incompatible with nodejs module name: highlight.js

Leo Iannacone l3on at ubuntu.com
Thu Sep 18 22:29:26 UTC 2014


On 19 September 2014 00:07, Cédric Boutillier <boutil at debian.org> wrote:
> Thanks for your report. I packaged highlight.js as a dependency of
> another tool, and I am not completely familiar with the JavaScript
> world. Excuse my naive questions below.

No problem.

> I understand that because the package name in the package.json file is
> hightlight.js, the nodejs package should be named node-hightlight.js.
> Should I install the package.json file in this node-hightlight.js?

Exaclty .. more important: please, put files in the right location.

In your case: /usr/lib/nodejs/hightlight.js

For more info, see https://wiki.debian.org/Javascript/Nodejs/

> Should I rename also the libjs-hightlight to libjs-highlight.js for
> coherence?

Yes, you should, according the library name.
For more info, see https://wiki.debian.org/Javascript/Policy

Best,
L.



More information about the Pkg-javascript-devel mailing list