Skip to content

Commit

Permalink
test(repo): Add cmd to clear test cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tmilewski committed Oct 18, 2023
1 parent a0e6783 commit 287aba6
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/gorgeous-radios-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"dev:js": "FORCE_COLOR=1 turbo dev:current --filter=@clerk/clerk-js",
"build": "FORCE_COLOR=1 turbo build --concurrency=${TURBO_CONCURRENCY:-80%}",
"test": "FORCE_COLOR=1 turbo test --concurrency=${TURBO_CONCURRENCY:-80%}",
"test:cache:clear": "FORCE_COLOR=1 turbo test:cache:clear --continue --concurrency=${TURBO_CONCURRENCY:-80%}",
"test:ci": "FORCE_COLOR=1 turbo test --concurrency=${TURBO_CONCURRENCY:-80%}",
"test:integration:base": "DEBUG=1 npx playwright test --config integration/playwright.config.ts",
"test:integration:generic": "E2E_APP_ID=react.vite.* npm run test:integration:base -- --grep @generic",
Expand Down
1 change: 1 addition & 0 deletions packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"lint:publint": "publint",
"lint:attw": "attw --pack .",
"test": "jest",
"test:cache:clear": "jest --clearCache --useStderr",
"test:ci": "jest --maxWorkers=70%",
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html",
"prepublishOnly": "npm run build"
Expand Down
1 change: 1 addition & 0 deletions packages/clerk-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"lint:publint": "publint",
"lint:attw": "attw --pack .",
"test": "jest",
"test:cache:clear": "jest --clearCache --useStderr",
"test:ci": "jest --maxWorkers=70%",
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html",
"watch": "webpack --config webpack.config.js --env production --watch"
Expand Down
3 changes: 2 additions & 1 deletion packages/fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"lint:publint": "publint",
"lint:attw": "attw --pack .",
"publish:local": "npx yalc push --replace --sig",
"test": "jest"
"test": "jest",
"test:cache:clear": "jest --clearCache --useStderr"
},
"dependencies": {
"@clerk/backend": "0.31.2",
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"lint:publint": "publint",
"lint:attw": "attw --pack .",
"test": "jest",
"test:cache:clear": "jest --clearCache --useStderr",
"test:ci": "jest --maxWorkers=70%"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"lint:publint": "publint",
"lint:attw": "attw --pack .",
"test": "jest",
"test:cache:clear": "jest --clearCache --useStderr",
"test:ci": "jest --maxWorkers=70%"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/sdk-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"lint:publint": "publint",
"lint:attw": "attw --pack .",
"test": "jest",
"test:cache:clear": "jest --clearCache --useStderr",
"test:ci": "jest --maxWorkers=70%"
},
"name": "@clerk/clerk-sdk-node",
Expand Down
1 change: 1 addition & 0 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"lint:publint": "publint",
"lint:attw": "attw --pack .",
"test": "jest",
"test:cache:clear": "jest --clearCache --useStderr",
"test:ci": "jest --maxWorkers=70%",
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
"dependsOn": ["build"],
"outputs": []
},
"test:cache:clear": {
"cache": false
},
"test:ci": {
"dependsOn": ["build"],
"outputs": []
Expand Down

0 comments on commit 287aba6

Please sign in to comment.