1.11.0 • Published 1 year ago

patch-jest-cache v1.11.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
1 year ago

patch-jest-cache

patches jest caching to work around an issue outstanding since 2017 cache write race condition across processes

  • make caching opportunistic: if it works, great, if it fails, c'est la vie!
    • caching should be to improve performance, not a lynchpin
  • facilitate complete disable of read and/or write cache
    • because jest writes out cache files even when invoked with --no-cache, wasting time on I/O for files that won't be used

usage

npx patch-jest-cache {options}
  • default behavior patches cache reading and writing to only warn on error
  • specify --no-warn-on-errors to suppress warning messages
  • specify --disable-read-cache or --disable-write-cache to completely disable cache read / write

reverting

either run npx patch-jest-cache --revert or re-install your node_modules, eg with npm ci

1.11.2

1 year ago

1.10.3

1 year ago

1.11.1

1 year ago

1.10.2

1 year ago

1.11.0

1 year ago

1.10.1

1 year ago

1.9.0

3 years ago

1.8.1

3 years ago

1.8.0

3 years ago

1.10.0

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago