How should we name node-js ports ?

Rodrigo Osorio ros at bebik.net
Mon May 15 18:28:42 UTC 2017


Hi Adam,

Thanks for your feedback.

On 05/15/17 18:52, Adam Weinberger wrote:
>> On 15 May, 2017, at 6:57, Ruslan Makhmatkhanov <rm at FreeBSD.org> wrote:
>>
>>
>> npm packages can be installed by yarn as well; nodejs is really the common name and makes a better prefix.
>>
>> That said, making node ports does not sit well with me. npm/yarn manages node packages. Things will break if a user has those same packages installed globally and tries to update or remove them, or if a user needs specific global versions installed.
>>
>> Rodrigo, I think your better option is simply to bundle those dependencies yourself, at the specific versions that your port requires, and install them to a private location.
I decide to split the dependencies in several packages and I use npm a 
short perform the package installation before
the staging. That way node packages remains available to other and can 
be reused as dependencies for others node ports.

>
> # Adam
>
>





More information about the freebsd-ports mailing list