Le 23/09/2021 à 15:05, Bastien Roucariès a écrit : > Package: pkg-js-tools > Version: 0.9.66 > Severity: important > > Dear Yadd, > > I will like to get an official way and documented way to get the list of > components as a space separated list. > > It will allow to get it in debian/rules and therefore do ssomething > interesting > > COMPONENTS=$(shell pkg-js-tools --list-components) > > will for instance work > > Bastien
Done in pkg-js-tools 0.9.69, use: COMPONENTS=$(shell list-node-components) or MODULES=$(shell list-node-modules) (npm names instead of component ones) Example: node-tough-cookie (master)$ list-node-modules @types/tough-cookie node-tough-cookie (master)$ list-node-components typestough-cookie -- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
