Quoting Jonas Smedegaard (2019-03-22 13:35:18)
> Quoting Dmitry Bogatov (2019-03-22 13:01:49)
> > 
> > [2019-03-17 12:43] Xavier <[email protected]>
> > > Le 17/03/2019 à 12:14, Dmitry Bogatov a écrit :
> > > > 
> > > > Hello!
> > > > 
> > > > Could somebody please grant me, @kaction, access to js-team group?
> > > > I need several js libraries packaged as dependencies of Laminar
> > > > (#919181).
> > >
> > > Hello Dmitry,
> > >
> > > done. Please refer to our docs: https://wiki.debian.org/Javascript and
> > > prefer npm2deb from experimental: it embeds pkg-js-tools parameters and
> > > fixes some little bugs.
> > >
> > > Note also that ftpmasters prefer embedding very little node modules
> > > rather than providing many little packages
> > > (https://alioth-lists.debian.net/pipermail/pkg-javascript-devel/2018-September/027849.html
> > > =>
> > > https://wiki.debian.org/Javascript/GroupSourcesTutorial).
> > 
> > Thank you. Is packaging for nodejs mandatory, or packaging libjs-<foo>
> > is enough?
> > 
> > I mean, in my particular case, ansi-up, all I need, is just one file[1],
> > while `npm2deb depends ansi-up` shows enormous dependency, with
> > especially big subtree of `tslint'.
> 
> If the project you are packaging is sensible to use both server-side and 
> client-side, then please provide both a node-* and a libjs-* package, 
> even if you don't need both yourself.

...but wait: tslint is likely declared as a _build_ dependency and is 
quite likely not crucially needed for building and running that project.

Quite often with JavaScript projects you will need to patch upstream 
build routines to skip parts not crucial and unavailable in Debian.


 - Jonas

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

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to