Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/remove-repokit-dependency.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
"create-solana-dapp": patch
---

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 solana-foundation/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
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
]
},
"dependencies": {
"@beeman/repokit": "0.0.0-canary-20250801172233",
"@clack/prompts": "0.7.0",
"commander": "14.0.0",
"giget": "2.0.0",
Expand Down
Loading
Loading