[Pkg-javascript-devel] Bug#844389: npm2deb: properly install files if files section is not present in package.json

Jérémy Lal kapouer at melix.org
Tue Nov 15 07:48:03 UTC 2016


2016-11-15 7:38 GMT+01:00 Shanavas M <shanavas at disroot.org>:
> Package: npm2deb
> Version: 0.2.6-1
> Severity: normal
>
> Dear Maintainer,
>
> If files section is missing in package.json include everything excluding files
> ignored by .npmignore and .gitignore
>
> https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package
>
> bugs like #844333 can be avoided

The right way to do it is to use the `fstream-npm` module.
However, npm2deb must make sure the maintainer WILL look inside debian/install,
or else a lot of garbage is going to be installed.

Jérémy



More information about the Pkg-javascript-devel mailing list