Multi-source Inventory is a new concept launched by Magento from Magento 2.3.* Version.
Earlier version (Before Magento 2.3) of Magento doesn’t support MSI feature.
MSI is used for multi-source concept used for inventory management at a single or multiple source location.

These four module are missing in you code, please add them as well.
“magento/module-inventory-export-stock”: “*”,
“magento/module-inventory-export-stock-api”: “*”,
“magento/module-inventory-reservation-cli”: “*”,
“magento/module-inventory-graph-ql”: “*”
Thanks. I have update the code.