[Pkg-javascript-devel] Experimental pkg-js-tools

Pirate Praveen praveen at onenetbeyond.org
Thu Sep 19 08:01:42 BST 2019



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

> Cheers,
> Xavier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190919/873b76c9/attachment.html>


More information about the Pkg-javascript-devel mailing list