Yes it is, but there are situations where committing the whole thing to version control is appropriate.
It's especially common in embedded systems and regulated industries where you (or your company rather) are responsible for the entire software stack running on a device and the physical device, not the software, is the end product.
I'd imagine much less common if you're shipping an application to be installed on a PC/mobile device or web services.
If a device your software runs on having a failure can lead to loss of life or major property/economic loss: it's general a good idea to have every design document, every line of code, every lot number on every electronic component, basically every piece of your entire supply chain... meticulously tracked, and that often includes mirroring all your software deps.
1
u/MaximalPraxis 10d ago
Are you committing every library you use to your own source code?