[Pkg-javascript-devel] Debian node-express
Jonas Smedegaard
dr at jones.dk
Wed Apr 30 10:35:35 UTC 2014
Quoting Jérémy Lal (2014-04-30 11:59:08)
> Le mercredi 30 avril 2014 à 11:45 +0200, Jonas Smedegaard a écrit :
>> Quoting Leo Iannacone (2014-04-30 10:20:28)
>>> On 30 April 2014 02:39, Jérémy Lal <kapouer at melix.org> wrote:
>>>> If /usr/lib/nodejs/express/package.json exists, nodejs uses it to
>>>> find the entry point of the module.
>>>
>>> Here more info about:
>>> http://nodejs.org/api/modules.html#modules_folders_as_modules
>>
>> Thanks for that! Really cool!
>>
>> I am still puzzled, however, on the concrete need for node-express to
>> preserve its source structure to avoid patching package.json, as I
>> see no name/main declarations in that specific package.json file.
>
> In that specific case, it is indeed unneeded.
> My personal preference is to not change it, and apparently yours is to
> change it - no problem with that, isn't it ?
We can agree to disagree, yes, if that's what you mean.
I just wanted to make sure I wasn't missing some valuable point that
afected also this specific case. Seems that's not the case :-)
Thanks to both of you for educating me about the general case! Having
insight on that is obviously more important when being more "aggressive"
in tidying while packaging, as I tend to do.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20140430/f849ed00/attachment.sig>
More information about the Pkg-javascript-devel
mailing list