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:
@@ -103,6 +103,13 @@
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": 50
|
||||
},
|
||||
"import-prefix": {
|
||||
"type": "string",
|
||||
"description": "The Go module path prefix of the mesh's packages, under which every entry of a Go build's import set lies (design 47 H2 H-A-534, H-A-535): the step runner refuses an import set naming a package outside it.",
|
||||
"trusted": false,
|
||||
"runtime": true,
|
||||
"default": "git.novox.be/novox/"
|
||||
}
|
||||
},
|
||||
"tools": [
|
||||
|
||||
Reference in New Issue
Block a user