From 7877e6a771d15890a337f799019b98b119f058b3 Mon Sep 17 00:00:00 2001 From: Josh Slaughter <8338893+jdslaugh@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:22:13 -0700 Subject: [PATCH] housekeeping: Updating yarn to 4.3.1 (#3055) --- docs/_website/package.json | 4 ++-- examples/amiibo/frontend/workflows/amiibo/package.json | 2 +- frontend/.yarnrc.yml | 2 +- frontend/api/package.json | 4 ++-- frontend/package.json | 4 ++-- frontend/packages/app/package.json | 4 ++-- frontend/packages/core/package.json | 4 ++-- frontend/packages/data-layout/package.json | 4 ++-- frontend/packages/tools/package.json | 4 ++-- frontend/packages/wizard/package.json | 4 ++-- frontend/workflows/audit/package.json | 4 ++-- frontend/workflows/dynamodb/package.json | 4 ++-- frontend/workflows/ec2/package.json | 4 ++-- frontend/workflows/envoy/package.json | 4 ++-- frontend/workflows/experimentation/package.json | 4 ++-- frontend/workflows/k8s/package.json | 4 ++-- frontend/workflows/kinesis/package.json | 4 ++-- frontend/workflows/projectCatalog/package.json | 4 ++-- frontend/workflows/projectSelector/package.json | 4 ++-- frontend/workflows/redisexperimentation/package.json | 4 ++-- frontend/workflows/serverexperimentation/package.json | 4 ++-- frontend/workflows/sourcecontrol/package.json | 4 ++-- tools/install-yarn.sh | 2 +- tools/preflight-checks.sh | 2 +- tools/scaffolding/scaffolder.go | 4 ++-- tools/scaffolding/templates/frontend/package.json | 4 ++-- tools/scaffolding/templates/gateway/frontend/.yarnrc.yml | 2 +- tools/scaffolding/templates/gateway/frontend/package.json | 4 ++-- .../templates/gateway/frontend/workflows/echo/package.json | 4 ++-- 29 files changed, 53 insertions(+), 53 deletions(-) diff --git a/docs/_website/package.json b/docs/_website/package.json index 2afc2b59ee..bd2122e5dd 100644 --- a/docs/_website/package.json +++ b/docs/_website/package.json @@ -57,7 +57,7 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1" + "packageManager": "yarn@4.3.1" } diff --git a/examples/amiibo/frontend/workflows/amiibo/package.json b/examples/amiibo/frontend/workflows/amiibo/package.json index 9e6a62387b..10d2a39e5c 100644 --- a/examples/amiibo/frontend/workflows/amiibo/package.json +++ b/examples/amiibo/frontend/workflows/amiibo/package.json @@ -33,6 +33,6 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" } } diff --git a/frontend/.yarnrc.yml b/frontend/.yarnrc.yml index 2dd18c4781..b027275640 100644 --- a/frontend/.yarnrc.yml +++ b/frontend/.yarnrc.yml @@ -11,4 +11,4 @@ packageExtensions: dependencies: react-dev-utils: ^12.0.1 -yarnPath: .yarn/releases/yarn-4.1.1.js +yarnPath: .yarn/releases/yarn-4.3.1.js diff --git a/frontend/api/package.json b/frontend/api/package.json index 8e450df347..534960ac35 100644 --- a/frontend/api/package.json +++ b/frontend/api/package.json @@ -14,8 +14,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/package.json b/frontend/package.json index 95562f4ca5..d35c7c57d1 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -119,8 +119,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/packages/app/package.json b/frontend/packages/app/package.json index 9b0dceeda2..46fd613faa 100644 --- a/frontend/packages/app/package.json +++ b/frontend/packages/app/package.json @@ -33,9 +33,9 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "proxy": "http://localhost:8080", "stableVersion": "3.0.0-beta" } diff --git a/frontend/packages/core/package.json b/frontend/packages/core/package.json index 58f12ef9bf..68c21c0534 100644 --- a/frontend/packages/core/package.json +++ b/frontend/packages/core/package.json @@ -72,8 +72,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/packages/data-layout/package.json b/frontend/packages/data-layout/package.json index 9fa85a98e2..afc07a082f 100644 --- a/frontend/packages/data-layout/package.json +++ b/frontend/packages/data-layout/package.json @@ -40,8 +40,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/packages/tools/package.json b/frontend/packages/tools/package.json index 6e76dbeb0c..aeb2509c6b 100644 --- a/frontend/packages/tools/package.json +++ b/frontend/packages/tools/package.json @@ -81,8 +81,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/packages/wizard/package.json b/frontend/packages/wizard/package.json index 0b53e8d724..3cedb38a9b 100644 --- a/frontend/packages/wizard/package.json +++ b/frontend/packages/wizard/package.json @@ -42,8 +42,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/audit/package.json b/frontend/workflows/audit/package.json index 3a8c9800d5..731cb11c5c 100644 --- a/frontend/workflows/audit/package.json +++ b/frontend/workflows/audit/package.json @@ -37,8 +37,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/dynamodb/package.json b/frontend/workflows/dynamodb/package.json index 1347df483e..2bbbaebdba 100644 --- a/frontend/workflows/dynamodb/package.json +++ b/frontend/workflows/dynamodb/package.json @@ -40,8 +40,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/ec2/package.json b/frontend/workflows/ec2/package.json index 9e3f4e84fa..1d90a7f1b1 100644 --- a/frontend/workflows/ec2/package.json +++ b/frontend/workflows/ec2/package.json @@ -41,8 +41,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/envoy/package.json b/frontend/workflows/envoy/package.json index b42d356855..65a2291506 100644 --- a/frontend/workflows/envoy/package.json +++ b/frontend/workflows/envoy/package.json @@ -44,8 +44,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/experimentation/package.json b/frontend/workflows/experimentation/package.json index 9cd795a7c1..a64dd413f6 100644 --- a/frontend/workflows/experimentation/package.json +++ b/frontend/workflows/experimentation/package.json @@ -39,8 +39,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/k8s/package.json b/frontend/workflows/k8s/package.json index f13025c9a4..998365af67 100644 --- a/frontend/workflows/k8s/package.json +++ b/frontend/workflows/k8s/package.json @@ -45,8 +45,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/kinesis/package.json b/frontend/workflows/kinesis/package.json index 4e0e21be9b..c055e732fa 100644 --- a/frontend/workflows/kinesis/package.json +++ b/frontend/workflows/kinesis/package.json @@ -42,8 +42,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/projectCatalog/package.json b/frontend/workflows/projectCatalog/package.json index 2820248a99..97f29f54b0 100644 --- a/frontend/workflows/projectCatalog/package.json +++ b/frontend/workflows/projectCatalog/package.json @@ -46,8 +46,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/projectSelector/package.json b/frontend/workflows/projectSelector/package.json index d0db91a569..58dbc22f7e 100644 --- a/frontend/workflows/projectSelector/package.json +++ b/frontend/workflows/projectSelector/package.json @@ -35,8 +35,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/redisexperimentation/package.json b/frontend/workflows/redisexperimentation/package.json index f653b6605a..510ba205f9 100644 --- a/frontend/workflows/redisexperimentation/package.json +++ b/frontend/workflows/redisexperimentation/package.json @@ -39,8 +39,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/serverexperimentation/package.json b/frontend/workflows/serverexperimentation/package.json index 679ff8fe00..df96a3084d 100644 --- a/frontend/workflows/serverexperimentation/package.json +++ b/frontend/workflows/serverexperimentation/package.json @@ -39,8 +39,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/frontend/workflows/sourcecontrol/package.json b/frontend/workflows/sourcecontrol/package.json index 1d3a45ef18..94871eaeb9 100644 --- a/frontend/workflows/sourcecontrol/package.json +++ b/frontend/workflows/sourcecontrol/package.json @@ -43,8 +43,8 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1", + "packageManager": "yarn@4.3.1", "stableVersion": "3.0.0-beta" } diff --git a/tools/install-yarn.sh b/tools/install-yarn.sh index 7fd4eb6028..827157e65d 100755 --- a/tools/install-yarn.sh +++ b/tools/install-yarn.sh @@ -1,6 +1,6 @@ #!/bin/bash -YARN_VERSION="4.1.1" +YARN_VERSION="4.3.1" ROOT_DIR="$PWD" ROOT_DEST_DIR="${ROOT_DIR}/frontend" diff --git a/tools/preflight-checks.sh b/tools/preflight-checks.sh index 05f99326a6..09aa095eac 100755 --- a/tools/preflight-checks.sh +++ b/tools/preflight-checks.sh @@ -7,7 +7,7 @@ did_checks_pass=true # Minimum versions MIN_GO_VERSION="1.17" MIN_NODE_VERSION="18.0.0" -MIN_YARN_VERSION="4.1.1" +MIN_YARN_VERSION="4.3.1" SCRIPT_ROOT="$(realpath "$(dirname "${BASH_SOURCE[0]}")/..")" REPO_ROOT="${SCRIPT_ROOT}" diff --git a/tools/scaffolding/scaffolder.go b/tools/scaffolding/scaffolder.go index 3d9407dafc..9f220fb363 100644 --- a/tools/scaffolding/scaffolder.go +++ b/tools/scaffolding/scaffolder.go @@ -226,7 +226,7 @@ func generateAPI(args *args, tmpFolder, dest string) { func generateFrontend(args *args, tmpFolder, dest string) { yarnInstallVersion := args.YarnPin if len(yarnInstallVersion) == 0 { - yarnInstallVersion = "4.1.1" + yarnInstallVersion = "4.3.1" } // Update clutch.config.js for new workflow @@ -297,7 +297,7 @@ func parseArgs() *args { flag.StringVar(&f.Mode, "m", "gateway", "oneof gateway, workflow") flag.StringVar(&f.GoPin, "p", "main", "sha or other github ref to version of tools used in scaffolding") flag.StringVar(&f.Org, "o", "lyft", "overrides the github organization (for use in fork testing)") - flag.StringVar(&f.YarnPin, "y", "4.1.1", "version of yarn to use") + flag.StringVar(&f.YarnPin, "y", "4.3.1", "version of yarn to use") flag.Parse() return f } diff --git a/tools/scaffolding/templates/frontend/package.json b/tools/scaffolding/templates/frontend/package.json index 3dc4605f52..61092f1cec 100644 --- a/tools/scaffolding/templates/frontend/package.json +++ b/tools/scaffolding/templates/frontend/package.json @@ -39,7 +39,7 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1" + "packageManager": "yarn@4.3.1" } diff --git a/tools/scaffolding/templates/gateway/frontend/.yarnrc.yml b/tools/scaffolding/templates/gateway/frontend/.yarnrc.yml index 86f00c6595..b859d1e953 100644 --- a/tools/scaffolding/templates/gateway/frontend/.yarnrc.yml +++ b/tools/scaffolding/templates/gateway/frontend/.yarnrc.yml @@ -6,4 +6,4 @@ nodeLinker: node-modules npmRegistryServer: "https://registry.yarnpkg.com/" -yarnPath: .yarn/releases/yarn-4.1.1.js +yarnPath: .yarn/releases/yarn-4.3.1.js diff --git a/tools/scaffolding/templates/gateway/frontend/package.json b/tools/scaffolding/templates/gateway/frontend/package.json index 9468427f47..ff57345101 100644 --- a/tools/scaffolding/templates/gateway/frontend/package.json +++ b/tools/scaffolding/templates/gateway/frontend/package.json @@ -52,7 +52,7 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1" + "packageManager": "yarn@4.3.1" } diff --git a/tools/scaffolding/templates/gateway/frontend/workflows/echo/package.json b/tools/scaffolding/templates/gateway/frontend/workflows/echo/package.json index faac537487..c8c05949d0 100644 --- a/tools/scaffolding/templates/gateway/frontend/workflows/echo/package.json +++ b/tools/scaffolding/templates/gateway/frontend/workflows/echo/package.json @@ -36,7 +36,7 @@ }, "engines": { "node": ">=18 <19", - "yarn": "^4.1.1" + "yarn": "^4.3.1" }, - "packageManager": "yarn@4.1.1" + "packageManager": "yarn@4.3.1" }