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

Add yarn berry dependency upgrade example for Next 12 to 13 upgrade documentation. #43472

merged 4 commits into from
Nov 29, 2022


Copy link

@matthew-heath matthew-heath commented Nov 28, 2022

This PR adds an example yarn up command to bump the relevant dependencies when using yarn berry for the Next 12 to Next 13 upgrade. One thing to possibly note is that yarn up is not scoped to a single workspace like yarn upgrade in classic - to get around this when in multiple workspaces, the -i/--interactive flag can be passed.

Update - can upgrade dependencies in both yarn classic/berry using yarn add ...@latest, this may be more straight forward than having two separate commands.

Documentation / Examples

  • Make sure the linting passes by running pnpm build && pnpm lint
  • The "examples guidelines" are followed from our contributing doc

@matthew-heath matthew-heath changed the title Yarn berry dependency upgrade Add yarn berry dependency upgrade example for Next 12 to 13 upgrade documentation. Nov 28, 2022
Copy link

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

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

Looks like this is compatible with yarn@1, so it should fine.

@kodiakhq kodiakhq bot merged commit 79f0819 into vercel:canary Nov 29, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants