You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,6 +185,8 @@ They are based on the [npm-check-updates](https://github.com/raineorshine/npm-ch
185
185
> having duplicates in the yarn.lock, you can run `yarn dedupe --check` and `yarn dedupe` to
186
186
> apply deduplication. The duplicate check is enforced in the example github actions.
187
187
188
+
While `deps:check` will give you a detailed info about about dep versions across the project, it doesn't automatically pinpoint mismatching versions between apps in the repo. To automatically find and fix mismatches, run `yarn lint:dependency-versions` in the root to make sure all deps in the monorepo are updated to the same version. Check the output, and fix issues by running `lint:dependency-versions --fix`.
189
+
188
190
### Symbolic links
189
191
190
192
Monorepo uses symbolic links to share assets and locales between apps and packages, e.g.:
@@ -397,4 +399,6 @@ To help keeping deps up-to-date, see the `yarn deps:check && yarn deps:update` s
397
399
> by setting `defaultSemverRangePrefix: ""`in [yarnrc.yml](./.yarnrc.yml). But this would make the default for packages/\* as well.
398
400
> Better to handle `yarn add something --exact` on per-case basis.
399
401
402
+
While `deps:check` will give you a detailed info about about dep versions across the project, it doesn't automatically pinpoint mismatching versions between apps in the repo. To automatically find and fix mismatches, run `yarn lint:dependency-versions` in the root to make sure all deps in the monorepo are updated to the same version. Check the output, and fix issues by running `lint:dependency-versions --fix`.
403
+
400
404
**Note about updating deps across the monorepo**: when updating a dep, it's important to update it in all the packages that use it, and make sure every dep is updated to the same version. Version differences can cause all kinds of hard-to-debug issues.
0 commit comments