feat: plugin for dynamically overriding dependencies (#4263)