Files
mesh-catalog/modules/nodejs

nodejs

Node.js and npm as a module (novox/hq ADR 0477 clause 4, issue 1573).

  • The only module that declares the packages nodejs and npm. checks/toolchains refuses any other that does.
  • Provides node-toolchain with the machine's reach: dev-tools, lab and mesh-build-node require it, so each composes only on a machine where this module is assigned. It is never pulled in for whatever asked, so nodejs is assigned to a node on purpose, and a node without it refuses those modules at resolution.
  • Holds no long-running resource, so it adds nothing to health-undeclared.

The node-engine never uninstalls a package, so moving the declarations here removed nothing from a node.