Skip to content

fix(lint): ignore embedded caption rail entrypoint#2332

Open
miguel-heygen wants to merge 1 commit into
mainfrom
fix/embedded-caption-rail-root
Open

fix(lint): ignore embedded caption rail entrypoint#2332
miguel-heygen wants to merge 1 commit into
mainfrom
fix/embedded-caption-rail-root

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

Summary

  • ignore the root-level rail.html helper emitted by the embedded-captions theme workflow when detecting multiple root compositions
  • retain the existing caption-skin.html exception
  • add a regression test covering index.html plus the generated rail entrypoint

Reproduction

An embedded-captions Standard theme writes both index.html and rail.html at the project root. hyperframes check treated both as standalone compositions and emitted multiple_root_compositions, even though render-and-composite.sh renders each in an isolated shadow project.

Verification

  • bun run --filter @hyperframes/lint test (362 tests)
  • bun run --filter @hyperframes/cli test -- --run src/utils/lintProject.test.ts (76 tests)
  • lint and CLI typechecks
  • oxlint and oxfmt checks
  • pre-commit hooks

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