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

Migrate from Yarn v1 to Yarn v3 #846

Merged
merged 5 commits into from
Jun 24, 2022
Merged

Migrate from Yarn v1 to Yarn v3 #846

merged 5 commits into from
Jun 24, 2022

Commits on Jun 22, 2022

  1. Migrate from Yarn v1 to Yarn v3

    The package manager used has been upgraded from Yarn v1 to Yarn v3. All
    of the steps in the migration guide [1] have been followed. Effectively
    everything should work the same way it did before.
    
    Closes #847
    
    [1]: https://yarnpkg.com/getting-started/migration
    Gudahtt committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    c88a341 View commit details
    Browse the repository at this point in the history
  2. Replace setup script with new Yarn plugin

    The old `setup` script has been replaced with a Yarn v3 plugin that
    will automatically run `allow-scripts` after install. We can now use
    `yarn install` again as normal.
    
    This was done to address a problem that happened when running
    `yarn setup` for the first time. If Yarn 3 wasn't installed already, it
    would throw an error. Yarn 3 doesn't automatically install itself until
    you run the `install` command directly.
    
    The `setup` script has been left behind for now so that it still works
    if people run it accidentally. We can remove it later once we've become
    accustomed to this new workflow.
    Gudahtt committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    98e4f95 View commit details
    Browse the repository at this point in the history
  3. Fix typo

    Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
    Gudahtt and mcmire committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    bcf12fe View commit details
    Browse the repository at this point in the history
  4. Skip linting .yarnrc.yml

    This file gets auto-generated by Yarn, so there is no need for us to
    lint it.
    Gudahtt committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    ddeb06c View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Replace plugin with "official" version

    The plugin has been reinstalled from the LavaMoat repository. Comments
    have also been removed from the `.yarnrc.yml` file.
    Gudahtt committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    57696ea View commit details
    Browse the repository at this point in the history