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

Add gitignore templates and fix deploy command for Fastly templates#62

Merged
phuctm97 merged 1 commit intomainfrom
add-fastly-gitignore-fix-deploy-command
Jul 25, 2025
Merged

Add gitignore templates and fix deploy command for Fastly templates#62
phuctm97 merged 1 commit intomainfrom
add-fastly-gitignore-fix-deploy-command

Conversation

@phuctm97
Copy link
Copy Markdown
Owner

Summary

  • Add .gitignore templates for both JavaScript and TypeScript Fastly templates
  • Fix deploy command from deprecated fastly compute deploy to correct fastly compute publish
  • Include standard ignored files/folders appropriate for Fastly Compute projects

Details

The Fastly templates were missing .gitignore files which could lead to unwanted files being committed. Additionally, the deploy command was using the deprecated deploy subcommand instead of the current publish command.

Files added:

  • libs/create-modelfetch/templates/fastly-js/.gitignore.template
  • libs/create-modelfetch/templates/fastly-ts/.gitignore.template

Changes made:

  • Updated deploy script in both package.json templates from fastly compute deploy to fastly compute publish
  • Added appropriate gitignore entries for Fastly Compute projects

Test plan

  • Run create-modelfetch with Fastly JS template and verify .gitignore is created
  • Run create-modelfetch with Fastly TS template and verify .gitignore is created
  • Verify npm run deploy uses the correct fastly compute publish command

🤖 Generated with Claude Code

- Add .gitignore templates for both JS and TS Fastly templates
- Fix deploy command from 'fastly compute deploy' to 'fastly compute publish'
- Include standard ignored files/folders (node_modules, bin, pkg, dist, *.tsbuildinfo)

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

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

vercel Bot commented Jul 25, 2025

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

Name Status Preview Comments Updated (UTC)
modelfetch-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2025 10:36am

@phuctm97 phuctm97 merged commit 4744a71 into main Jul 25, 2025
2 checks passed
@phuctm97 phuctm97 deleted the add-fastly-gitignore-fix-deploy-command branch July 25, 2025 10:37
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