Skip to content

chore(yarn-plugin-external-workspaces): Change where the bundle is stored in the repo #3579

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

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

Conversation

JasonVMo
Copy link
Contributor

Description

Previously the produced bundle for the external-workspaces yarn plugin was built in the dist folder and published, but not tracked via git. A copy of it was tracked by git in the yarn plugin cache. This meant that to update the bundle used in the repository it would either need to be manually copied over or updated via the yarn plugin import command (which has the side effect of wiping out all our comments in the yarn configuration file.

Instead this adds the produced bundle to the repo, removes it from the plugin cache (effectively moving the file), then just references the dist folder directly. This avoids the multistep process and feels like a more standard pattern to follow.

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.

2 participants