@xwm111/ccs 0.1.0 → 0.1.1

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.
@@ -1139,7 +1139,7 @@ const config = {
1139
1139
  updateDefaultModel: updateDefaultModel
1140
1140
  };
1141
1141
 
1142
- const version = "0.1.0";
1142
+ const version = "0.1.1";
1143
1143
  const homepage = "https://github.com/xwm111/ccs";
1144
1144
 
1145
1145
  const togglePrompt = toggleModule?.default?.default || toggleModule?.default || toggleModule;
package/dist/cli.mjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@xwm111/ccs",
3
3
  "type": "module",
4
- "version": "0.1.0",
5
- "packageManager": "pnpm@10.17.1",
4
+ "version": "0.1.1",
6
5
  "description": "Claude Code Switch - manage and quickly switch between multiple Claude Code API endpoints",
7
6
  "author": {
8
7
  "name": "xwm111",
@@ -38,12 +37,55 @@
38
37
  "bin",
39
38
  "dist"
40
39
  ],
40
+ "dependencies": {
41
+ "@rainbowatcher/toml-edit-js": "^0.6.4",
42
+ "@types/semver": "^7.7.1",
43
+ "ansis": "^4.1.0",
44
+ "cac": "^6.7.14",
45
+ "dayjs": "^1.11.18",
46
+ "find-up-simple": "^1.0.1",
47
+ "fs-extra": "^11.3.2",
48
+ "i18next": "^25.5.2",
49
+ "i18next-fs-backend": "^2.6.0",
50
+ "inquirer": "^12.9.6",
51
+ "inquirer-toggle": "^1.0.1",
52
+ "ora": "^9.0.0",
53
+ "pathe": "^2.0.3",
54
+ "semver": "^7.7.2",
55
+ "tinyexec": "^1.0.1",
56
+ "trash": "^10.0.0"
57
+ },
58
+ "devDependencies": {
59
+ "@antfu/eslint-config": "^5.4.1",
60
+ "@changesets/cli": "^2.29.7",
61
+ "@commitlint/cli": "^19.8.1",
62
+ "@commitlint/config-conventional": "^19.8.1",
63
+ "@commitlint/types": "^19.8.1",
64
+ "@types/fs-extra": "^11.0.4",
65
+ "@types/inquirer": "^9.0.9",
66
+ "@types/node": "^22.18.6",
67
+ "@vitest/coverage-v8": "^3.2.4",
68
+ "@vitest/ui": "^3.2.4",
69
+ "eslint": "^9.36.0",
70
+ "eslint-plugin-format": "^1.0.2",
71
+ "glob": "^11.0.3",
72
+ "husky": "^9.1.7",
73
+ "lint-staged": "^16.2.0",
74
+ "tsx": "^4.20.5",
75
+ "typescript": "^5.9.2",
76
+ "unbuild": "^3.6.1",
77
+ "vitest": "^3.2.4"
78
+ },
79
+ "lint-staged": {
80
+ "*": [
81
+ "pnpm lint"
82
+ ]
83
+ },
41
84
  "scripts": {
42
85
  "dev": "tsx ./src/cli.ts",
43
86
  "build": "unbuild",
44
87
  "start": "node bin/ccs.mjs",
45
88
  "typecheck": "tsc --noEmit",
46
- "prepublishOnly": "pnpm build",
47
89
  "lint": "eslint",
48
90
  "lint:fix": "eslint --fix",
49
91
  "test": "vitest",
@@ -55,55 +97,10 @@
55
97
  "version": "changeset version",
56
98
  "update:deps": "pnpx taze major -r -w",
57
99
  "release": "pnpm build && changeset publish",
58
- "prepare": "husky",
59
100
  "commitlint": "commitlint",
60
101
  "commitlint:check": "commitlint --from HEAD~1 --to HEAD --verbose",
61
102
  "docs:dev": "pnpm -F @zcf/docs dev",
62
103
  "docs:build": "pnpm -F @zcf/docs build",
63
104
  "docs:preview": "pnpm -F @zcf/docs preview"
64
- },
65
- "dependencies": {
66
- "@rainbowatcher/toml-edit-js": "catalog:runtime",
67
- "@types/semver": "catalog:types",
68
- "ansis": "catalog:cli",
69
- "cac": "catalog:cli",
70
- "dayjs": "catalog:runtime",
71
- "find-up-simple": "catalog:runtime",
72
- "fs-extra": "catalog:runtime",
73
- "i18next": "catalog:runtime",
74
- "i18next-fs-backend": "catalog:runtime",
75
- "inquirer": "catalog:cli",
76
- "inquirer-toggle": "catalog:cli",
77
- "ora": "catalog:cli",
78
- "pathe": "catalog:runtime",
79
- "semver": "catalog:runtime",
80
- "tinyexec": "catalog:runtime",
81
- "trash": "catalog:runtime"
82
- },
83
- "devDependencies": {
84
- "@antfu/eslint-config": "catalog:build",
85
- "@changesets/cli": "catalog:tooling",
86
- "@commitlint/cli": "catalog:tooling",
87
- "@commitlint/config-conventional": "catalog:tooling",
88
- "@commitlint/types": "catalog:tooling",
89
- "@types/fs-extra": "catalog:types",
90
- "@types/inquirer": "catalog:types",
91
- "@types/node": "catalog:types",
92
- "@vitest/coverage-v8": "catalog:testing",
93
- "@vitest/ui": "catalog:testing",
94
- "eslint": "catalog:build",
95
- "eslint-plugin-format": "catalog:build",
96
- "glob": "catalog:testing",
97
- "husky": "catalog:tooling",
98
- "lint-staged": "catalog:tooling",
99
- "tsx": "catalog:build",
100
- "typescript": "catalog:build",
101
- "unbuild": "catalog:build",
102
- "vitest": "catalog:testing"
103
- },
104
- "lint-staged": {
105
- "*": [
106
- "pnpm lint"
107
- ]
108
105
  }
109
- }
106
+ }