[Pkg-javascript-devel] Bug#958867: Bug#958867: Bug#958867: add an option to add-node-component to embed build only modules in debian/build_modules

Pirate Praveen praveen at onenetbeyond.org
Thu Apr 30 15:09:45 BST 2020



On Thu, Apr 30, 2020 at 3:33 pm, Xavier <yadd at debian.org> wrote:
> could you describe more? Download and install in debian/build_modules 
> ?
> From npm registry ? form source ?

Same logic as adding components, try source first and fallback to 
npmregistry if that fails. Give options to force npmregistry.

Currently it is,

1. Check version in package.json/package-lock.json/yarn.lock
2a. Go to npmjs.com -> github/source -> tags page -> download tar.gz OR
2b. npm view foo at x.y.z dist.tarball -> wget
3. Extract tar -> copy to debian/build_modules
4. Update debian/copyright



More information about the Pkg-javascript-devel mailing list