On Fri, Sep 13, 2019 at 10:00 PM, Xavier <y...@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

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to