docs: fix grok video snippets failing kiira; publish @tanstack/ai-angular#826
Conversation
The grok video-generation snippets in docs/adapters/grok.md and docs/media/video-generation.md referenced generateVideo/grokVideo without importing them, failing the test:kiira gate on main and aborting every release run before changeset publish. Make each standalone fence self-contained with its own imports, and add a changeset to cut a clean @tanstack/ai-angular release (npm 0.0.1 shipped unresolved workspace: specifiers from a manual publish).
🚀 Changeset Version Preview2 package(s) bumped directly, 0 bumped as dependents. 🟨 Minor bumps
🟩 Patch bumps
|
|
View your CI Pipeline Execution ↗ for commit 1493991
☁️ Nx Cloud last updated this comment at |
@tanstack/ai
@tanstack/ai-angular
@tanstack/ai-anthropic
@tanstack/ai-client
@tanstack/ai-code-mode
@tanstack/ai-code-mode-skills
@tanstack/ai-devtools-core
@tanstack/ai-elevenlabs
@tanstack/ai-event-client
@tanstack/ai-fal
@tanstack/ai-gemini
@tanstack/ai-grok
@tanstack/ai-groq
@tanstack/ai-isolate-cloudflare
@tanstack/ai-isolate-node
@tanstack/ai-isolate-quickjs
@tanstack/ai-mcp
@tanstack/ai-ollama
@tanstack/ai-openai
@tanstack/ai-openrouter
@tanstack/ai-preact
@tanstack/ai-react
@tanstack/ai-react-ui
@tanstack/ai-solid
@tanstack/ai-solid-ui
@tanstack/ai-svelte
@tanstack/ai-utils
@tanstack/ai-vue
@tanstack/ai-vue-ui
@tanstack/openai-base
@tanstack/preact-ai-devtools
@tanstack/react-ai-devtools
@tanstack/solid-ai-devtools
commit: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughAdds a Changesets patch entry to trigger a new Changesai-angular patch release and doc import fixes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 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 unit tests (beta)
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. Comment |
Why
The
test:kiiragate (doc code-sample type-checker, added in #805) has been red onmainsince the grok video-generation adapter docs landed (#742). The Release workflow runspnpm run test:ci(which includestest:kiira) beforechangeset publish, so a red gate aborts the job before anything publishes — which is why no package has been published since 2026-06-23 and why@tanstack/ai-angularis stuck (see #811).The kiira failure
Two grok video snippets used
generateVideo/grokVideoin standalone code fences without importing them:docs/adapters/grok.md— image-to-video exampledocs/media/video-generation.md— image-to-video + duration-inspection examplesEach fence is now self-contained with its own imports (no
group=/rename hacks). Local run:Publishing ai-angular
Adds a
patchchangeset for@tanstack/ai-angular. The only version on npm (0.0.1) was seeded by a manualnpm publishand shipped unresolvedworkspace:specifiers (EUNSUPPORTEDPROTOCOL, #811). Now that trusted publishing is configured for the package and the kiira gate is green again, releasing through the changesets pipeline rewrites those specifiers to concrete versions and ships a clean build.Closes #811.
Summary by CodeRabbit
Bug Fixes
Documentation