Commit graph

5 commits

Author SHA1 Message Date
github-actions[bot]
375c58fc15
ci: Version Packages (#512)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-20 12:38:11 +02:00
github-actions[bot]
71b2ad0bb6
ci: Version Packages (#506)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-19 18:56:50 +02:00
github-actions[bot]
06006350d6
ci: Version Packages (#487)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-22 14:51:32 +02:00
github-actions[bot]
f9553f5a88
ci: Version Packages (#486)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-22 14:23:45 +02:00
Alem Tuzlak
d6e9022a8b
feat: add @tanstack/devtools-rspack (1:1 Vite parity) + shared @tanstack/devtools-bundler-core (#484)
* feat(bundler-core): scaffold @tanstack/devtools-bundler-core package

* feat(bundler-core): move framework-agnostic logic out of devtools-vite

* feat(bundler-core): add dev-state singleton for loader/plugin sharing

* refactor(devtools-vite): consume @tanstack/devtools-bundler-core

* test(bundler-core): relocate handleDevToolsRequest routing tests from devtools-vite

* feat(devtools-rspack): scaffold package with skeleton exports

* feat(devtools-rspack): transform pipeline loader

* feat(devtools-rspack): plugin (loader injection, event bus, dev middleware, package manager) + dev-server port routing

* chore(devtools): fix core import ordering + guard rspack package-manager wiring in CI

* test(devtools-rspack): entry factory test

* test(devtools-rspack): react rspack example + e2e smoke

* chore: changesets for devtools-bundler-core + devtools-rspack

Also removes the redundant @rspack/core devDependency from
devtools-rspack (already declared as peerDependency, unused
otherwise per knip).

* fix(devtools-rspack): process @tanstack node_modules for connection placeholder + runtime-bridge injection

The single loader rule excluded all of node_modules, so the __TANSTACK_DEVTOOLS_*
connection placeholders (which live in @tanstack/devtools-event-bus's client, under
node_modules for real consumers) were never replaced -- breaking a custom
eventBusConfig.port/host/protocol. Add a second loader rule scoped to
@tanstack/devtools*|event-bus* under node_modules (flat + pnpm nested layouts), and
normalize the step-4 id gate to posix so it matches on Windows. Matches vite's
connection-injection, which does not exclude node_modules.

* fix(devtools-rspack): eager event-bus connection, gate dep-refresh on package.json, port-routing tests, doc accuracy

* fix(devtools-rspack): emit package-json-read on package.json change (vite parity)

* chore(devtools): formatting + lint fixes

* fix(devtools-rspack): make marketplace + go-to-source work under Rspack

- Seed the shared global event target before wiring the package manager so the
  plugin receives the client's `mounted` event and replies with
  `package-json-read` (the marketplace stayed empty without it), and gate the
  wiring on the compiler mode instead of `process.env.NODE_ENV`, which isn't set
  at `apply()` time under `rspack serve`.
- Normalize the module path before stripping cwd in enhance-logs and
  inject-source so Rspack's backslash ids on Windows don't leak an absolute path
  that breaks editor open.
- Enable `connectToServerBus` in the react-rspack example so the client connects
  to the event bus.

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-22 13:44:57 +02:00