cfpb / design-system-react

A React/Storybook implementation of CFPB's Design System
https://cfpb.github.io/design-system-react/
MIT License
6 stars 4 forks source link

Update to yarn@4.2.1 | Add offline cache #337

Open anselmbradford opened 4 months ago

anselmbradford commented 4 months ago

Follow up to https://github.com/cfpb/design-system-react/pull/314

Patch updates yarn to 4.2.1

Also, since we have enableGlobalCache set to false, https://yarnpkg.com/features/caching#offline-mirror says

it will save the package cache into a folder local to your project (by default .yarn/cache) that can then be added to Git.

So it looks like we shouldn't actually git ignore the cache and should add the cache here (similar to the old npm-packages-offline-cache)

Changes

How to test this PR

  1. yarn install should pass.
netlify[bot] commented 4 months ago

Deploy Preview for cfpb-design-system-react ready!

Name Link
Latest commit a1fbf35ff57514b02a163f5c421bce55e0f73c46
Latest deploy log https://app.netlify.com/sites/cfpb-design-system-react/deploys/663aaae319a90500086af7ee
Deploy Preview https://deploy-preview-337--cfpb-design-system-react.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.