v1.5.10
✨ Features & docs
-
@weave-framework/typescript-pluginpublished to npm — the.ts-side editor support. A tsserver
plugin that synthesizes the loader-generated default export soimport X from './x-component'stops
reporting TS1192 "no default export" in WebStorm and other tsconfig-driven editors. Add
"plugins": [{ "name": "@weave-framework/typescript-plugin" }]to yourtsconfig.jsoncompilerOptions
and install it as a dev dependency; the Nx generator andcreate-weavetemplate now scaffold both. -
Nx — use Weave in a mixed workspace (
@weave-framework/nx). New guidance (and a scaffolded
project-localtsconfig.json) for making a project use Weave tooling when it sits next to another
framework — including migrating an Angular project. Three markers (weave.config.*,tsconfig.json,
.prettierrc) plus aproject.jsontarget override make both thenxCLI and your editor treat the
project — and its.htmltemplates — as Weave rather than the framework beside it. See Adopt Weave
one piece at a time → Make a project use Weave.
🐞 Fixes
- Tabs —
tabTemplateover dynamictabs(@weave-framework/ui). A custom tab-button template now
renders (and refreshes) for tabs added or edited after mount, mirroring the<List>rowTemplatefix —
the body moved into the reactive keyed tab block. (Panel content still binds at mount; a tab strip is a
fixed set by design.) weave check— a@snippetsatisfies a(row) => Nodetemplate prop (@weave-framework/check).
Snippets are now typed() => Nodeinstead of() => void, so authoring arowTemplate/itemTemplate/
tabTemplateas a@snippetand passing it to a locally-typed component no longer reports a spurious
'void' is not assignable to 'Node'type error.