Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Yarn v3 migration #2878

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

jpandersen87
Copy link
Contributor

@jpandersen87 jpandersen87 commented Apr 8, 2024

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

- .gitignore yarn entries updated
- yarn.lock migrated
- yarn config updated
  - version bumped
  - interactive-tools and typescript plugins added
  - nodeLinker option explicitly set to node-modules (yarn classic-compatibility)
- obsolete manual package resolutions removed
@jpandersen87 jpandersen87 requested a review from a team as a code owner April 8, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant