[Pkg-javascript-devel] Bug#933007: Bug#933007: pkg-js-tools: Automatically link components in node_modules directory

Xavier yadd at debian.org
Thu Jul 25 19:34:27 BST 2019


Le 25/07/2019 à 20:00, Xavier a écrit :
> Le 25/07/2019 à 19:45, Xavier Guimard a écrit :
>> Package: pkg-js-tools
>> Version: 0.7
>> Severity: wishlist
>>
>> When using components in node modules, the best way to use them is to
>> install them in node_modules/ directory. However, dpkg-source install
>> them at the top source directory under a directory named by "component"
>> field value (debian/watch).
>>
>> The idea here is, before build, to automatically read debian/watch to find
>> components, read <component>/package.json to find the node name and
>> create a link "../<component> => <node-name>" in node_modules directory
>> (created on-the-fly). Also, it will remove automatically node_modules
>> directory during dh_clean step.
>> Then no need to overwrite NODE_PATH in debian/rules.
>>
>> Any comment is welcome here ;-).
> 
> To disable this, just to not call dh_auto_build in override_dh_auto_build

Or best, install this feature in dh_auto_configure




More information about the Pkg-javascript-devel mailing list