Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

chore: add yarn plugins #65

Merged
merged 3 commits into from
Apr 9, 2021
Merged

chore: add yarn plugins #65

merged 3 commits into from
Apr 9, 2021

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Apr 8, 2021

This PR versions the yarn binary (which yarn does itself when running yarn set version berry for the second time after converting a repo to use yarn v2) and adds two yarn plugins:

When we need to upgrade yarn we can manually add the changes to git rather than using the excluded subdirs pattern here as @pi0 recommends below.

@danielroe danielroe requested a review from pi0 April 8, 2021 20:20
@pi0
Copy link
Member

pi0 commented Apr 9, 2021

It was an intentional for first trying yarn2 + node_modules linker without plugins. And to be honest I'm not fan of version controlling external content since over the time makes git history big... For this PR, i think we should only version-control what is necessary for yarn in a include-basis rather than excluded subdirs

@danielroe danielroe changed the title chore: yarn recommendations chore: version yarn binary Apr 9, 2021
@pi0
Copy link
Member

pi0 commented Apr 9, 2021

(@danielroe correction: i think adding plugins was good. my comment was about gitignore pattern)

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pi0 pi0 changed the title chore: version yarn binary chore: add yarn plugins Apr 9, 2021
@pi0 pi0 merged commit 54c57e8 into main Apr 9, 2021
@pi0 pi0 deleted the chore/yarn branch April 9, 2021 09:32
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants