Replace static JSON config with runtime dependency discovery by grepping package.json files. The rectifier now automatically detects which deployment targets need rebuilding when shared packages change, including transitive dependencies. Changes: - Add lib/dependency-graph.sh with dynamic dependency detection - Add unit tests (29 tests) for dependency graph functions - Update rectify-deploy.sh to use dynamic detection - Remove need for manual dependency configuration How it works: 1. Extract package name from changed file path 2. Grep package.json files to find dependents 3. Map dependents to deployment targets 4. Handle transitive deps (ui-utils -> ui-primitives -> targets) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dependency-graph.sh | ||
| dependency-graph.test.sh | ||
| deploy-docker-services.sh | ||
| deploy-pm2-services.sh | ||
| deploy-python-services.sh | ||
| detect-changes.sh | ||
| generate-commit-message.sh | ||
| generate-release-notes.sh | ||
| github-push.sh | ||
| update-nginx-upstream.sh | ||
| version-bump.sh | ||