ccleanup 1.0.0
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/LICENSE +28 -0
- package/README.md +128 -0
- package/dist/cli.js +223 -0
- package/dist/core/args.js +136 -0
- package/dist/core/config.js +60 -0
- package/dist/core/live.js +188 -0
- package/dist/core/remind.js +189 -0
- package/dist/core/remove.js +48 -0
- package/dist/core/scan.js +412 -0
- package/dist/core/select.js +78 -0
- package/dist/i18n/en.js +235 -0
- package/dist/i18n/fr.js +235 -0
- package/dist/i18n/messages.js +11 -0
- package/dist/lib/format.js +129 -0
- package/dist/lib/text.js +263 -0
- package/dist/ui/input.js +56 -0
- package/dist/ui/line.js +44 -0
- package/dist/ui/logo.js +167 -0
- package/dist/ui/panels.js +283 -0
- package/dist/ui/screen.js +61 -0
- package/dist/ui/theme.js +307 -0
- package/dist/ui/tui.js +698 -0
- package/dist/ui/view.js +922 -0
- package/package.json +62 -0
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.0",
|
|
3
|
+
"name": "ccleanup",
|
|
4
|
+
"description": "Interactive cleanup of Claude Code sessions: find the biggest and oldest transcripts, delete them, get a reminder.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"ccleanup": "dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"prepare": "npm run clean && tsc",
|
|
16
|
+
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
17
|
+
"build": "npm run clean && tsc",
|
|
18
|
+
"dev": "tsc --watch",
|
|
19
|
+
"test": "node --test \"src/**/__tests__/*.test.ts\"",
|
|
20
|
+
"check": "tsc --noEmit && eslint . && prettier --check .",
|
|
21
|
+
"format": "prettier --write . && eslint --fix .",
|
|
22
|
+
"screenshots": "node scripts/screenshot.ts",
|
|
23
|
+
"prepublishOnly": "npm run check && npm test && npm run build"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=22.12.0"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/20syldev/ccleanup.git"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"claude",
|
|
37
|
+
"claude-code",
|
|
38
|
+
"cleanup",
|
|
39
|
+
"sessions",
|
|
40
|
+
"transcripts",
|
|
41
|
+
"disk-space",
|
|
42
|
+
"cli",
|
|
43
|
+
"tui"
|
|
44
|
+
],
|
|
45
|
+
"author": "Sylvain L.",
|
|
46
|
+
"license": "BSD-3-Clause",
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/20syldev/ccleanup/issues"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://github.com/20syldev/ccleanup",
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@eslint/js": "^9.39.5",
|
|
53
|
+
"@types/node": "^26.6.6",
|
|
54
|
+
"eslint": "^9.39.5",
|
|
55
|
+
"eslint-config-prettier": "^10.1.8",
|
|
56
|
+
"eslint-plugin-check-file": "^3.3.2",
|
|
57
|
+
"eslint-plugin-import": "^2.32.0",
|
|
58
|
+
"prettier": "^3.10.1",
|
|
59
|
+
"typescript": "^6.0.3",
|
|
60
|
+
"typescript-eslint": "^8.74.0"
|
|
61
|
+
}
|
|
62
|
+
}
|