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

2014-09-18 Thread Cédric Boutillier
Source: highlight.js
Followup-For: Bug #762033

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.

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?

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


Cheers,

Cédric


signature.asc
Description: Digital signature
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

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

2014-09-18 Thread Leo Iannacone
On 19 September 2014 00:07, Cédric Boutillier bou...@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.

___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel