feat(cli): auto-install TanStack Intent during scaffolding#442
feat(cli): auto-install TanStack Intent during scaffolding#442tannerlinsley merged 3 commits intomainfrom
Conversation
Run `npx @tanstack/intent install` after `tanstack create` and `tanstack add`, gated by a new `--intent` / `--no-intent` flag (default on). Failures are reported as warnings so they don't block scaffolding. https://claude.ai/code/session_01KZU2LM3E8hncoXxZguUu8P
The intent CLI already runs non-interactively, no extra flag needed. https://claude.ai/code/session_01KZU2LM3E8hncoXxZguUu8P
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughIntroduces automatic TanStack Intent installation during Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Review rate limit: 4/5 reviews remaining, refill in 12 minutes. Comment |
Summary
--intent/--no-intentflag (default on) totanstack createandtanstack addnpx @tanstack/intent installvia the project's package manager so coding agents get skill mappings out of the box.cta.jsonso subsequentaddinvocations honor the original setting; failures surface as warnings instead of aborting the scaffoldintent: falseTest plan
pnpm buildsucceeds across all packagespnpm test:unit— 278 unit tests pass (84 in@tanstack/cli, 194 in@tanstack/create)tanstack create my-app(default) writesAGENTS.mdwith the<!-- intent-skills:start -->block and persistsintent: truetanstack create my-app --no-intentskips the step and persistsintent: falsetanstack add tanstack-query --intent --forcedsets up intent on an existing projecttanstack add tanstack-query --no-intent --forcedskips ithttps://claude.ai/code/session_01KZU2LM3E8hncoXxZguUu8P
Generated by Claude Code
Summary by CodeRabbit
Release Notes
--intent/--no-intentflags to thecreateandaddcommands to control automatic TanStack Intent setup (enabled by default).npx @tanstack/intent installafter dependencies are installed.