@dsh-workbench/adapter-probe 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/probe-units.js +3 -1
- package/package.json +5 -5
package/dist/probe-units.js
CHANGED
|
@@ -93,7 +93,9 @@ export async function probeUnits(options) {
|
|
|
93
93
|
}
|
|
94
94
|
async function loadCapabilities(options) {
|
|
95
95
|
const { shell, runtimeCommands, units, force } = options;
|
|
96
|
-
const index = buildSupplyIndex(units.map((unit) => ({ id: unit.unit, needs: unit.needs }))
|
|
96
|
+
const index = buildSupplyIndex(units.map((unit) => ({ id: unit.unit, needs: unit.needs })), {
|
|
97
|
+
env: process.env,
|
|
98
|
+
});
|
|
97
99
|
const binNames = [
|
|
98
100
|
...new Set(units.flatMap((unit) => unit.needs.filter((need) => need.kind === 'bin').map((need) => need.name.trim()).filter((name) => name !== ''))),
|
|
99
101
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-workbench/adapter-probe",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Workbench adapter-probe adapter.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"execa": "^10.2.0",
|
|
17
17
|
"proper-lockfile": "^4.1.2",
|
|
18
18
|
"write-file-atomic": "^8.0.0",
|
|
19
|
-
"@dsh-workbench/adapter-profile": "1.
|
|
20
|
-
"@dsh-workbench/adapter-runtime": "1.
|
|
21
|
-
"@dsh-workbench/
|
|
22
|
-
"@dsh-workbench/
|
|
19
|
+
"@dsh-workbench/adapter-profile": "1.1.0",
|
|
20
|
+
"@dsh-workbench/adapter-runtime": "1.1.0",
|
|
21
|
+
"@dsh-workbench/adapter-supply": "1.1.0",
|
|
22
|
+
"@dsh-workbench/shared": "1.1.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^24.19.0",
|