Skip to content

feat: add games content kind support#242

Merged
just-be-dev merged 1 commit intomainfrom
just-be/add-games-kind-support
Mar 18, 2026
Merged

feat: add games content kind support#242
just-be-dev merged 1 commit intomainfrom
just-be/add-games-kind-support

Conversation

@just-be-dev
Copy link
Copy Markdown
Owner

AI Summary

Adds support for a new "games" content kind with prefix "G". This includes:

  • Updated gen-codes.ts to process games directory and generate G-prefixed codes
  • Updated gen-url-manifest.ts to include games collection in URL manifest generation
  • Added gamesSchema to content schemas (mirrors blog structure with title, description, date, tags, draft, code, and slugs)
  • Registered games collection in content.config.ts with glob loader
  • Updated middleware regex pattern from [brpt] to [bgrpt] for code-based URL redirects
  • Comprehensive test coverage for the new kind in code.test.ts

All 153 tests pass.

Add support for a new "games" content kind with prefix "G". Updates code generation, URL manifest, content configuration, schemas, middleware pattern matching, and test coverage.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
just-be-dev 2151090 Commit Preview URL

Branch Preview URL
Mar 18 2026, 09:40 AM

@just-be-dev just-be-dev merged commit d51f25b into main Mar 18, 2026
4 checks passed
@just-be-dev just-be-dev deleted the just-be/add-games-kind-support branch March 18, 2026 09:42
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