Skip to content

Conversation

@github-actions
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Patch Changes

  • #212
    8e1a20f
    Thanks @GuiBibeau! - Remove repokit dependency and replace with local utilities. This
    change eliminates the external @beeman/repokit canary dependency and replaces it with three local utility modules
    that provide the same functionality:

    • src/utils/template-schema.ts - Zod schemas and TypeScript types for template validation
    • src/utils/fetch-templates.ts - Fetches and parses templates.json from remote URLs
    • src/utils/menu-utils.ts - Menu transformation logic for template selection

    This change maintains full backward compatibility with existing templates.json format while adding support for new
    optional metadata fields (displayName, usecase, image) introduced in feat: remove repokit dependency and add template metadata enhancements templates#170.

    Benefits:

    • No dependency on external canary releases
    • Full control over template parsing logic
    • Smaller bundle size (only code actually used)
    • Type-safe with Zod validation
    • Easier to maintain and debug

@GuiBibeau
Copy link
Collaborator

Testing manually before merging.

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