{"id":28951842,"url":"https://github.com/module-federation/metro-mf","last_synced_at":"2025-06-23T15:37:15.617Z","repository":{"id":288576876,"uuid":"968104581","full_name":"module-federation/metro-mf","owner":"module-federation","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-19T11:34:00.000Z","size":2972,"stargazers_count":24,"open_issues_count":3,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-20T22:35:33.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/module-federation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-17T14:11:13.000Z","updated_at":"2025-06-18T23:32:44.000Z","dependencies_parsed_at":"2025-04-19T00:01:46.377Z","dependency_job_id":"8386e87f-e758-491e-b3b8-277d59d3cd8b","html_url":"https://github.com/module-federation/metro-mf","commit_stats":null,"previous_names":["module-federation/metro-mf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/module-federation/metro-mf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/module-federation%2Fmetro-mf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/module-federation%2Fmetro-mf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/module-federation%2Fmetro-mf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/module-federation%2Fmetro-mf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/module-federation","download_url":"https://codeload.github.com/module-federation/metro-mf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/module-federation%2Fmetro-mf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261505493,"owners_count":23169050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-23T15:37:08.276Z","updated_at":"2025-06-23T15:37:15.599Z","avatar_url":"https://github.com/module-federation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# metro-mf\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js version 22 (as specified in `.nvmrc`)\n- Corepack\n\nIn case Corepack is not available, you can install it manually:\n\n```bash\nnpm install -g corepack\n```\n\n### Setup Steps\n\n1. Clone the repository with submodules:\n\n```bash\ngit clone --recurse-submodules -j8 git@github.com:module-federation/metro-mf.git\n```\n\n2. Navigate to the project directory:\n\n```bash\ncd metro-mf\n```\n\n3. Enable Corepack and install dependencies in the monorepo:\n\n```bash\ncorepack enable \u0026\u0026 corepack install \u0026\u0026 yarn install\n```\n\n4. Navigate to the Metro submodule:\n\n```bash\ncd external/metro\n```\n\n5. Set the correct Yarn version for Metro and install dependencies:\n\n```bash\nyarn set version 1.22.22 \u0026\u0026 yarn install\n```\n\n## Development\n\nSet the `METRO_FEDERATION_DEV` environment variable in your shell:\n\n```bash\nexport METRO_FEDERATION_DEV=1\n```\n\nThen, run the development servers for both apps:\n\n```bash\nyarn dev\n```\n\n\u003e **Note:** You can freely make changes to both the `module-federation-metro` package (`packages/module-federation-metro`) and the `metro` packages (`external/metro`). The dev server will automatically restart when changes are detected - there's no need to manually build either package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodule-federation%2Fmetro-mf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodule-federation%2Fmetro-mf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodule-federation%2Fmetro-mf/lists"}