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 <kapo...@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