Ship the Node build module's toolchain lock as an archive, not a template naming hosts (issue 1488)

This commit is contained in:
2026-10-20 21:15:56 +00:00
parent 00fa5e74d0
commit 983a6c39c8
6 changed files with 52 additions and 38 deletions
+10 -19
View File
@@ -21,7 +21,9 @@
"streams": [
{
"name": "toolchains-node",
"events": ["toolchain.**"]
"events": [
"toolchain.**"
]
}
],
"requires": [
@@ -117,28 +119,12 @@
},
{
"id": "toolchain-dir",
"type": "directory",
"type": "archive",
"path": "${dir:state}/toolchain",
"mode": "0700",
"owner": "mesh-build-node",
"artifact": "toolchain",
"unknown": "program"
},
{
"id": "toolchain-package",
"type": "file",
"path": "${dir:toolchain-dir}/package.json",
"owner": "mesh-build-node",
"mode": "0644",
"template": "files/toolchain/package.json"
},
{
"id": "toolchain-lock",
"type": "file",
"path": "${dir:toolchain-dir}/package-lock.json",
"owner": "mesh-build-node",
"mode": "0644",
"template": "files/toolchain/package-lock.json"
},
{
"id": "nodejs",
"type": "package",
@@ -177,6 +163,11 @@
"name": "files",
"kind": "archive",
"from": "files"
},
{
"name": "toolchain",
"kind": "archive",
"from": "toolchain"
}
]
}