chore: add clean:cache and restart scripts (#363)
Add `bun clean:cache` to clear .turbo / .next / .swc / node_modules caches across apps, packages, and tooling — mirrors the command in the private-editor root so a stale-cache reset works the same in both repos. Also add a `restart` convenience: kill → clean:cache → dev. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
c3199e7540
commit
2694bcf555
@@ -12,6 +12,8 @@
|
||||
"check:fix": "biome check --write",
|
||||
"check-types": "turbo run check-types",
|
||||
"kill": "lsof -ti:3002 | xargs kill -9 2>/dev/null || echo 'No processes found on port 3002'",
|
||||
"clean:cache": "rm -rf apps/*/.next apps/*/.swc apps/*/.turbo packages/*/.turbo tooling/*/.turbo .turbo node_modules/.cache",
|
||||
"restart": "bun kill && bun clean:cache && bun dev",
|
||||
"release": "gh workflow run release.yml -f package=all -f bump=patch",
|
||||
"release:viewer": "gh workflow run release.yml -f package=viewer -f bump=patch",
|
||||
"release:core": "gh workflow run release.yml -f package=core -f bump=patch",
|
||||
|
||||
Reference in New Issue
Block a user