Skip to content

Commit 2694bcf

Browse files
Aymericrclaude
andauthored
chore: add clean:cache and restart scripts (pascalorg#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>
1 parent c3199e7 commit 2694bcf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"check:fix": "biome check --write",
1313
"check-types": "turbo run check-types",
1414
"kill": "lsof -ti:3002 | xargs kill -9 2>/dev/null || echo 'No processes found on port 3002'",
15+
"clean:cache": "rm -rf apps/*/.next apps/*/.swc apps/*/.turbo packages/*/.turbo tooling/*/.turbo .turbo node_modules/.cache",
16+
"restart": "bun kill && bun clean:cache && bun dev",
1517
"release": "gh workflow run release.yml -f package=all -f bump=patch",
1618
"release:viewer": "gh workflow run release.yml -f package=viewer -f bump=patch",
1719
"release:core": "gh workflow run release.yml -f package=core -f bump=patch",

0 commit comments

Comments
 (0)