@larkup/cli 0.2.9 → 0.2.10
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.
|
@@ -224,12 +224,8 @@ async function resolveManifest(toolId) {
|
|
|
224
224
|
}
|
|
225
225
|
async function isWorkspaceTool(packageName) {
|
|
226
226
|
try {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
timeout: 1e4
|
|
230
|
-
});
|
|
231
|
-
const data = JSON.parse(stdout || "[]");
|
|
232
|
-
return Array.isArray(data) && data.some((pkg) => pkg.name === packageName);
|
|
227
|
+
__require.resolve(packageName, { paths: [process.cwd()] });
|
|
228
|
+
return true;
|
|
233
229
|
} catch {
|
|
234
230
|
return false;
|
|
235
231
|
}
|
|
@@ -245,7 +241,7 @@ async function installTool(toolId, onProgress) {
|
|
|
245
241
|
throw new Error(`${descriptor.name} is coming soon.`);
|
|
246
242
|
}
|
|
247
243
|
report("checking-deps", 15, "Checking system dependencies\u2026");
|
|
248
|
-
const missing = await checkSystemDeps(toolId);
|
|
244
|
+
const missing = (await checkSystemDeps(toolId)).filter((dependency) => dependency !== "docker");
|
|
249
245
|
if (missing.length > 0) {
|
|
250
246
|
const msg = `Missing system dependencies: ${missing.join(", ")}. Please install them first.`;
|
|
251
247
|
report("failed", 0, msg);
|
|
@@ -327,7 +323,7 @@ async function uninstallTool(toolId) {
|
|
|
327
323
|
}
|
|
328
324
|
}
|
|
329
325
|
invalidateRegistryCache();
|
|
330
|
-
const { unloadTool: unloadTool2 } = await import("./tool-loader-
|
|
326
|
+
const { unloadTool: unloadTool2 } = await import("./tool-loader-BAUVT52G.js");
|
|
331
327
|
unloadTool2(toolId);
|
|
332
328
|
}
|
|
333
329
|
async function notifyHubInstall(toolId) {
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isToolInstalled,
|
|
20
20
|
loadTool,
|
|
21
21
|
uninstallTool
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ECNTPZXZ.js";
|
|
23
23
|
import {
|
|
24
24
|
getAllTools,
|
|
25
25
|
getToolById
|
|
@@ -34,7 +34,7 @@ import { Command } from "commander";
|
|
|
34
34
|
// package.json
|
|
35
35
|
var package_default = {
|
|
36
36
|
name: "@larkup/cli",
|
|
37
|
-
version: "0.2.
|
|
37
|
+
version: "0.2.10",
|
|
38
38
|
publishConfig: {
|
|
39
39
|
access: "public"
|
|
40
40
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@larkup/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"cli-table3": "^0.6.5",
|
|
29
29
|
"commander": "^15.0.0",
|
|
30
30
|
"zod": "^4.4.3",
|
|
31
|
-
"@larkup/vector-stores": "0.1.23",
|
|
32
31
|
"@larkup/core": "0.2.4",
|
|
33
|
-
"@larkup/marketplace": "0.1.
|
|
32
|
+
"@larkup/marketplace": "0.1.10",
|
|
33
|
+
"@larkup/vector-stores": "0.1.23"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"tsup": "^8.0.0",
|