Skip to content

Commit 7306a1f

Browse files
chore: add clean-cache command
TICKET: WP-6096
1 parent 4486023 commit 7306a1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ yarn unit-test
6666
# - Cache hit: "[existing outputs match the cache, left as is]"
6767

6868
# Clear cache if needed
69-
rm -rf .nx/cache
69+
yarn clean-cache
7070

7171
# Cache works with all test commands
7272
yarn unit-test --scope @bitgo/sdk-core # Caches per package

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
"check-fmt-changed": "lerna run check-fmt --since origin/${GITHUB_REPO_BRANCH:-master}..HEAD --stream --parallel",
129129
"check-fmt": "lerna run check-fmt --stream --parallel",
130130
"check-commits": "yarn commitlint --from=origin/${GITHUB_REPO_BRANCH:-master} -V",
131+
"clean-cache": "npx nx reset",
131132
"check-deps": "tsx ./scripts/check-package-dependencies.ts",
132133
"check-versions": "node ./check-package-versions.js",
133134
"dev": "tsc -b ./tsconfig.packages.json -w",

0 commit comments

Comments
 (0)