Composer require fills lock file with 2tvenom/cborencode src and dist · Issue #34325 · magento/magento2 · GitHub
This document is everything you need to know about Magento 2 File Structure as well as the structure in Module, Theme, and Language package. – Mageplaza