deps: migrate from @tanstack/dom-vite to @tanstack/redact#881
deps: migrate from @tanstack/dom-vite to @tanstack/redact#881tannerlinsley merged 1 commit intomainfrom
Conversation
The previous 6-package shim layout (@tanstack/{react,react-dom,
react-dom-server,dom-core,scheduler,dom-vite}) was consolidated into
a single @tanstack/redact package with subpath exports. The old
packages are deprecated on npm and redirect to redact.
Changes:
- package.json: drop @tanstack/dom-vite@0.1.0-alpha.8, add
@tanstack/redact@^0.0.3
- vite.config.ts: import { redact } from '@tanstack/redact/vite';
tanstackDom() -> redact(); serverVariantAliases targets
@tanstack/react-dom-server -> @tanstack/redact/server.
Verified locally: dev server boots clean, all four husky smoke
routes pass (home + query/router/table docs).
✅ Deploy Preview for tanstack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis pull request replaces the TanStack package Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Review rate limit: 4/5 reviews remaining, refill in 12 minutes. Comment |

Summary
Migrate from the now-deprecated 6-package shim layout (`@tanstack/{react,react-dom,react-dom-server,dom-core,scheduler,dom-vite}@0.1.0-alpha.*`) to the consolidated `@tanstack/redact` package. The old packages are deprecated on npm with a redirect to redact.
Changes
Test plan
```
✓ home page
✓ query docs
✓ router docs
✓ table docs
```
Background
`@tanstack/redact` 0.0.3 includes two fixes that landed during this migration:
Summary by CodeRabbit