sherif icon indicating copy to clipboard operation
sherif copied to clipboard

Add support for Rush

Open victordidenko opened this issue 5 months ago • 1 comments

Rush is a Microsoft's monorepo management tool https://rushjs.io

It uses own config file rush.json and monorepo packages are listed in it, like this:

  "projects": [
    {
      "packageName": "my-toolchain",
      "projectFolder": "tools/my-toolchain"
    }
  ]

there is no root package.json file, and sherif fails with an error

 ⨯ error Failed to collect packages
   `package.json` not found in "."

victordidenko avatar Jun 20 '25 07:06 victordidenko

Indeed, Sherif supports NPM/Yarn workspaces (via the root package.json's workspaces field) or PNPM workspace (via the pnpm-workspace.yaml file).

Supporting Rush is not an easy task. I'll leave this issue open so folks can react/comment to see if more than just a few people would use this feature.

QuiiBz avatar Jun 20 '25 10:06 QuiiBz