1. Only start the plug-in function when a certain dependency is installed
2. Ability to respond to user installation/uninstallation of dependencies after project startup
I searched and found that PackageJsonUtil can provide relevant verification, but:
1. It should be slow to operate
2. How to detect when dependencies are dynamically installed and uninstalled?
what should I do? Are there any relevant extension points?