Skip to content

Commit

Permalink
housekeeping: Updating yarn to 4.3.1 (#3055)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdslaugh authored Jul 16, 2024
1 parent e16326b commit 7877e6a
Show file tree
Hide file tree
Showing 29 changed files with 53 additions and 53 deletions.
4 changes: 2 additions & 2 deletions docs/_website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion examples/amiibo/frontend/workflows/amiibo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
},
"engines": {
"node": ">=18 <19",
"yarn": "^4.1.1"
"yarn": "^4.3.1"
}
}
2 changes: 1 addition & 1 deletion frontend/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions frontend/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/packages/data-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/packages/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/packages/wizard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/audit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/dynamodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/ec2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/envoy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/experimentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/k8s/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/kinesis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/projectCatalog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/projectSelector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/redisexperimentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/serverexperimentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions frontend/workflows/sourcecontrol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion tools/install-yarn.sh
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion tools/preflight-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
4 changes: 2 additions & 2 deletions tools/scaffolding/scaffolder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions tools/scaffolding/templates/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion tools/scaffolding/templates/gateway/frontend/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tools/scaffolding/templates/gateway/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 7877e6a

Please sign in to comment.