Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 May 2026 09:05:43 +0000
From:      Fernando Apeste=?utf-8?Q?gu=C3=ADa?= <fernape@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: c06ad42897 - main - [phb][Uses]: Improve nodejs
Message-ID:  <69fc55e7.1f78f.2124821f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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`


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69fc55e7.1f78f.2124821f>