Loading workspace insights... Statistics interval
7 days30 daysLatest CI Pipeline Executions
d6e9022a 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> afd8f8e8 fix(devtools): rename Solid use* primitives to create* for React Compiler compat (#477)
* fix(devtools): rename Solid use* primitives to create* for React Compiler compat
The devtools packages are Solid but used React-style naming (useStyles,
useTheme, useDevtoolsState, ...) for their custom primitives. When an app
enables React Compiler, it matches the use* convention and transforms this
Solid code as if it were React, breaking the panel.
Rename every custom Solid primitive in @tanstack/devtools, devtools-ui, and
devtools-a11y from use* to create*, and import Solid's useContext and
@solid-primitives' useKeyDownList under non-use aliases (getContext,
getKeyDownList).
BREAKING(@tanstack/devtools-ui): exported useTheme is renamed to createTheme.
* fix(devtools): apply create* rename to tests and docs merged from main
#472 added component tests (tabs.test.tsx, settings-tab.test.tsx) using the
old useDevtoolsState/useDevtoolsSettings names, and the devtools-plugin-panel
skill docs referenced the renamed devtools-ui export useTheme. Update them to
the create* names. ea3c6749 fix(devtools): rename Solid use* primitives to create* for React Compiler compat (#477)
* fix(devtools): rename Solid use* primitives to create* for React Compiler compat
The devtools packages are Solid but used React-style naming (useStyles,
useTheme, useDevtoolsState, ...) for their custom primitives. When an app
enables React Compiler, it matches the use* convention and transforms this
Solid code as if it were React, breaking the panel.
Rename every custom Solid primitive in @tanstack/devtools, devtools-ui, and
devtools-a11y from use* to create*, and import Solid's useContext and
@solid-primitives' useKeyDownList under non-use aliases (getContext,
getKeyDownList).
BREAKING(@tanstack/devtools-ui): exported useTheme is renamed to createTheme.
* fix(devtools): apply create* rename to tests and docs merged from main
#472 added component tests (tabs.test.tsx, settings-tab.test.tsx) using the
old useDevtoolsState/useDevtoolsSettings names, and the devtools-plugin-panel
skill docs referenced the renamed devtools-ui export useTheme. Update them to
the create* names.