{"id":15598378,"url":"https://github.com/fluffynuts/patch-jest-cache","last_synced_at":"2025-04-04T15:13:57.557Z","repository":{"id":57320539,"uuid":"369568564","full_name":"fluffynuts/patch-jest-cache","owner":"fluffynuts","description":"patches jest cache behavior to suck less","archived":false,"fork":false,"pushed_at":"2023-02-13T07:27:47.000Z","size":710,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T07:36:43.088Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluffynuts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-21T14:53:25.000Z","updated_at":"2023-02-06T13:54:47.000Z","dependencies_parsed_at":"2025-01-07T16:52:53.405Z","dependency_job_id":"3f3c1b8f-b3b9-4576-8a5e-12cdfa50647e","html_url":"https://github.com/fluffynuts/patch-jest-cache","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"0a91fe786142488a4dc4e25ba7137d5edc9be2c9"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluffynuts%2Fpatch-jest-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluffynuts%2Fpatch-jest-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluffynuts%2Fpatch-jest-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluffynuts%2Fpatch-jest-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluffynuts","download_url":"https://codeload.github.com/fluffynuts/patch-jest-cache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198466,"owners_count":20900081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T01:38:41.127Z","updated_at":"2025-04-04T15:13:57.538Z","avatar_url":"https://github.com/fluffynuts.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"patch-jest-cache\n---\npatches jest caching to work around an issue outstanding since 2017\n[cache write race condition across processes ](https://github.com/facebook/jest/issues/4444)\n\n- make caching opportunistic: if it works, great, if it fails, c'est la vie!\n  - caching should be to improve performance, _not_ a lynchpin\n- facilitate complete disable of read and/or write cache\n  - because jest writes out cache files even when invoked with `--no-cache`,\n    wasting time on I/O for files that won't be used\n    \nusage\n---\n\n```\nnpx patch-jest-cache {options}\n```\n\n- default behavior patches cache reading and writing to only warn on error\n- specify `--no-warn-on-errors` to suppress warning messages\n- specify `--disable-read-cache` or `--disable-write-cache` to completely\n  disable cache read / write\n\n\nreverting\n---\n\neither run `npx patch-jest-cache --revert` or re-install your node_modules, eg\nwith `npm ci`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluffynuts%2Fpatch-jest-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluffynuts%2Fpatch-jest-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluffynuts%2Fpatch-jest-cache/lists"}