git: c06ad42897 - main - [phb][Uses]: Improve nodejs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 May 2026 09:05:43 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/doc/commit/?id=c06ad42897d56a7b1b7414a03d0b880d16fec834
commit c06ad42897d56a7b1b7414a03d0b880d16fec834
Author: Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2026-05-07 09:03:38 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2026-05-07 09:03:38 +0000
[phb][Uses]: Improve nodejs
Update versions and arguments.
---
documentation/content/en/books/porters-handbook/uses/_index.adoc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index 47b2b4a6b0..fa7827a1e0 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -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`