Skip to content

Conversation

@GuiBibeau
Copy link
Collaborator

Summary

Remove external repokit dependency and replace with local utility modules.

Changes

  • Remove @beeman/repokit canary dependency from package.json
  • Add 3 new utility modules: template-schema.ts, fetch-templates.ts, menu-utils.ts
  • Update 10 source files to use local utilities instead of repokit imports
  • Add changeset for patch version bump (4.7.0 -> 4.7.1)

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

Testing

  • All 73 tests pass
  • Build succeeds (77.5 kB total dist size)
  • Type checking passes
  • Linting passes
  • CLI verified working (--list-templates fetches all 26 templates)

Compatibility

Future Plans

This refactor positions us well for migrating template metadata to a CMS and/or API in the future, which will enable more consumers to access template information and improve the overall template discovery experience.

@changeset-bot
Copy link

changeset-bot bot commented Oct 21, 2025

🦋 Changeset detected

Latest commit: d622a63

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
create-solana-dapp Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 21, 2025

Open in StackBlitz

npm i https://pkg.pr.new/solana-foundation/create-solana-dapp@212

commit: d622a63

Copy link
Collaborator

@cxalem cxalem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!!! 👀

@GuiBibeau GuiBibeau merged commit 9b2dbc9 into solana-foundation:main Oct 24, 2025
5 checks passed
@github-actions github-actions bot mentioned this pull request Oct 24, 2025
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.

3 participants