docs: install the framework adapters as dev dependencies everywhere - #547
AlemTuzlak wants to merge 1 commit into
Conversation
The installation page and most of the quick start used `npm install -D`, but the adapter pages, the basic setup pages, and the Svelte and Angular quick start used a regular install. Every adapter install now uses -D, and the installation page says when to use a regular dependency instead. Fixes #227
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 1 minute. View limit detailsLimit details: You’ve used all 4 included reviews currently available. Review configuration: ⚙️ Run configurationConfiguration used: Repository: TanStack/devtools/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (14)
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 |
|
View your CI Pipeline Execution ↗ for commit 17638c2
☁️ Nx Cloud last updated this comment at |
|
View your CI Pipeline Execution ↗ for commit 17638c2
☁️ Nx Cloud last updated this comment at |
More templates
@tanstack/angular-devtools
@tanstack/devtools
@tanstack/devtools-a11y
@tanstack/devtools-bundler-core
@tanstack/devtools-client
@tanstack/devtools-rspack
@tanstack/devtools-ui
@tanstack/devtools-utils
@tanstack/devtools-vite
@tanstack/devtools-webmcp
@tanstack/devtools-event-bus
@tanstack/devtools-event-client
@tanstack/preact-devtools
@tanstack/react-devtools
@tanstack/solid-devtools
@tanstack/svelte-devtools
@tanstack/vue-devtools
commit: |
The docs disagree on how to install the devtools: some pages use
npm install -D, and others use a regular install. This PR makes every framework adapter install use-D. The installation page now says in one line when to use a regular dependency instead.🎯 Changes
installation.mdand most ofquick-start.mdalready used-D.-D.installation.mdnow says to install as a dev dependency, with a link to its Production Builds section.@tanstack/devtools-event-clientand@tanstack/devtools-utilsinstalls stay regular, because library and plugin code use them at runtime.✅ Checklist
pnpm test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Testing
Commands run
prettier --checkon the changed docs: pass.grepfor adapter install lines without-Dindocs/: none left.Manual test
npm install -D @tanstack/react-devtools.How this PR makes testing easy
Docs only.
Linked issues
Fixes #227
Risk / rollback
None. Docs only. To undo, revert this PR.
🤖 Generated with Claude Code