What's needed
Right now the deploy CLI zips and uploads everything in the project directory, with no way to exclude files. We need a -i / --ignore-pattern flag so users can skip things like test files, local configs, or large assets that shouldn't be part of the deployment bundle.
Proposed behavior
metacall-deploy --ignore-pattern "*.test.js" --ignore-pattern ".env.local"
- Accepts one or more glob patterns.
- Defaults to a sensible per-language default (e.g.
node_modules/ for Node, __pycache__/ for Python).
- Patterns are applied during the zip step before upload.
Why this matters
Without it, users either upload unnecessary files (increasing bundle size and upload time) or have to manually clean the directory before every deploy.
Note: This is already tracked in the project's TODO list. Happy to contribute the implementation.
What's needed
Right now the deploy CLI zips and uploads everything in the project directory, with no way to exclude files. We need a
-i/--ignore-patternflag so users can skip things like test files, local configs, or large assets that shouldn't be part of the deployment bundle.Proposed behavior
node_modules/for Node,__pycache__/for Python).Why this matters
Without it, users either upload unnecessary files (increasing bundle size and upload time) or have to manually clean the directory before every deploy.
Note: This is already tracked in the project's TODO list. Happy to contribute the implementation.