v0.11.0
Ignore a specific dependency and version
Let's say your monorepo has two versions of react: 18.3.1
and 19.0.0
. One of your application is expected to use the new react 19.0.0
, but you still want to make sure you keep the same react 18.*
version on all your other applications
Previously, you had to ignore completely the react
dependency from the multiple-dependency-versions
rule, which means you would completely loose track of potentially different react 18.*
versions:
sherif -i react
But now, you can ignore a specific set of dependency and version, so the multiple-dependency-versions
rule will keep detecting any other react version and alert you:
sherif -i react@19.0.0
Report dependency versions mismatch with the root package.json
Previously, Sherif didn't check the multiple-dependency-versions
in the root package.json
. It now does, meaning you can deduplicate more dependency versions if they are present in both a package in a workspace, and the root package.json
.
What's Changed
- feat:
multiple-dependency-versions
also checks root package by @QuiiBz in #82 - feat: allow ignoring specific dependency and version for
multiple-dependency-versions
by @QuiiBz in #84 - docs: fix typo in README by @Willem-Jaap in #85
- feat: upload binaries on release by @QuiiBz in #72
New Contributors
- @Willem-Jaap made their first contribution in #85
Full Changelog: v0.10.0...v0.11.0