Skip to content
Source
Sign inSign up
TanStack/devtools

feat(devtools): add Zustand Inspector to the plugin marketplace #561

Opendbritto-dev(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/561/headopened View on GitHub

zustand-inspector is a framework-agnostic TanStack Devtools plugin for Zustand stores (time travel, diffs, per-action cost, async calls and persist/redux middleware views), published on npm as zustand-inspector.

Claude-Session: https://claude.ai/code/session_01KPwtuzx7xVgwrg6Jx1Fq7m

🎯 Changes

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm test:pr, or these tests do not apply to this pull request.
  • I fully understand the code in this pull request, including any code generated with AI assistance.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

Summary by CodeRabbit

  • New Features
    • Added Zustand Inspector to the plugin marketplace, including its documentation and Zustand compatibility details.
    1. changeset-bot[bot](GitHub profile, opens in a new tab)commented

      🦋 Changeset detected

      Latest commit: 96d1702ace2914c39c2b50dd337a3dc1b6ee657d

      The changes in this PR will be included in the next version bump.

      This PR includes changesets to release 11 packages
      NameType
      @tanstack/devtoolsPatch
      @tanstack/angular-devtoolsPatch
      @tanstack/preact-devtoolsPatch
      @tanstack/react-devtoolsPatch
      @tanstack/solid-devtoolsPatch
      @tanstack/svelte-devtoolsPatch
      @tanstack/vue-devtoolsPatch
      @tanstack/devtools-example-angular-a11y-devtoolsPatch
      @tanstack/devtools-example-angular-basicPatch
      @tanstack/devtools-example-angular-panelPatch
      @tanstack/devtools-example-angular-with-devtoolsPatch

      Not sure what this means? Click here to learn what changesets are.

      Click here if you're a maintainer who wants to add another changeset to this PR

    2. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      No actionable comments were generated in the recent review.

      Recent review info
      Run configuration
      Commits

      Reviewing files that changed from the base of the PR and between ab87818a790b590a5be31157043f93bb8c925673 and 96d1702ace2914c39c2b50dd337a3dc1b6ee657d.

      Files selected for processing: 1
      • .changeset/zustand-inspector-marketplace.md

      Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

      Walkthrough

      The plugin registry adds a Zustand Inspector entry with package, version, import, link, author, framework, and tag metadata. A patch changeset records the marketplace addition.

      Changes: Zustand Inspector

      Layer / File(s)Summary
      Add Zustand Inspector registry entry
      packages/devtools/src/tabs/plugin-registry.ts, .changeset/zustand-inspector-marketplace.md
      The registry adds the plugin metadata, including a minimum zustand version of 5.0.0. The changeset describes the marketplace addition.

      Estimated code review effort: 1 (Trivial) | ~5 minutes

      Change: Feature

      Merge Risk: Minimal · up to 96d17

      No actionable merge-blocking risk was identified.

      Pre-merge checks: Passed 5
      Check nameStatusExplanation
      Title checkPassedThe title clearly and concisely describes the main change: adding Zustand Inspector to the Devtools plugin marketplace.
      Description checkPassedThe description identifies the plugin and its capabilities, includes all required template sections, and completes the checklist. However, the Changes section contains only the template comment, and t…
      Docstring CoveragePassedNo eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
      Full details: Description check

      Explanation

      The description identifies the plugin and its capabilities, includes all required template sections, and completes the checklist. However, the Changes section contains only the template comment, and the release-impact selection conflicts with the added changeset and published registry change.

      Full details: Docstring Coverage

      Explanation

      No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

      Finishing Touches
      Generate unit tests (beta)
      • Create a new PR
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      Share
    3. The marketplace entry lacks the required patch changeset for @tanstack/devtools and generates a React registration that fails TypeScript checking by importing from zustand-inspector instead of zustand-inspector/react.

      2 open issues
      • Medium severity [Add a changeset for the published marketplace registry entry](https://github.com/TanStack/devtools/pull/561#discussion_r4443855272) · New
      • Medium severity [Use the React-specific factory for React host projects](https://github.com/TanStack/devtools/pull/561#discussion_r4443855354) · New
    4. What changed in this PR

      Adds Zustand Inspector to the TanStack Devtools plugin marketplace, making its Zustand store inspection tools discoverable.

      Changes:

      • Registers the plugin with a Zustand 5 minimum requirement and factory import metadata.
      • Adds its feature description, documentation and repository links, author, and discovery tags.
      FileDescription
      packages/​devtools/​src/​tabs/​plugin-registry.tsAdds the Zustand Inspector marketplace entry.
      Review effort: Balanced

Sign in to join this conversation.