react-uswds
react-uswds copied to clipboard
build: Yarn v3 migration
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-toolsandtypescriptplugins added -
nodeLinkeroption explicitly set tonode-modules(yarn classic-compatibility)
-
- obsolete manual package resolutions removed
-
huskyinstall moved frompreparetopostinstalllifecycle script -
prepublishOnlylifecycle script moved toprepack -
yarn buildmoved frompreparetoprepacklifecycle script -
happo-ciscript updated to callhappo-ci-github-actionsvia npx (yarn v2+ breaks otherwise) - dangerfile script updated to support
yarn npm audit
How To Test
- Github workflows complete successfully