Add update-dependencies-for-constant command to automatically add missing dependencies for moved constants
Add update-dependencies-for-constant command to automatically add missing dependencies for moved constants: a task in LegoFlow-SWE (Harbor dataset). When a constant like ::Bar::Tender is moved to a new public location (e.g., app/public directory) inside a pack, other packs that reference that…
The task
When a constant like `::Bar::Tender` is moved to a new public location (e.g., `app/public` directory) inside a pack, other packs that reference that constant must manually update their `package.yml` to declare a dependency on the pack where the constant is now defined. This is error-prone and tedious.
Part of Lego-X/LegoFlow-SWE.