N1: the Node build module reads and says its import set; each build module judges by its own setting (issue 721)

The step tool build_node_imports reads, after a build, esbuild's metafile of each
TypeScript bundle's staged entrypoints and launchers and answers the mesh npm
packages among its inputs and external imports, each by its package name once
(@novox/mesh-sdk, never a sub-path); the ask's steps run it as Imports and say
the set as imports-reported on node-build-node's subject of the node. The Node
build module declares the setting import-scope (default @novox) and the Go build
module import-prefix (default the forge's Go module prefix), each filled into the
step runner's ask as ImportScope and ImportPrefix.

Builds: design 47 H2 H-A-523, H-A-517, H-A-532 DQ-6, DMC-2, DMC-3, H-A-534, H-A-535
This commit is contained in:
2026-11-23 11:21:35 +01:00
parent 0e35d32669
commit b117e4ab55
13 changed files with 384 additions and 5 deletions
+8
View File
@@ -72,12 +72,20 @@
"minimum": 1,
"maximum": 100,
"default": 50
},
"import-scope": {
"type": "string",
"description": "The npm scope of the mesh's packages (design 47 H2 H-A-534, H-A-535): a TypeScript build's import set names each package of it its bundles import, by its package name, and the step runner refuses an import set naming a package outside it.",
"trusted": false,
"runtime": true,
"default": "@novox"
}
},
"tools": [
"build_node_fetch",
"build_node_test",
"build_node_build",
"build_node_imports",
"build_node_release",
"build_node_step",
"build_node_steps",