@locusai/cli 0.9.5 → 0.9.7
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/bin/locus.js +11 -0
- package/package.json +2 -2
package/bin/locus.js
CHANGED
|
@@ -44362,6 +44362,17 @@ async function upgradeCommand() {
|
|
|
44362
44362
|
console.log(`
|
|
44363
44363
|
${c.header(" UPGRADE ")}
|
|
44364
44364
|
`);
|
|
44365
|
+
try {
|
|
44366
|
+
console.log(` ${c.dim("◌")} Cleaning npm cache...`);
|
|
44367
|
+
execSync3("npm cache clean --force", {
|
|
44368
|
+
stdio: ["pipe", "pipe", "pipe"]
|
|
44369
|
+
});
|
|
44370
|
+
console.log(` ${c.success("✔")} npm cache cleaned
|
|
44371
|
+
`);
|
|
44372
|
+
} catch {
|
|
44373
|
+
console.log(` ${c.dim("⚠")} Could not clean npm cache, continuing...
|
|
44374
|
+
`);
|
|
44375
|
+
}
|
|
44365
44376
|
for (const pkg of PACKAGES) {
|
|
44366
44377
|
const current = getInstalledVersion(pkg);
|
|
44367
44378
|
const latest = getLatestVersion(pkg);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@locusai/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
4
4
|
"description": "CLI for Locus - AI-native project management platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"author": "",
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@locusai/sdk": "^0.9.
|
|
35
|
+
"@locusai/sdk": "^0.9.7"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {}
|
|
38
38
|
}
|