Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Add modelfetch CLI to create-modelfetch templates#102

Merged
phuctm97 merged 8 commits intomainfrom
add-modelfetch-devdep-templates
Aug 13, 2025
Merged

Add modelfetch CLI to create-modelfetch templates#102
phuctm97 merged 8 commits intomainfrom
add-modelfetch-devdep-templates

Conversation

@phuctm97
Copy link
Copy Markdown
Owner

Summary

  • Adds modelfetch as a development dependency to all create-modelfetch templates
  • Updates dependency versions (esbuild 0.25.8 → 0.25.9, wrangler 4.28.1 → 4.29.0)
  • Ensures developers can use the modelfetch CLI in their generated projects

Changes

This PR adds the modelfetch CLI package as a devDependency to all 24 templates:

  • Node.js, Bun, Cloudflare, Fastly, Gcore, AWS Lambda, Azure Functions, Next.js, and Vercel templates: Added to devDependencies in package.json
  • Deno templates: Added to imports in deno.json
  • Netlify templates: Added to imports in import_map.json
  • Supabase templates: Added to imports in the function's deno.json

Test plan

  • Verify templates generate correctly with create-modelfetch
  • Confirm modelfetch CLI is available in generated projects
  • Test that the modelfetch commands work in each runtime environment

🤖 Generated with Claude Code

Adds modelfetch as a development dependency to all create-modelfetch templates,
enabling developers to use the modelfetch CLI in their generated projects.
Also updates esbuild and wrangler to their latest versions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
modelfetch-website Ready Preview Comment Aug 13, 2025 8:04am

Adds "dev:mcp": "modelfetch dev" script to all templates, allowing developers
to easily run the MCP development server with the modelfetch CLI.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Renamed "dev:mcp" to "mcp:dev" for better naming convention
- Added "mcp:serve" script that runs "modelfetch serve"
- Now all templates have both mcp:dev and mcp:serve scripts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Removed mcp:dev and mcp:serve scripts from all templates
- Added "dev": "modelfetch dev" only to templates without existing dev script
- Templates with existing dev commands (Next.js, Cloudflare, Vercel) keep their original dev script

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…ript

Removed modelfetch as a dependency from templates that don't use it:
- Cloudflare, Next.js, and Vercel templates (they have their own dev scripts)
- Deno, Netlify, and Supabase templates (no modelfetch dev script)

Only templates with "dev": "modelfetch dev" now include the modelfetch dependency.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@phuctm97 phuctm97 merged commit 266406a into main Aug 13, 2025
2 checks passed
@phuctm97 phuctm97 deleted the add-modelfetch-devdep-templates branch August 13, 2025 08:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant