1
0
mirror of https://git.FreeBSD.org/doc.git synced 2026-06-02 19:35:07 +00:00

[phb][Uses]: Improve nodejs

Update versions and arguments.
This commit is contained in:
Fernando Apesteguía
2026-05-07 11:03:38 +02:00
parent a9fdefa410
commit c06ad42897
@@ -1952,11 +1952,12 @@ on package:devel/samurai[] instead.
[[uses-nodejs]]
== `nodejs`
Possible arguments: (none), `build`, `run`, `current`, `lts`, `10`, `14`, `16`,
`17`.
Possible arguments: (none), `build`, `env`, `run`, `current`, `lts`, `20`, `22`, `24`, `25`, `26`.
Uses nodejs. Adds a dependency on package:www/node*[]. If a supported version is
specified then `run` and/or `build` must be specified too.
The `env` argument sets the environment variables `NODEJS_VERSION` and `NODEJS_SUFFIX`.
Currently `lts` is an alias for 24 and `current` is an alias for 26.
[[uses-objc]]
== `objc`