Skip to content

Update preact-query version in examples#10483

Merged
TkDodo merged 2 commits intoTanStack:mainfrom
Nirbhay007:fix/preact-example-dependency
Apr 14, 2026
Merged

Update preact-query version in examples#10483
TkDodo merged 2 commits intoTanStack:mainfrom
Nirbhay007:fix/preact-example-dependency

Conversation

@Nirbhay007
Copy link
Copy Markdown
Contributor

@Nirbhay007 Nirbhay007 commented Apr 13, 2026

Image 13-04-26 at 9 28 PM

🎯 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).

Summary by CodeRabbit

  • Chores
    • Updated example project dependencies to use fixed semver ranges instead of workspace-linked versions.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 13, 2026

📝 Walkthrough

Walkthrough

Updated the @tanstack/preact-query dependency in the Preact example from a workspace-relative reference to an absolute semver range. The package.json file now pins the dependency to version ^5.99.0 instead of using the workspace protocol, alongside a minor trailing whitespace adjustment.

Changes

Cohort / File(s) Summary
Dependency Version Update
examples/preact/simple/package.json
Updated @tanstack/preact-query from workspace:^ to ^5.99.0 and removed trailing newline.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A workspace link becomes a version plain,
Five-ninety-nine now runs through our domain,
One less newline, cleaner it appears,
Dependencies lock'd for stable years! 🌟

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR description follows the template structure with all required sections present, but the 🎯 Changes section lacks substantive details about what was changed and why. Add specific details in the Changes section explaining what dependency was updated, from what version to what version, and the motivation for this change.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: updating the preact-query dependency version in the examples folder.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@TkDodo TkDodo merged commit cea9347 into TanStack:main Apr 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants