Skip to content

Commit

Permalink
update yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Mar 6, 2023
1 parent 0c3a696 commit c0fb121
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/browser-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"server": "http-server --port 3000",
"browser": "playwright test --debug"
},
"packageManager": "yarn@3.2.1",
"packageManager": "yarn@3.4.1",
"devDependencies": {
"@internal/config": "workspace:^",
"@playwright/test": "^1.28.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,5 @@
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.8.0"
},
"packageManager": "yarn@3.2.1"
"packageManager": "yarn@3.4.1"
}
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"version": "0.0.0",
"private": true,
"main": "./src",
"packageManager": "yarn@3.2.1"
"packageManager": "yarn@3.4.1"
}
2 changes: 1 addition & 1 deletion packages/core-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"concurrently": "yarn run -T concurrently",
"jest": "yarn run -T jest"
},
"packageManager": "yarn@3.2.1",
"packageManager": "yarn@3.4.1",
"devDependencies": {
"@internal/config": "workspace:^",
"@segment/analytics-core": "workspace:^"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"concurrently": "yarn run -T concurrently",
"jest": "yarn run -T jest"
},
"packageManager": "yarn@3.2.1",
"packageManager": "yarn@3.4.1",
"dependencies": {
"@lukeed/uuid": "^2.0.0",
"dset": "^3.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"autocannon": "^7.10.0",
"nock": "^13.2.9"
},
"packageManager": "yarn@3.2.1"
"packageManager": "yarn@3.4.1"
}
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
"@types/node": "^16",
"@types/uuid": "^9"
},
"packageManager": "yarn@3.2.1"
"packageManager": "yarn@3.4.1"
}
2 changes: 1 addition & 1 deletion packages/test-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"dependencies": {
"tslib": "^2.4.1"
},
"packageManager": "yarn@3.2.1"
"packageManager": "yarn@3.4.1"
}
8 changes: 6 additions & 2 deletions scripts/update-lockfile.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/bin/bash
# Changesets does not support yarn, so if the resolutions change, we want to commit them as part of the version pipeline.
# # Changesets does not support yarn, so if the resolutions change, we want to commit them as part of the version pipeline.

echo "pwd: $(pwd)"
echo "Checking if yarn.lock is up-to-date"
YARN_ENABLE_IMMUTABLE_INSTALLS=false node .yarn/releases/yarn-3.2.1.cjs # https://github.com/changesets/action/issues/170

yarn_path=$(grep "yarnPath:" .yarnrc.yml | awk 'NF>1{print $NF}')
YARN_ENABLE_IMMUTABLE_INSTALLS=false node "$yarn_path" # https://github.com/changesets/action/issues/170
git add yarn.lock
git status --porcelain

0 comments on commit c0fb121

Please sign in to comment.