Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
js module [was Re: [NEW] 3 AI coding agents: claude, crush & and swival (+ deps)]
To:
David Uhden Collado <daviduhden@gmail.com>
Cc:
ports@openbsd.org, didickman@gmail.com
Date:
Wed, 1 Jul 2026 10:30:29 +0100

Download raw body.

Thread
On 2026/07/01 01:51, David Uhden Collado wrote:
> What might be more useful long term is a proper ports module for
> Node-based ports, similar to the existing port-modules(5) mechanism.
> The ports framework already has optional modules pulled in through
> MODULES, and non-core modules are normally looked up by pkgpath and
> a .port.mk file:
> 
> https://man.openbsd.org/port-modules.5
> 
> Something like this:
> 
> MODULES += lang/node
> 
> could provide a standard way to declare, fetch, cache, and hash npm
> dependencies from package-lock.json, so Node-based ports do not all
> need to reinvent that logic.

There is various work towards this in
https://github.com/opencrew-tech/openbsd-electron

It is super tricky because many of these involve native code downloads
and dep sets which differ depending on arch.