The preferred way to create a new micro-frontend repository is to use the frontend-template-application template repository in GitHub: https://github.com/edx/frontend-template-application.
Please see that repository for instructions on how to create your new micro-frontend.