ccsini 0.1.38 → 0.1.40
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/index.js +2 -12
- package/package.json +4 -6
package/dist/index.js
CHANGED
|
@@ -28018,7 +28018,7 @@ var {
|
|
|
28018
28018
|
} = import__.default;
|
|
28019
28019
|
|
|
28020
28020
|
// src/version.ts
|
|
28021
|
-
var VERSION = "0.1.
|
|
28021
|
+
var VERSION = "0.1.40";
|
|
28022
28022
|
|
|
28023
28023
|
// src/commands/init.ts
|
|
28024
28024
|
init_source();
|
|
@@ -29912,15 +29912,6 @@ function registerDoctorCommand(program2) {
|
|
|
29912
29912
|
|
|
29913
29913
|
// src/commands/self.ts
|
|
29914
29914
|
import { execSync } from "child_process";
|
|
29915
|
-
function detectInstalledWith() {
|
|
29916
|
-
try {
|
|
29917
|
-
const whichResult = execSync(process.platform === "win32" ? "where ccsini" : "which ccsini", { encoding: "utf-8" }).trim().split(`
|
|
29918
|
-
`)[0];
|
|
29919
|
-
if (whichResult.includes(".bun"))
|
|
29920
|
-
return "bun";
|
|
29921
|
-
} catch {}
|
|
29922
|
-
return "npm";
|
|
29923
|
-
}
|
|
29924
29915
|
function getLatestVersion() {
|
|
29925
29916
|
try {
|
|
29926
29917
|
const result = execSync("npm view ccsini version", { encoding: "utf-8" }).trim();
|
|
@@ -29944,8 +29935,7 @@ function registerSelfCommands(program2) {
|
|
|
29944
29935
|
console.log(`New version available: ${latest}`);
|
|
29945
29936
|
console.log(`Updating...
|
|
29946
29937
|
`);
|
|
29947
|
-
const
|
|
29948
|
-
const cmd = installedWith === "bun" ? `bun add -g ccsini@${latest} --force` : `npm install -g ccsini@${latest}`;
|
|
29938
|
+
const cmd = `bun add -g ccsini@${latest}`;
|
|
29949
29939
|
try {
|
|
29950
29940
|
execSync(cmd, { stdio: "inherit" });
|
|
29951
29941
|
console.log(`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccsini",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.40",
|
|
4
4
|
"description": "Claude Code seamless sync across devices",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
"test": "bun test",
|
|
26
26
|
"typecheck": "tsc --noEmit"
|
|
27
27
|
},
|
|
28
|
-
"
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@types/bun": "^1.2.0",
|
|
30
|
+
"@types/inquirer": "^9.0.9",
|
|
29
31
|
"chalk": "^5.4.0",
|
|
30
32
|
"chokidar": "^5.0.0",
|
|
31
33
|
"commander": "^13.0.0",
|
|
@@ -33,9 +35,5 @@
|
|
|
33
35
|
"inquirer": "^13.2.2",
|
|
34
36
|
"jose": "^6.1.3",
|
|
35
37
|
"ora": "^8.2.0"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@types/bun": "^1.2.0",
|
|
39
|
-
"@types/inquirer": "^9.0.9"
|
|
40
38
|
}
|
|
41
39
|
}
|