@lexmanh/shed-cli 0.2.0-beta.1 → 0.2.0-beta.2

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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -2
  2. package/package.json +17 -16
package/dist/cli.js CHANGED
@@ -581,7 +581,7 @@ var ART = [
581
581
  ].join("\n");
582
582
  function printLogo(version2) {
583
583
  console.log(pc6.cyan(ART));
584
- console.log(` ${pc6.dim(`v${version2} \xB7 safe disk cleanup for developers`)}`);
584
+ console.log(` ${pc6.dim(`v${version2} \xB7 safe disk cleanup \xB7 dev machines & servers`)}`);
585
585
  console.log(
586
586
  ` ${pc6.dim("by")} ${pc6.white("L\xEA Xu\xE2n M\u1EA1nh")} ${pc6.dim("\xB7 https://github.com/lexmanh/shed")}
587
587
  `
@@ -592,7 +592,7 @@ function printLogo(version2) {
592
592
  var require2 = createRequire(import.meta.url);
593
593
  var { version } = require2("../package.json");
594
594
  var program = new Command();
595
- program.name("shed").description("Safe, cross-platform disk cleanup for developers").version(version).option("-v, --verbose", "Enable verbose logging");
595
+ program.name("shed").description("Safe disk cleanup for dev machines and Linux servers").version(version).option("-v, --verbose", "Enable verbose logging");
596
596
  program.command("scan [path]").description("Scan for cleanable items without modifying anything").option("--json", "Output machine-readable JSON").option("--max-age <days>", "Only include items older than N days", "30").action(scanCommand);
597
597
  program.command("clean [path]").description("Interactive cleanup of detected items").option("--dry-run", "Preview operations without executing", true).option("--execute", "Actually perform the cleanup (overrides --dry-run)").option("--hard-delete", "Skip Trash, delete permanently").option("--include-red", "Include Red-tier (high-risk) items").option("--yes", "Skip interactive confirmations (CI mode)").action(cleanCommand);
598
598
  program.command("undo").description("List and restore items from previous cleanups").action(undoCommand);
package/package.json CHANGED
@@ -1,37 +1,38 @@
1
1
  {
2
2
  "name": "@lexmanh/shed-cli",
3
- "version": "0.2.0-beta.1",
4
- "description": "Safe, cross-platform disk cleanup CLI for developers reclaim space from dev caches without breaking active work",
3
+ "version": "0.2.0-beta.2",
4
+ "description": "Safe disk cleanup CLI for dev machines and Linux servers git-aware, cross-stack, trash-by-default",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "shed": "./dist/cli.js"
8
8
  },
9
- "files": [
10
- "dist",
11
- "package.json"
12
- ],
9
+ "files": ["dist", "package.json"],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/lexmanh/shed.git"
13
+ },
13
14
  "publishConfig": {
14
15
  "access": "public"
15
16
  },
17
+ "scripts": {
18
+ "build": "tsup src/cli.ts --format esm --clean",
19
+ "dev": "tsup src/cli.ts --format esm --watch",
20
+ "test": "vitest run --passWithNoTests",
21
+ "test:watch": "vitest",
22
+ "typecheck": "tsc --noEmit"
23
+ },
16
24
  "dependencies": {
17
25
  "@clack/prompts": "^0.8.2",
26
+ "@lexmanh/shed-core": "workspace:*",
18
27
  "commander": "^12.1.0",
19
28
  "conf": "^13.1.0",
20
29
  "execa": "^9.5.0",
21
- "picocolors": "^1.1.1",
22
- "@lexmanh/shed-core": "0.2.0-beta.1"
30
+ "picocolors": "^1.1.1"
23
31
  },
24
32
  "devDependencies": {
25
33
  "@types/node": "^22.10.0",
26
34
  "tsup": "^8.3.0",
27
35
  "typescript": "^5.7.0",
28
36
  "vitest": "^2.1.0"
29
- },
30
- "scripts": {
31
- "build": "tsup src/cli.ts --format esm --clean",
32
- "dev": "tsup src/cli.ts --format esm --watch",
33
- "test": "vitest run --passWithNoTests",
34
- "test:watch": "vitest",
35
- "typecheck": "tsc --noEmit"
36
37
  }
37
- }
38
+ }