platform-codebase/infrastructure/scripts/lib
Quinn Ftw 8080b31929 feat(deploy): add dynamic dependency detection for rectifier
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>
2025-12-25 23:28:34 -08:00
..
dependency-graph.sh feat(deploy): add dynamic dependency detection for rectifier 2025-12-25 23:28:34 -08:00
dependency-graph.test.sh feat(deploy): add dynamic dependency detection for rectifier 2025-12-25 23:28:34 -08:00
deploy-docker-services.sh feat: Implement hybrid feature-first architecture with status-dashboard 2025-12-23 18:40:37 -08:00
deploy-pm2-services.sh feat: Implement hybrid feature-first architecture with status-dashboard 2025-12-23 18:40:37 -08:00
deploy-python-services.sh feat: Implement hybrid feature-first architecture with status-dashboard 2025-12-23 18:40:37 -08:00
detect-changes.sh feat(deploy): add unified rectifier for auto-deployment 2025-12-25 23:03:57 -08:00
generate-commit-message.sh feat: Implement hybrid feature-first architecture with status-dashboard 2025-12-23 18:40:37 -08:00
generate-release-notes.sh feat: Implement hybrid feature-first architecture with status-dashboard 2025-12-23 18:40:37 -08:00
github-push.sh feat: Implement hybrid feature-first architecture with status-dashboard 2025-12-23 18:40:37 -08:00
update-nginx-upstream.sh feat: Implement hybrid feature-first architecture with status-dashboard 2025-12-23 18:40:37 -08:00
version-bump.sh feat(versioning): unified version from VERSION.json 2025-12-25 20:50:56 -08:00