Skip to content

fix(astro-cryptothrone): fix build and add e2e tests#7625

Merged
h0lybyte merged 2 commits intodevfrom
trunk/cryptothrone-debug-1772750063
Mar 5, 2026
Merged

fix(astro-cryptothrone): fix build and add e2e tests#7625
h0lybyte merged 2 commits intodevfrom
trunk/cryptothrone-debug-1772750063

Conversation

@h0lybyte
Copy link
Member

@h0lybyte h0lybyte commented Mar 5, 2026

Summary

  • Add missing content.config.ts with Starlight docsLoader — fixes slug "game/play" does not exist build error caused by empty content collection in Astro 5.x
  • Wrap GameWindow in lazy-loading GameWindowLoader — fixes window is not defined SSR error from Phaser being imported at module scope
  • Add astro-cryptothrone-e2e Playwright project with smoke, sidebar, and search tests to catch future regressions

Test plan

  • nx run astro-cryptothrone:build passes (4 pages built)
  • nx e2e astro-cryptothrone-e2e smoke tests pass against dev server
  • Game loads correctly in browser at /game/play/

🤖 Generated with Claude Code

… SSR error

Add content.config.ts with Starlight docsLoader to fix build failure where
slug "game/play" was not found in the docs collection. Wrap GameWindow in a
lazy-loading GameWindowLoader to prevent Phaser from accessing `window`
during SSR. Add astro-cryptothrone-e2e Playwright project with smoke,
sidebar, and search tests to catch regressions.
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@h0lybyte h0lybyte merged commit da41cf1 into dev Mar 5, 2026
5 checks passed
@h0lybyte h0lybyte deleted the trunk/cryptothrone-debug-1772750063 branch March 5, 2026 23:30
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