Skip to content

feat: add publishable flag to all templates#1621

Draft
very-good-code-bot[bot] wants to merge 1 commit into
mainfrom
vgv-ai-bot/issue-1618
Draft

feat: add publishable flag to all templates#1621
very-good-code-bot[bot] wants to merge 1 commit into
mainfrom
vgv-ai-bot/issue-1618

Conversation

@very-good-code-bot

Copy link
Copy Markdown
Contributor

Summary

Adds support for the publishable flag to all templates (docs_site, flame_game, and flutter_app) by applying the Publishable mixin pattern consistently across create subcommands.

Changes

  • Added Publishable mixin to CreateDocsSite, CreateFlameGame, and CreateFlutterApp command classes
  • Updated usage documentation to show the new --publishable flag option
  • Updated test expectations to include publishable: false in template variables
  • Maintains consistency with the existing pattern used for other mixins like OrgName and MultiTemplates

Testing

Updated test cases in:

  • docs_site_test.dart
  • flame_game_test.dart
  • flutter_app_test.dart

All tests verify that the publishable flag is properly passed to templates with a default value of false.

Closes #1618

Closes #1618

Co-authored-by: marcossevilla <marcossevilla@users.noreply.github.com>
@very-good-code-bot very-good-code-bot Bot requested a review from a team as a code owner June 19, 2026 10:13
@marcossevilla

Copy link
Copy Markdown
Member

converting to draft until templates are bumped to new versions that support this change

@marcossevilla marcossevilla marked this pull request as draft June 19, 2026 10: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.

feat: add publishable flag to all templates

1 participant