[Pkg-javascript-devel] Help with packaging a NodeJS application

Jonas Smedegaard dr at jones.dk
Sun Oct 9 19:36:26 UTC 2011


Hi David,

On 11-10-09 at 08:56pm, David Paleino wrote:
> Is there any package in Debian which uses npm at build-time which I 
> can look at? I didn't find any with "build-rdeps npm".

npm is a package manager for Nodejs.  Similar to Perl cpan or Ruby gem.

APT is a package management system for Debian.  APT is used *instead* of 
those other managers.  So you should *not* use npm for Debian packaging, 
but instead do similar with debian/* as npm does with package.json.


> Also, I see that there are very few packaged node libraries in Debian, 
> so I suppose I must package all those before uploading tilemill -- and 
> I'm a bit scared by all this javascript :)

I'd say "yes" to that.  But see the recent thread here on this list on 
exactly that issue - which is same as sometimes getting discussed also 
in the Perl team and no doubt Ruby also.


> I don't even know what precise questions to ask -- I suppose I just 
> need someone to point me to the right direction.

You could try look at how some existing Nodejs packages are built: 
http://qa.debian.org/developer.php?login=pkg-javascript-devel@lists.alioth.debian.org

If you don't mind using CDBS for packaging, you can even persuade me to 
help maintain those libraries needed.  I only use CDBS, though, so 
cannot (or will not) help if you package using short-form dh.


Regards,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20111009/0c793d50/attachment.pgp>


More information about the Pkg-javascript-devel mailing list