[Pkg-javascript-devel] ?==?utf-8?q? Experimental pkg-js-tools

Xavier yadd at debian.org
Thu Sep 19 08:50:07 BST 2019


Le Jeudi, Septembre 19, 2019 09:01 CEST, Pirate Praveen <praveen at onenetbeyond.org> a écrit: 
 
> 
> 
> On Fri, Sep 13, 2019 at 10:00 PM, Xavier <yadd at debian.org> wrote:
> > Hi,
> > 
> > I just pushed a new pkg-js-tools in experimental branch. New features:
> >  * @praveen: you can set "packages/*" in
> >    debian/nodejs/additional_components, then all modules inside will 
> > be
> >    considered as component even if they don't exist in debian/watch
> >  * @rouca: you can set an empty debian/nodejs/main file to create your
> >    bundle packages (uscan part not done): only composed of components
> > 
> 
> Hi yadd,
> 
> Thanks for this feature. But in this case, main module (core-js) is 
> also in packages/*
> 
> all components should be installed as independent modules (not under 
> node_modules).
> 
> I tried this,
> 
> $ git diff
> diff --git a/debian/watch b/debian/watch
> index fc41c87..df5b573 100644
> --- a/debian/watch
> +++ b/debian/watch
> @@ -2,4 +2,4 @@ version=3
>  opts=\
>  dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
>  filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-core-js-$1.tar.gz/ \
> - https://github.com/zloirock/core-js/tags .*/archive/v?([\d\.]+).tar.gz
> + https://github.com/zloirock/core-js/tags 
> .*/archive/v?([\d\.]+).tar.gz group
> 
> But then it installs in /usr/share/nodejs/node_modules

Try to add "packages/*" in debian/nodejs/root_modules : this fixes this problem




More information about the Pkg-javascript-devel mailing list