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

Upgrade yarn to the latest version #39284

Open
valerybugakov opened this issue Jul 22, 2022 · 2 comments · Fixed by #39728
Open

Upgrade yarn to the latest version #39284

valerybugakov opened this issue Jul 22, 2022 · 2 comments · Fixed by #39728
Assignees
Labels
frontend-platform Issues related to our frontend platform, owned collectively by our frontend crew. gitstart Contract partner

Comments

@valerybugakov
Copy link
Member

Problem statement

We use an old version of yarn which has a lot of security issues and bad perf.

Success criteria

We upgraded to the latest version of yarn.

Implementation details

Follow the official migration guide here

  1. Make sure to migrate all deprecated flags to the new format. Find all mentions of yarn in the codebase and check if they need to be updated to use a new flag. (e.g., renamed --frozen-lockfile into --immutable)
  2. Install upgrade-interactive and workspace-tools plugins.
  3. Use node-modules nodeLinker to minimize changes required for the upgrade.
  4. As a follow-up PR, we will try to migrate to the pnpm linker.

If you're stuck on a problem, dm @valerybugakov to discuss it.

Time estimate

  • The implementation should take 16 hours at maximum. Ping the reviewer in the spec pull request if time-consuming changes are required.
@valerybugakov valerybugakov added frontend-platform Issues related to our frontend platform, owned collectively by our frontend crew. gitstart Contract partner labels Jul 22, 2022
@sourcegraph-bot-2
Copy link
Collaborator

Heads up @taylorsperry @jasongornall - the "team/frontend-platform" label was applied to this issue.

@valerybugakov valerybugakov added this to Waiting / Blocked in GitStart Work Jul 22, 2022
@valerybugakov valerybugakov moved this from Waiting / Blocked to To do in GitStart Work Jul 22, 2022
@gitstart-app
Copy link
Contributor

gitstart-app bot commented Jul 22, 2022

Here is the GitStart Ticket for this issue: https://app.gitstart.com/clients/sourcegraph/tickets/SG-39284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend-platform Issues related to our frontend platform, owned collectively by our frontend crew. gitstart Contract partner
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants