@vzn/vx 0.0.468 → 0.0.470

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/package.json +5 -5
  2. package/src/cli/cache.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vzn/vx",
3
- "version": "0.0.468",
3
+ "version": "0.0.470",
4
4
  "description": "The fastest task runner and build cache for JavaScript monorepos.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -21,10 +21,10 @@
21
21
  "node": ">=18"
22
22
  },
23
23
  "optionalDependencies": {
24
- "@vzn/vx-linux-x64": "0.0.468",
25
- "@vzn/vx-linux-arm64": "0.0.468",
26
- "@vzn/vx-darwin-x64": "0.0.468",
27
- "@vzn/vx-darwin-arm64": "0.0.468"
24
+ "@vzn/vx-linux-x64": "0.0.470",
25
+ "@vzn/vx-linux-arm64": "0.0.470",
26
+ "@vzn/vx-darwin-x64": "0.0.470",
27
+ "@vzn/vx-darwin-arm64": "0.0.470"
28
28
  },
29
29
  "dependencies": {
30
30
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
package/src/cli/cache.ts CHANGED
@@ -23,6 +23,8 @@ const CACHE_ELSEWHERE: Record<string, string> = {
23
23
  status: '`vx info` reports the cache directory, its entry count and its size',
24
24
  size: '`vx info` reports the cache directory, its entry count and its size',
25
25
  entries: '`vx info` reports the cache directory, its entry count and its size',
26
+ list: '`vx info` reports the cache entry count and size, and `vx last --list` the recent runs',
27
+ ls: '`vx info` reports the cache entry count and size, and `vx last --list` the recent runs',
26
28
  dir: '`vx info` prints the cache directory this workspace uses',
27
29
  path: '`vx info` prints the cache directory this workspace uses',
28
30
  clean: '`vx cache prune` is the eviction verb (`--older-than`, `--max-size`)',
@@ -30,6 +32,8 @@ const CACHE_ELSEWHERE: Record<string, string> = {
30
32
  rm: '`vx cache prune` is the eviction verb (`--older-than`, `--max-size`)',
31
33
  delete: '`vx cache prune` is the eviction verb (`--older-than`, `--max-size`)',
32
34
  evict: '`vx cache prune` is the eviction verb (`--older-than`, `--max-size`)',
35
+ gc: '`vx cache prune` is the eviction verb (`--older-than`, `--max-size`)',
36
+ purge: '`vx cache prune` is the eviction verb (`--older-than`, `--max-size`)',
33
37
  }
34
38
 
35
39
  function cacheSubHint(sub: string): string {