Skip to content
Source
Sign inSign up
TanStack/intent

fix: recognize workspace-root Intent devDependency #266

MergedLadyBluenotes(GitHub profile, opens in a new tab)merged 1 commit intorefactor-maintainer-read-reuse fromrefs/pull/266/headmerged by LadyBluenotes(GitHub profile, opens in a new tab)

🎯 Changes

Stacked on #265. Fixes #212.

Recognize @tanstack/intent in the owning workspace root's devDependencies when validating a member package. Keep package-local declarations valid and preserve the warning when Intent is declared only by a sibling package. Package keywords and publishing checks still use the member's manifest.

Regression tests cover package.json and pnpm workspace declarations, invocation from the workspace root and member directory, and removal of the root declaration.

Verification: all 146 CLI tests passed; package typecheck, focused ESLint, Prettier, and git diff --check passed. Three existing lint warnings remain. No dependency, guide, or CI changes.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm run test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Warning

      Review limit reached

      Next included review available in 52 minutes.

      Check out review usage here.

      View limit details

      Limit details: You’ve used all 2 included reviews currently available.

      You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

      Learn how review limits work.

      Review configuration:

      ⚙️ Run configuration

      Configuration used: defaults

      Review profile: CHILL

      Plan: Advanced

      Run ID: a31056fd-f601-4597-bab7-d1ceaa4e620d

      📥 Commits

      Reviewing files that changed from the base of the PR and between 4c63c4efb8d8e8cab763d34ebe2143ac84f544fe and 80f0e5fb4598b6861c60147df17ab3ea6592d779.

      📒 Files selected for processing (3)
      • .changeset/workspace-root-intent-warning.md
      • packages/intent/src/commands/validate.ts
      • packages/intent/tests/cli.test.ts

      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
      Comment `@coderabbitai help` to get the list of available commands.
    2. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 259ce1b458d32acab40616a68a12994df35d715c

      CommandStatusDurationResult
      nx run-many --targets=build✅ Succeeded<1sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-09-11 05:12:33 UTC

    3. Open in StackBlitz

      npm i https://pkg.pr.new/@tanstack/intent@266

      commit: 259ce1b

    4. codspeed[bot](GitHub profile, opens in a new tab)commented

      Merging this PR will not alter performance

      ✅ 9 untouched benchmarks


      Comparing fix-workspace-intent-warning (80f0e5f) with refactor-maintainer-read-reuse (549e5b8) Open in CodSpeed

Sign in to join this conversation.