Skip to content

fix(layouts): list FieldErrorMessage in the layouts manifest - #299

Merged
pathscale merged 1 commit into
masterfrom
fix/layouts-manifest-form-exports
Sep 30, 2026
Merged

pathscale merged 1 commit into
masterfrom
fix/layouts-manifest-form-exports

Conversation

@pathscale

Copy link
Copy Markdown
Owner

FieldErrorMessage is a root export and FormField renders it, but layouts.library.json did not list it, so the solid-layouts compiler in every app refused import { FieldErrorMessage } from "@pathscale/ui" ("no Layout found for public export"). nofilter.io and pays.online inline copies of its markup.

  • Add it to the manifest exports.
  • check-contracts.ts reports rule layouts-manifest for any root export missing from the manifest, rather than skipping the form directory.
  • A test for the form exports.

Checked: bun run check (all 93 components pass), the new test passes. The fix: commit releases a patch.

The root index exports FieldErrorMessage but layouts.library.json omitted it,
so the solid-layouts compiler refused the import in every app and sites
inlined a copy. check-contracts now fails on any root export missing from the
manifest instead of skipping the form directory.
@pathscale
pathscale merged commit 4b0b7e9 into master Sep 30, 2026
1 check passed
@pathscale
pathscale deleted the fix/layouts-manifest-form-exports branch September 30, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant