fix(studio): resolve exact component filenames for Linux previews
This commit is contained in:
1 parent
f1cf0e9f2b
commit
59f1d9d28a
5 files changed
+61
-8
No files matched your search
@@ -0,0 +1,16 @@
|
||||
# Design Studio 0.1.1 — Linux preview lookup
|
||||
|
||||
Composed and gallery previews previously inferred a component's filename from
|
||||
its public name (Input -> Input.wrn). Some shipped components use lowercase
|
||||
filenames (input.wrn), so the lookup happened to work on Windows and failed on
|
||||
Linux with ENOENT. Previews now use uiComponentPath from the shipped UI registry,
|
||||
which resolves declared names to their exact source files, including ComboBox.
|
||||
|
||||
A subprocess regression test enforces exact filesystem casing even on Windows
|
||||
and renders the composed preview and all seven gallery pages (104 components).
|
||||
All 42 Studio tests and the workspace TypeScript check pass. Existing component
|
||||
APIs, design schemas, browser drafts and generation contracts are unchanged.
|
||||
|
||||
Private package publication and the standalone component site's dependency pin
|
||||
are updated as part of this fix. The VM must install the updated lockfile,
|
||||
rebuild and restart before the live preview error can disappear.
|
||||
Reference in new issue
Block a user