<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-05-04 9:13 GMT+02:00 Enrico Weigelt, metux IT consult <span dir="ltr"><<a href="mailto:enrico.weigelt@gr13.net" target="_blank">enrico.weigelt@gr13.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi folks,<br>
<br>
<br>
I'm currently packaging nodejs-7.9 for various deb Distros.<br>
<br>
I'll have to maintain some applications that use the fanciest<br>
new features, and precompiled binaries from untrusted sources<br>
(eg. nvm+friends) of course are not an option.<br>
<br>
Before I go all of this alone - is there anybody here who already<br>
done this ? Or anything I should consider ?<br>
<br>
My current plan is:<br>
* install in similar way as jvm (/usr/lib/nodejs/nodejs-$<wbr>version)<br>
* for now I'll just directly symlink - update-alternatives support<br>
 comes in a later step (or maybe someone here likes to help ?)<br>
* the actual nodejs package will be named "nodejs-$version", the<br>
 symlinks in package "nodejs".<br>
<br>
The tricky part will be a safe upgrade path from current 0.10<br>
and npm's dependencies.<br>
<br>
<br>
What do you folks think about that ?<br></blockquote><div><br></div><div>At the moment, in debian, /usr/lib/nodejs is there to store all node modules installed from debian packages.</div><div>Are you talking about installing modules depending on their compatibility with node engines (as found in package.json) ?</div><div><br></div><div>Jérémy</div><div><br></div></div></div></div>