From bf925dd8ad5c41bdedd971a45495ade02a520615 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Sun, 14 Jul 2024 20:13:00 -0700 Subject: [PATCH 1/2] Use corepack for managing yarn version --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d81a72c5..f05c2153 100644 --- a/package.json +++ b/package.json @@ -66,5 +66,6 @@ "parser", "sample" ] - } + }, + "packageManager": "yarn@1.22.22" } From d28ce128691239e642f3887f4708101ec20dce4f Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Sun, 14 Jul 2024 20:18:11 -0700 Subject: [PATCH 2/2] Mention 'corepack enable' in CONTRIBUTING.md --- CONTRIBUTING.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a6de55f5..32e4293f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,12 +12,13 @@ the process for contributing will follow standard GitHub protocol. ## Pull Requests We actively welcome your pull requests. -1. Fork the repo and create your branch from `master`. -2. If you've added code that should be tested, add tests. -3. If you've changed APIs, update the documentation. -4. Ensure the test suite passes. -5. Make sure your code lints. -6. If you haven't already, complete the Contributor License Agreement ("CLA"). +1. Fork the repo and create your branch from `main`. +1. Run `corepack enable` to set up `yarn` package manager. +1. If you've added code that should be tested, add tests. +1. If you've changed APIs, update the documentation. +1. Ensure the test suite passes. +1. Make sure your code lints. +1. If you haven't already, complete the Contributor License Agreement ("CLA"). ## Contributor License Agreement ("CLA") In order to accept your pull request, we need you to submit a CLA. You only need