mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 08:17:11 +00:00
* fix: clear package manager cache during update to ensure fresh downloads (v4.3.10) Resolves issue where 'ccs update' would report success but serve cached package versions, requiring manual 'npm cache clean --force'. Changes: - Node.js (bin/ccs.js): Added cache clearing for npm, yarn, pnpm before update - Bash (lib/ccs): Added 'npm cache clean --force' before npm update - PowerShell (lib/ccs.ps1): Added 'npm cache clean --force' before npm update - Updated manual fallback commands to include cache clearing - Non-blocking: continues with update even if cache clearing fails Version bumped to 4.3.10 * docs: update CHANGELOG for v4.3.10
68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
{
|
|
"name": "@kaitranntt/ccs",
|
|
"version": "4.3.10",
|
|
"description": "Claude Code Switch - Instant profile switching between Claude Sonnet 4.5 and GLM 4.6",
|
|
"keywords": [
|
|
"cli",
|
|
"claude",
|
|
"glm",
|
|
"ai",
|
|
"profile",
|
|
"switch"
|
|
],
|
|
"homepage": "https://github.com/kaitranntt/ccs",
|
|
"bugs": {
|
|
"url": "https://github.com/kaitranntt/ccs/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/kaitranntt/ccs.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Tam Nhu Tran (Kai)",
|
|
"email": "kaitranntt@users.noreply.github.com"
|
|
},
|
|
"bin": {
|
|
"ccs": "bin/ccs.js"
|
|
},
|
|
"files": [
|
|
"bin/",
|
|
"lib/",
|
|
"scripts/",
|
|
"config/",
|
|
".claude/",
|
|
"VERSION",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"os": [
|
|
"darwin",
|
|
"linux",
|
|
"win32"
|
|
],
|
|
"preferGlobal": true,
|
|
"scripts": {
|
|
"test": "npm run test:all",
|
|
"test:all": "npm run test:unit && npm run test:npm",
|
|
"test:unit": "npx mocha tests/shared/unit/**/*.test.js --timeout 5000",
|
|
"test:npm": "npx mocha tests/npm/**/*.test.js --timeout 10000",
|
|
"test:native": "bash tests/native/unix/edge-cases.sh",
|
|
"test:edge-cases": "bash tests/edge-cases.sh",
|
|
"prepublishOnly": "node scripts/sync-version.js",
|
|
"prepack": "node scripts/sync-version.js",
|
|
"prepare": "node scripts/check-executables.js",
|
|
"postinstall": "node scripts/postinstall.js"
|
|
},
|
|
"dependencies": {
|
|
"cli-table3": "^0.6.5",
|
|
"ora": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "^11.7.5"
|
|
}
|
|
}
|