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

chore: yarn 3#405

Merged
matthewwalsh0 merged 21 commits intomainfrom
chore/yarn-3
Jan 16, 2023
Merged

chore: yarn 3#405
matthewwalsh0 merged 21 commits intomainfrom
chore/yarn-3

Conversation

@matthewwalsh0
Copy link
Copy Markdown
Member

@matthewwalsh0 matthewwalsh0 commented Jan 13, 2023

Overview

Upgrade to Yarn 3.

Changes

CI

  • Invoke submodule setup script directly instead of using Yarn script.
  • Update install-deps job to cache alternate Yarn 3 folders.
  • Invoke audit script on each workspace explicitly.

Root

  • Create .yarnrc.yml file to configure Yarn 3.
  • Refactor all patch-package patches to Yarn patches in .yarn/patches.
  • Add resolutions to package.json to apply patches to alternate package versions.
  • Update ignored dependencies.
  • Update audit exclusions.
  • Manually update Yarn allow-scripts plugin to also invoke on other workspaces.

App

  • Update ignored dependencies.
  • Update audit exclusions.
  • Update Lavamoat policies.
  • Add missing dependencies.

Common

  • Update ignored dependencies.
  • Update audit exclusions.
  • Add missing dependencies.

@matthewwalsh0 matthewwalsh0 marked this pull request as ready for review January 13, 2023 15:03
@matthewwalsh0 matthewwalsh0 requested a review from a team January 13, 2023 15:03
Remove duplicate mockttp dependency.
# Conflicts:
#	.yarn/patches/@lavamoat-aa-npm-3.1.0-edf86c24f7.patch
#	.yarn/patches/@metamask-create-release-branch-npm-1.0.1-12ecd95bee.patch
#	packages/app/lavamoat/node/policy-override.json
#	packages/app/lavamoat/node/policy.json
#	packages/app/lavamoat/ui/build-system/policy.json
#	packages/app/submodules/extension
#	yarn.lock
# Conflicts:
#	packages/app/lavamoat/node/policy.json
@matthewwalsh0 matthewwalsh0 merged commit faf2df9 into main Jan 16, 2023
@matthewwalsh0 matthewwalsh0 deleted the chore/yarn-3 branch January 16, 2023 15:54
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.

4 participants