[Pkg-javascript-devel] membership please :)

Jérémy Lal kapouer at melix.org
Mon Dec 30 09:57:19 UTC 2013


On 30/12/2013 03:27, Dmitry Smirnov wrote:
> Hi Jonas,
> 
> On Sun, 29 Dec 2013 21:15:43 Jonas Smedegaard wrote:
>> Welcome to our team! :-D
> 
> Thanks for warm welcome. :)
> 
>> No, your request was hanging there unprocessed - sorry about that (most 
>> of us in the team - now including yourself - are admins, so it is odd 
>> that noone acted on it for so long).
> 
> No worries, perhaps everybody were busy or maybe you're the only one
> who knew something about me. ;)

Welcome Dmitry,

i'm not convinced
/usr/lib/nodejs/smash.js
/usr/lib/nodejs/smash/smash.js

is a nice layout for a node module, please consider this instead:

Usually, what i do now when upstream has a non-straightforward layout,
i keep it untouched and put package.json and the other needed files
in the path, into /usr/lib/nodejs/smash/
That way nodejs will find
/usr/lib/nodejs/smash/package.json
and be able to require the module from there, without needing a patch.
As a bonus, require("package.json").version will work and won't need
to be fixed either.

i hope that helps,

Jérémy.




More information about the Pkg-javascript-devel mailing list