Packaging nodejs-7.9

Jérémy Lal kapouer at melix.org
Thu May 4 07:26:39 UTC 2017


2017-05-04 9:13 GMT+02:00 Enrico Weigelt, metux IT consult <
enrico.weigelt at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20170504/4b0929f4/attachment.html>


More information about the Ubuntu-devel-discuss mailing list