@@ -109,7 +109,7 @@ root of the repo, scanning all packages. This include packages which haven't
109
109
onboarded yet. For those, ` --requirements react-native@[version] ` controls the
110
110
target React Native release to use when checking compatibility.
111
111
112
- <
PackageRunCommand args = " rnx-align-deps --requirements [email protected] " />
112
+ <
PackageRunCommand args = " rnx-align-deps --requirements [email protected] " installedScript />
113
113
114
114
When a compatibility problem is found, the command fails with a non-zero exit
115
115
code, which causes the PR loop to fail. This protects the repo from risky
@@ -186,7 +186,7 @@ info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
186
186
Fixing problems is automated, too! From your development terminal, run the same
187
187
command with a ` --write ` parameter.
188
188
189
- <
PackageRunCommand args = " rnx-align-deps --requirements [email protected] --write" />
189
+ <
PackageRunCommand args = " rnx-align-deps --requirements [email protected] --write" installedScript />
190
190
191
191
** Review** and ** test** the fixes before pushing them to your PR.
192
192
@@ -209,7 +209,7 @@ response.
209
209
Run this command from the root of your repo. It uses the dependency manager to
210
210
make the fixes automatically.
211
211
212
- <PackageRunCommand args = " rnx-align-deps --write" />
212
+ <PackageRunCommand args = " rnx-align-deps --write" installedScript />
213
213
214
214
** Review** and ** test** the fixes before pushing them to the PR with the
215
215
dependency manager update.
@@ -228,9 +228,9 @@ version and adjust all React Native dependencies to be compatible. Replace
228
228
` [version] ` with your target React Native version in ` major.minor ` format, such
229
229
as "0.66" or "0.68".
230
230
231
- <PackageRunCommand args = " rnx-align-deps --set-version [version]" />
231
+ <PackageRunCommand args = " rnx-align-deps --set-version [version]" installedScript />
232
232
233
- <PackageRunCommand args = " rnx-align-deps --requirements react-native@[version] --write" />
233
+ <PackageRunCommand args = " rnx-align-deps --requirements react-native@[version] --write" installedScript />
234
234
235
235
** Review** and ** test** your packages thoroughly before merging these changes.
236
236
@@ -304,7 +304,7 @@ Next, configure each of your onboarded React Native packages to use the list.
304
304
Now it's time to use the list. Run the dependency manager to update all of your
305
305
packages.
306
306
307
- <
PackageRunCommand args = " rnx-align-deps --requirements [email protected] --presets microsoft/react-native,path/to/dependency-profile.json --write" />
307
+ <
PackageRunCommand args = " rnx-align-deps --requirements [email protected] --presets microsoft/react-native,path/to/dependency-profile.json --write" installedScript />
308
308
309
309
** Review** and ** test** the changes before continuing.
310
310
0 commit comments