Skip to content
4 changes: 3 additions & 1 deletion scripts/update-package-json.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# expects `$repo`, `$tagPrefix` and `$packages` (array) variables to be defined, see e.g. update-javascript.sh

npm i -g corepack # This repository uses Yarn v3 which requires corepack to be installed
# Since Corepack is not going to be distributed with Node.js v25+ in the future we need to install Corepack globally.
# See: https://github.com/getsentry/sentry-react-native/pull/4741
corepack enable # This repository uses Yarn v3 which requires corepack to be enabled
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a comment with a brief explanation that this will need to be fixed in the future and why and link to the original PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea Krystof 👍
Added a comment with 51ac355


monorepoRoot="$(dirname "$0")/.."

Expand Down
Loading