Skip to content

🔧 Repository: Enable knipReports for Maintainer Owned Workspaces #5992

Open

Description

@awanlin

📜 Description

The Community Plugin Maintainers own roughly 40+ plugins, to help keep them well maintained we are looking for some help form the Backstage Community to clean up unused dependencies using the Knip Reports as a guide.

📑 How

The process for this will be as follows:

  1. Pick a workspace from the list below
  2. Create a branch with your work selected workspace in the name, for example workspace-name/knip
  3. Navigate to the workspace and open it's bcp.json file
  4. Change this "knipReports": false to this "knipReports": true
  5. Then run yarn install followed by yarn build:knip-reports
  6. You will now have one or more new Markdown files created
  7. Review these files and address any items they identify:
    • Remove dependencies that are genuinely unused.
    • If knip flags a dependency that is actually used (for example only in dev/ or in tests), move it to devDependencies instead of removing it. If you're unsure, ask in your PR.
    • Run yarn tsc:full and yarn test to make sure nothing broke, then run yarn build:knip-reports again. The reports should be empty, or your PR should explain anything left over.
  8. Add a patch changeset (yarn changeset) for any package whose dependencies or peerDependencies changed, then commit your changes, including the generated knip-report.md files, to your branch from step 2
  9. Publish your branch and create a PR
  10. Follow the normal contribution guide: https://github.com/backstage/community-plugins/blob/main/CONTRIBUTING.md

Examples

This PR has examples of the change and the CI has output of the messages you can use if you need help: #5939

Workspaces

Note

Thanks to all various Community Members who have helped move this forward!!!! 🚀

This list was updated on 2026-11-08 to show the workspaces that still need to be opted in. Comment here with the workspace you are taking before you start so we don't duplicate work, and please open one PR per workspace.

Activity

  1. added
    bug
    and removed
    bug
    on Nov 5, 2025
  2. added
    help wanted
    on Dec 2, 2025
  3. vinzscam commented on Dec 2, 2025

    @vinzscam
    Member

    Let's make sure we open separate PRs for each workspace 🙏

  4. Parsifal-M commented on Jan 27, 2026

    @Parsifal-M
    Contributor

    @awanlin can you please update the list?

  5. awanlin commented on Feb 8, 2026

    @awanlin
    ContributorAuthor

    List has been updated, feel free to jump on the remanning workspaces listed!

  6. added
    good first issue
    and removed on Apr 15, 2026
  7. github-actions commented on Jun 14, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  8. github-actions commented on Aug 15, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  9. armnkumar321-spec commented on Oct 16, 2026

    @armnkumar321-spec
    Contributor

    Hi! I'd like to pick up the tech-radar workspace for this. On current main, workspaces/tech-radar/bcp.json still has "knipReports": false, and I couldn't find an open knip PR for that workspace.

    I'll follow the steps in the description: enable it, run yarn install and yarn build:knip-reports, then clean up whatever the generated report flags. I'll keep it to one PR for just this workspace. Is it okay for me to take this one?

  10. added and removed
    good first issue
    on Oct 16, 2026
  11. awanlin commented on Nov 8, 2026

    @awanlin
    ContributorAuthor

    Sure go for it @armnkumar321-spec 👍

  12. added
    good first issue
    and removed on Nov 13, 2026
  13. awanlin commented on Nov 13, 2026

    @awanlin
    ContributorAuthor

    👋 This issue was part of the Backstage ContribFest at KubeCon + CloudNativeCon North America in Salt Lake City on November 11, 2026. The event has wrapped up, so it's once again open for contributions from everyone!

    For ContribFest we rated it Beginner, so it's a great place to start if you're new to contributing to Backstage. If you'd like to pick it up, leave a comment so others know you're working on it. 🚀

    This is a tracking issue, so there's room for many contributions. Check the existing PRs to see what's already covered.

  14. AdamBrez commented on Nov 19, 2026

    @AdamBrez
    Contributor

    Hello, I would like to tackle todo workspace. Currently it has "knipReports":false on main and I don't see anyone working on this.
    I'll follow the steps in description, make the necessary changes and make a PR afterwards.

    I also started to work other workspaces - vault, xcmetrics, graphiql, linkerd, microsoft-calendar, newrelic and periskop. I hope that is okay, I don't see anyone else working on them. I will follow the same steps mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    do-not-stalegood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions