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

Addon-centered/contexts: Move optionalDependencies to peerDependencies #7315

Merged
merged 1 commit into from
Jul 5, 2019

Conversation

shilman
Copy link
Member

@shilman shilman commented Jul 4, 2019

Issue: #7087

What I did

According to #7087 addon-centered installs unneeded packages. The packages in question are listed as optionalDependencies.

  • Moved them to peerDeps
  • Added them to devDeps
  • A little more cleanup

Now users will get warnings about missing peer deps, but their build won't blow up. I think this is the better tradeoff?

How to test

CI?

Otherwise NPM will install these packages, causing bloat
@vercel
Copy link

vercel bot commented Jul 4, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://monorepo-git-7087-fix-centered-deps.storybook.now.sh

@shilman shilman added the patch:yes Bugfix & documentation PR that need to be picked to main branch label Jul 4, 2019
@shilman shilman merged commit a4780d7 into next Jul 5, 2019
@shilman shilman deleted the 7087-fix-centered-deps branch July 5, 2019 15:20
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Jul 31, 2019
shilman added a commit that referenced this pull request Jul 31, 2019
Addon-centered/contexts: Move optionalDependencies to peerDependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: centered addon: contexts bug patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch performance issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants