fix: adjust use of solid-js in peerDeps and devDeps #371
main fromrefs/pull/371/head·merged by schiller-manuel(GitHub profile, opens in a new tab) View on GitHubThis PR adjust where solid-js v1 appear in peerDeps and devDeps, because the current setup gets in the way of e.g. router-devtools-core upgrading to solid v2. PR here:
With this pr the devtools become compatible with e.g. router devtools of both solid v1 and solid v2
🎯 Changes#
✅ Checklist#
- I have followed the steps in the Contributing guide.
- I have tested this code locally with
pnpm 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#
- Compatibility
- Removed the requirement for applications to declare
solid-jsas a peer dependency when using the Devtools packages.
- Removed the requirement for applications to declare
- 1
View your CI Pipeline Execution ↗ for commit 293a6aeaa39404b2a7ba4674975af71f772d8a42
Command Status Duration Result nx affected --targets=test:eslint,test:sherif,t...✅ Succeeded 2m 49s View ↗ nx run-many --target=test:e2e --parallel=1 --pr...✅ Succeeded 1m 16s View ↗ nx run-many --targets=build --exclude=examples/...✅ Succeeded 37s View ↗ 💡 With Ultracache enabled, Nx Cloud learns each task's file inputs in CI and uses them on later runs. Turn on Ultracache in workspace settings ↗ · Read docs ↗
☁️ Nx Cloud last updated this comment at
2026-11-18 02:05:43UTCMore templates
- @tanstack/devtools-example-angular-a11y-devtools
- @tanstack/devtools-example-angular-basic
- @tanstack/devtools-example-angular-panel
- ssr
- @tanstack/devtools-example-angular-with-devtools
- @tanstack/react-devtools-a11y-example
- @tanstack/devtools-example-react-basic
- start-repro
- @tanstack/devtools-custom-devtools
- tanstack-start-example-counter
- @tanstack/devtools-example-react-https
- start
- start-cloudflare
- start-nitro
- @tanstack/devtools-example-react-time-travel
- @tanstack/devtools-example-preact-basic
- @tanstack/devtools-custom-devtools-preact
- @tanstack/solid-devtools-a11y-example
- @tanstack/devtools-example-solid-basic
- @tanstack/devtools-example-devtools-ui
- @tanstack/devtools-example-solid-start
- @tanstack/query-example-vue-basic
@tanstack/angular-devtools
npm i https://pkg.pr.new/@tanstack/angular-devtools@371@tanstack/devtools
npm i https://pkg.pr.new/@tanstack/devtools@371@tanstack/devtools-a11y
npm i https://pkg.pr.new/@tanstack/devtools-a11y@371@tanstack/devtools-bundler-core
npm i https://pkg.pr.new/@tanstack/devtools-bundler-core@371@tanstack/devtools-client
npm i https://pkg.pr.new/@tanstack/devtools-client@371@tanstack/devtools-rspack
npm i https://pkg.pr.new/@tanstack/devtools-rspack@371@tanstack/devtools-ui
npm i https://pkg.pr.new/@tanstack/devtools-ui@371@tanstack/devtools-utils
npm i https://pkg.pr.new/@tanstack/devtools-utils@371@tanstack/devtools-vite
npm i https://pkg.pr.new/@tanstack/devtools-vite@371@tanstack/devtools-webmcp
npm i https://pkg.pr.new/@tanstack/devtools-webmcp@371@tanstack/devtools-event-bus
npm i https://pkg.pr.new/@tanstack/devtools-event-bus@371@tanstack/devtools-event-client
npm i https://pkg.pr.new/@tanstack/devtools-event-client@371@tanstack/preact-devtools
npm i https://pkg.pr.new/@tanstack/preact-devtools@371@tanstack/react-devtools
npm i https://pkg.pr.new/@tanstack/react-devtools@371@tanstack/solid-devtools
npm i https://pkg.pr.new/@tanstack/solid-devtools@371@tanstack/svelte-devtools
npm i https://pkg.pr.new/@tanstack/svelte-devtools@371@tanstack/vue-devtools
npm i https://pkg.pr.new/@tanstack/vue-devtools@371commit:
293a6aeI'm not sure if this would impact the other libraries, did we actually confirm this does not cause issues?
@AlemTuzlak I've tried the repo examples react/start react/time-travel, and
basicfor few frameworks. E.g. react/basic example can run with the pre-releases form this PR"dependencies": { "@tanstack/devtools-client": "https://pkg.pr.new/@tanstack/devtools-client@371", "@tanstack/devtools-event-client": "https://pkg.pr.new/@tanstack/devtools-event-client@371", "@tanstack/react-devtools": "https://pkg.pr.new/@tanstack/react-devtools@371", "@tanstack/react-form": "^1.23.7", "@tanstack/react-query": "^5.90.1", "@tanstack/react-query-devtools": "^5.90.1", "@tanstack/react-router": "^1.132.0", "@tanstack/react-router-devtools": "^1.132.0", "react": "^19.2.0", "react-dom": "^19.2.0", "zod": "^4.3.5" }, "devDependencies": { "@tanstack/devtools-ui": "https://pkg.pr.new/@tanstack/devtools-ui@371", "@tanstack/devtools-vite": "https://pkg.pr.new/@tanstack/devtools-vite@371", "@tanstack/react-form-devtools": "^0.1.7", "@types/react": "^19.2.0", "@types/react-dom": "^19.2.0", "@vitejs/plugin-react": "^5.0.4", "sonda": "0.9.0", "vite": "^7.1.7", "vite-plugin-inspect": "11.3.3" },and that solid/basic can run wtih
"dependencies": { "@tanstack/solid-devtools": "https://pkg.pr.new/@tanstack/solid-devtools@371", "@tanstack/solid-query": "^5.90.1", "@tanstack/solid-query-devtools": "^5.90.1", "@tanstack/solid-router": "^1.131.50", "@tanstack/solid-router-devtools": "^1.131.50", "solid-js": "^1.9.9" }, "devDependencies": { "@tanstack/devtools-vite": "https://pkg.pr.new/@tanstack/devtools-vite@371", "vite": "^7.1.7", "vite-plugin-inspect": "11.3.3", "vite-plugin-solid": "^2.11.8" },To do this, i remove the pnpm.overrides in the root package json, and set preferWorkspacePackages: false
Is there something in particular that I can double check?
birkskyum(GitHub profile, opens in a new tab) changed the title
birkskyum(GitHub profile, opens in a new tab) changed the title
No actionable comments were generated in the recent review.
Walkthrough
-
The pull request removes Solid peer dependency declarations from
@tanstack/devtools-uiand@tanstack/devtools. It addssolid-jsas a development dependency of@tanstack/devtools-utilsand records patch releases for the two packages.Changes: Solid dependency contract
Layer / File(s) Summary Package dependency updates
packages/devtools-ui/package.json,packages/devtools/package.json,packages/devtools-utils/package.json,.changeset/hip-readers-retire.mdThe two devtools packages remove their solid-jspeer dependency declarations.devtools-utilsaddssolid-jsas a development dependency. The changeset declares patch releases and states that panels from Solid 1 or Solid 2 libraries can mount in the shell.Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Bug fix
Possibly related PRs
- TanStack/devtools#557: Changes
solid-jspeer dependency ranges in several Solid-dependent devtools packages. - TanStack/devtools#543: Updates
solid-jsdependency and peer minimums, including indevtools-utils. - TanStack/devtools#563: Updates Solid dependency declarations for a Solid 2 transition.
Suggested reviewers:
alemtuzlak - TanStack/devtools#557: Changes
Merge Risk:
Minimal · up to293a6-
This PR changes how solid-js is declared in the devtools packages so the devtools can work alongside router devtools using either Solid v1 or v2. No concrete defect was found in the manifest changes. The Solid 2 panel compatibility claim in the changeset rests on router code outside this repository, so it is worth confirming with a real Solid 2 integration. It is not a blocker.
Pre-merge checks:
4-
Check name Status Explanation Title check The title "fix: adjust use of solid-js in peerDeps and devDeps" matches the main change. The PR removes solid-js v1 peer dependency declarations from the devtools packages and adds a devDependency in … Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Description check The author explains the motivation: the solid-js v1 declarations in peerDependencies and devDependencies block router-devtools-core from upgrading to Solid v2. The PR links the related router change a… Full details: Title check
-
Explanation
The title "fix: adjust use of solid-js in peerDeps and devDeps" matches the main change. The PR removes solid-js v1 peer dependency declarations from the devtools packages and adds a devDependency in devtools-utils, so the title describes the primary change. It names the files' dependency sections but does not describe the compatibility goal with Solid v2.
Full details: Description check
-
Explanation
The author explains the motivation: the solid-js v1 declarations in peerDependencies and devDependencies block router-devtools-core from upgrading to Solid v2. The PR links the related router change and states that the devtools will work with router devtools on both Solid v1 and v2. The Changes section is still the unedited template comment, so the PR does not describe the specific file-level changes. The checklist shows the changeset was generated and the release impact is marked. The local test item is not checked, and the author gave no test details for pnpm test:pr. The description covers the required intent and release impact, but it omits a concrete change list and the test status.
-
Finishing Touches
-
Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: TanStack/devtools
- Branch: main
- File: .coderabbit.yaml
- Commit: 8f62544
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
2467ebef-599b-42eb-a693-15d4a5ee5f3d
Commits-
Reviewing files that changed from the base of the PR and between 8f625443bfde9c5ec6415f05958020aecb252d8d and 293a6aeaa39404b2a7ba4674975af71f772d8a42.
Files ignored due to path filters: 1-
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
Files selected for processing: 4-
.changeset/hip-readers-retire.mdpackages/devtools-ui/package.jsonpackages/devtools-utils/package.jsonpackages/devtools/package.json
Files with no reviewable changes: 2-
- packages/devtools-ui/package.json
- packages/devtools/package.json
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
-
-
@AlemTuzlak , this would allow the us to gradually move things to solid2
🎉 This PR has been released!
Thank you for your contribution!
Sign in to join this conversation.
🦋 Changeset detected#
Latest commit: 293a6aeaa39404b2a7ba4674975af71f772d8a42
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR