react-uswds icon indicating copy to clipboard operation
react-uswds copied to clipboard

build: Yarn v3 migration

Open jpandersen87 opened this issue 1 year ago • 0 comments

Summary

This PR migrates the project from yarn v1 to v3 with classic-mode node_modules support (dependabot support for v4 is incomplete currently).

  • .gitignore yarn entries updated
  • yarn.lock migrated
  • yarn config updated
    • interactive-tools and typescript plugins added
    • nodeLinker option explicitly set to node-modules (yarn classic-compatibility)
  • obsolete manual package resolutions removed
  • husky install moved from prepare to postinstall lifecycle script
  • prepublishOnly lifecycle script moved to prepack
  • yarn build moved from prepare to prepack lifecycle script
  • happo-ci script updated to call happo-ci-github-actions via npx (yarn v2+ breaks otherwise)
  • dangerfile script updated to support yarn npm audit

How To Test

  • Github workflows complete successfully

jpandersen87 avatar Apr 08 '24 18:04 jpandersen87