Skip to content

v1.0.5

Choose a tag to compare

@github-actions github-actions released this 05 Jul 18:06

🐛 Fixes — scaffolded starter type error

  • The generated starter now type-checks. Every scaffolder (create-weave, the @weave-framework/nx
    application/component generators, and the @weave-framework/mcp scaffold tool) emitted
    const inc = (): void => count.set((n) => n + 1); — but count.set(...) returns the new value, so an
    expression-body arrow annotated (): void fails with TS2322: Type 'number' is not assignable to type 'void'.
    Changed to a block body: const inc = (): void => { count.set((n) => n + 1); };.
  • New gate: the create-weave starter template is now type-checked in CI (typecheck runs its tsconfig), so
    a scaffolded app that doesn't compile can no longer ship.