Skip to content

Fix block schema errors to get build passing#9

Merged
stefan-burke merged 2 commits into
mainfrom
claude/fix-build-errors-SLELP
Apr 23, 2026
Merged

Fix block schema errors to get build passing#9
stefan-burke merged 2 commits into
mainfrom
claude/fix-build-errors-SLELP

Conversation

@stefan-burke
Copy link
Copy Markdown
Member

Summary

  • section-header blocks: replaced invalid title/subtitle fields with the correct intro field (markdown content with heading + body text)
  • contact.md: fixed block type contact_formcontact-form (underscore → hyphen)
  • home.md + gallery.md: removed unsupported full_width field from video-background and image-background blocks
  • MDI icon cache: downloaded 5 MDI SVG icons (ferris-wheel, rotate-3d-variant, music-note, tune-variant, shield-check) to src/assets/icons/iconify/mdi/ so the build doesn't need to hit the Iconify API at runtime

Test plan

  • Run bun run build — should complete without errors
  • Check home page renders section header and features block correctly
  • Check gallery page renders section headers and image backgrounds correctly
  • Check contact page renders the contact form block correctly

https://claude.ai/code/session_01JEo9nCdhXJ5GYaeMvNMixX


Generated by Claude Code

claude added 2 commits April 23, 2026 21:00
- section-header: replace invalid title/subtitle fields with intro (markdown)
- contact.md: fix contact_form → contact-form type name
- home.md + gallery.md: remove unsupported full_width field from video-background and image-background blocks
- Add MDI icon SVGs to local cache (ferris-wheel, rotate-3d-variant, music-note, tune-variant, shield-check) to avoid runtime API fetches

https://claude.ai/code/session_01JEo9nCdhXJ5GYaeMvNMixX
- Replace rsync shell dependency with pure JS copyDir/mergeTemplateAndSource (fixes build on systems without rsync)
- Move templateExcludes/sourceExcludes to consts.js; add _site to sourceExcludes to prevent copying stale output into dev build
- Add new scripts: ci-merge.js, fetch-instagram-posts.js
- Update test.js: set PLACEHOLDER_IMAGES=1, sync js-toolkit from submodule if present
- Update update-pages.js: support copyLocalPageLayouts and --regenerate flag
- Update update-scripts.js: use copyDir instead of shell rsync

https://claude.ai/code/session_01JEo9nCdhXJ5GYaeMvNMixX
@stefan-burke stefan-burke merged commit eec9174 into main Apr 23, 2026
4 checks passed
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.

2 participants