Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Yarn v3#119

Merged
adonesky1 merged 9 commits into
mainfrom
yarn-v3
Nov 18, 2022
Merged

Yarn v3#119
adonesky1 merged 9 commits into
mainfrom
yarn-v3

Conversation

@adonesky1
Copy link
Copy Markdown
Contributor

@adonesky1 adonesky1 commented Nov 17, 2022

Upgrades package manager from Yarn v1 to Yarn v3.

Followed the migration guide + some of the example set in this migration PR for @metamask/controller

@adonesky1 adonesky1 force-pushed the yarn-v3 branch 2 times, most recently from 39bf28d to 14d33f3 Compare November 17, 2022 19:36
@adonesky1 adonesky1 force-pushed the yarn-v3 branch 2 times, most recently from f89aa51 to 9b57166 Compare November 17, 2022 19:48
@adonesky1 adonesky1 marked this pull request as ready for review November 17, 2022 20:30
@adonesky1 adonesky1 requested a review from a team as a code owner November 17, 2022 20:30
@adonesky1 adonesky1 requested review from Gudahtt and mcmire November 17, 2022 20:30
Copy link
Copy Markdown

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Nice job on this, just had a few suggestions.

Comment thread package.json Outdated
Comment thread .github/workflows/lint-test.yml
Comment thread package.json Outdated
adonesky1 and others added 3 commits November 17, 2022 15:08
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
@adonesky1 adonesky1 requested a review from mcmire November 17, 2022 21:09
Comment thread .github/workflows/lint-test.yml Outdated
key: yarn-cache-${{ runner.os }}-${{ steps.yarn-version.outputs.YARN_VERSION }}-${{ hashFiles('yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn allow-scripts
- run: yarn --immutable --immutable-cache
Copy link
Copy Markdown

@mcmire mcmire Nov 17, 2022

Choose a reason for hiding this comment

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

Hmm... maybe we don't want --immutable-cache after all, since it seems to fail if the cache folder doesn't exist (see CI). @Gudahtt What do you think?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The --immutable-cache flag was meant to be used in the post-prepare jobs, where it was guaranteed the cache would be populated. Agreed that we shouldn't use it here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Agh, my bad, that's right. Sorry @adonesky1 we don't want this after all, so this should just be yarn --immutable 😅

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done here

Comment thread .yarnrc.yml
Comment thread package.json Outdated
Gudahtt
Gudahtt previously approved these changes Nov 18, 2022
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM! Couple of minor suggestions but this all looks good

@adonesky1 adonesky1 merged commit 6e796af into main Nov 18, 2022
@adonesky1 adonesky1 deleted the yarn-v3 branch November 18, 2022 00:57
Gudahtt added a commit that referenced this pull request Jan 24, 2023
This file has not been used as of the Yarn v3 migration in #119. It was accidentally left behind.
@Gudahtt Gudahtt mentioned this pull request Jan 24, 2023
adonesky1 pushed a commit that referenced this pull request Jan 24, 2023
This file has not been used as of the Yarn v3 migration in #119. It was accidentally left behind.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants