Skip to content

Releases: QuiiBz/sherif

v1.10.0

17 Jan 08:18

Choose a tag to compare

JSON configuration in root package.json

When using many CLI arguments, it might be easier to move to the configuration format. In your root package.json, add a sherif field containing the same options as the CLI, but in camelCase. Default values are shown below:

{
  "sherif": {
    "fix": false,
    "select": "highest", // "highest" | "lowest"
    "noInstall": false,
    "failOnWarnings": false,
    "ignoreDependency": [], // string[]
    "ignorePackage": [], // string[]
    "ignoreRule": [] // string[]
  }
}

--fail-on-warnings option

Add a new option --fail-on-warnings to exit with code 1 if any warning issues are found. By default, only error issues will make Sherif exit with code 1.

What's Changed

  • feat: add --fail-on-warnings option by @QuiiBz in #141
  • feat: add support for configuring via root package.json by @QuiiBz in #146

Full Changelog: v1.9.0...v1.10.0

v1.9.0

15 Nov 17:09

Choose a tag to compare

Improved interactive --fix for multiple-dependency-versions rule

Running sherif --fix has been improved for the multiple-dependency-versions rule:

  • design improvements, most notably the cursor doesn't render in the middle of a version anymore
  • you can use vim keybinds to select the version
  • the list of packages using each version is now rendered on the right
Before After
Screenshot 2025-11-15 at 16 59 52 Screenshot 2025-11-15 at 17 04 07

What's Changed

  • feat: improve multiple-dependency-versions interactive --fix by @QuiiBz in #139

Full Changelog: v1.8.0...v1.9.0

v1.8.0

01 Nov 00:11

Choose a tag to compare

What's Changed

Full Changelog: v1.7.1...v1.8.0

v1.7.1

31 Oct 13:24

Choose a tag to compare

What's Changed

  • chore: mention TypeScript support and add Bun as package manager by @QuiiBz in #136
  • feat: log process spawn errors by @QuiiBz in #137

Full Changelog: v1.7.0...v1.7.1

v1.7.0

22 Oct 23:31

Choose a tag to compare

What's Changed

  • [ci] update ubuntu to 22 again by @QuiiBz in #126
  • feat: remove tanstack-query from unsync-similar-deps rule by @QuiiBz in #134

Full Changelog: v1.6.1...v1.7.0

v1.6.1

19 Jun 17:17

Choose a tag to compare

New --select flag when autofixing with --fix

This release adds a new --select flag that accepts highest or lowest. When used in combination with --fix, it will bypass asking yo which dependency version to choose for the multiple-dependency-versions, and instead automatically select the highest or lowest dependency.

What's Changed

  • feat: add --select=highest/lowest for autofix by @QuiiBz in #124
  • [ci] update ubuntu to 22 by @QuiiBz in #125

Full Changelog: v1.5.0...v1.6.1

v1.5.0

06 Apr 08:59

Choose a tag to compare

What's Changed

  • feat: add more prisma and lexical to similar deps by @DaniFoldi in #120

Full Changelog: v1.4.0...v1.5.0

v1.4.0

01 Mar 11:26

Choose a tag to compare

What's Changed

  • docs: add storybook to similar deps by @QuiiBz in #118
  • feat(similar-deps): add prisma, typescript-eslint, eslint stylistic and playwright by @DaniFoldi in #117
  • feat: support bun.lock for automatic package manager resolution by @joshmeads in #119

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0

05 Feb 17:12

Choose a tag to compare

What's Changed

  • docs: fix unsync-similar-dependencies title size by @QuiiBz in #112
  • fix: ignore hidden directories for packages-without-package-json by @QuiiBz in #113
  • feat: add @trpc/* to similar dependency list by @msmps in #114
  • feat(similar-deps): add storybook by @colinlienard in #116

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

25 Jan 13:43

Choose a tag to compare

New unsync-similar-dependencies rule

Similar dependencies in a given package.json should use the same version. For example, if you use both react and react-dom dependencies in the same package.json, this rule will enforce that they use the same version.

List of detected similar dependencies (feel free to open an issue/send a PR to add more)
  • react, react-dom
  • eslint-config-next, @next/eslint-plugin-next, @next/font @next/bundle-analyzer, @next/third-parties, @next/mdx, next
  • eslint-config-turbo, eslint-plugin-turbo, @turbo/gen, turbo-ignore, turbo
  • @tanstack/eslint-plugin-query, @tanstack/query-async-storage-persister, @tanstack/query-broadcast-client-experimental, @tanstack/query-core, @tanstack/query-devtools, @tanstack/query-persist-client-core, @tanstack/query-sync-storage-persister, @tanstack/react-query, @tanstack/react-query-devtools, @tanstack/react-query-persist-client, @tanstack/react-query-next-experimental, @tanstack/solid-query, @tanstack/solid-query-devtools, @tanstack/solid-query-persist-client, @tanstack/svelte-query, @tanstack/svelte-query-devtools, @tanstack/svelte-query-persist-client, @tanstack/vue-query, @tanstack/vue-query-devtools, @tanstack/angular-query-devtools-experimental, @tanstack/angular-query-experimental

What's Changed

  • feat: unsync-similar-dependencies rule by @QuiiBz in #105

Full Changelog: v1.1.1...v1.2.0