[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging nodejs-7.9





2017-05-04 9:13 GMT+02:00 Enrico Weigelt, metux IT consult <enrico.weigelt@gr13.net>:
Hi folks,


I'm currently packaging nodejs-7.9 for various deb Distros.

I'll have to maintain some applications that use the fanciest
new features, and precompiled binaries from untrusted sources
(eg. nvm+friends) of course are not an option.

Before I go all of this alone - is there anybody here who already
done this ? Or anything I should consider ?

My current plan is:
* install in similar way as jvm (/usr/lib/nodejs/nodejs-$version)
* for now I'll just directly symlink - update-alternatives support
  comes in a later step (or maybe someone here likes to help ?)
* the actual nodejs package will be named "nodejs-$version", the
  symlinks in package "nodejs".

The tricky part will be a safe upgrade path from current 0.10
and npm's dependencies.


What do you folks think about that ?

At the moment, in debian, /usr/lib/nodejs is there to store all node modules installed from debian packages.
Are you talking about installing modules depending on their compatibility with node engines (as found in package.json) ?

Jérémy


Reply to: