devtools/packages
Alem Tuzlak df1464cdca
fix(devtools-bundler-core): open source files outside cwd and end bad open-source requests (#541)
addSourceToJsx strips cwd from the module path. A file outside cwd (a
monorepo package, or Vite run from another directory) keeps its absolute
path, and the open-source handler then prefixed cwd again. The editor got
paths like /repo/apps/web/repo/packages/pkg/src/panel.tsx.

The handler now uses the absolute path when the cwd-relative file does not
exist and the absolute one does.

A missing or malformed `source` returned without ending the response, so the
request stayed pending until the browser timed out. It now answers 400.

Fixes #281
Fixes #176
Refs #451
History 2026-10-29 16:22:49 +01:00
..
angular-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
devtools fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
devtools-a11y fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
devtools-bundler-core fix(devtools-bundler-core): open source files outside cwd and end bad open-source requests (#541) 2026-10-29 16:22:49 +01:00
devtools-client ci: Version Packages (#475) 2026-06-24 13:21:43 +02:00
devtools-rspack ci: Version Packages (#512) 2026-08-20 12:38:11 +02:00
devtools-ui fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
devtools-utils fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
devtools-vite fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
devtools-webmcp fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
event-bus ci: Version Packages (#506) 2026-08-19 18:56:50 +02:00
event-bus-client fix: remove the intent bin that shadows @tanstack/intent (#542) 2026-10-29 16:19:15 +01:00
preact-devtools ci: Version Packages (#552) 2026-10-11 13:01:21 -05:00
react-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
solid-devtools fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
svelte-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
vue-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00