{"id":13808964,"url":"https://github.com/angular-architects/module-federation-plugin","last_synced_at":"2026-01-06T13:17:57.827Z","repository":{"id":37780764,"uuid":"303003424","full_name":"angular-architects/module-federation-plugin","owner":"angular-architects","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-11T11:19:18.000Z","size":9395,"stargazers_count":777,"open_issues_count":361,"forks_count":220,"subscribers_count":31,"default_branch":"main","last_synced_at":"2025-05-06T02:03:08.641Z","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/angular-architects.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-10-10T22:54:08.000Z","updated_at":"2025-05-01T15:10:50.000Z","dependencies_parsed_at":"2023-12-21T12:10:57.197Z","dependency_job_id":"96151bb0-d3b4-477f-8f81-4664141a54e8","html_url":"https://github.com/angular-architects/module-federation-plugin","commit_stats":{"total_commits":166,"total_committers":13,"mean_commits":12.76923076923077,"dds":0.09638554216867468,"last_synced_commit":"2f83307f653ed76d5ece56284e57237fb4b76c6d"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-architects%2Fmodule-federation-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-architects%2Fmodule-federation-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-architects%2Fmodule-federation-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-architects%2Fmodule-federation-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular-architects","download_url":"https://codeload.github.com/angular-architects/module-federation-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514647,"owners_count":21920340,"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":"2024-08-04T01:01:56.235Z","updated_at":"2026-01-06T13:17:57.768Z","avatar_url":"https://github.com/angular-architects.png","language":"TypeScript","readme":"# @angular-architects/module-federation\n\n- [Readme for Module Federation](./libs/mf/README.md)\n- [Readme for Native Federation](./libs/native-federation/README.md)\n\n## Local Development\n\n\u003cdetails\u003e\n\u003csummary\u003ePlayground App\u003c/summary\u003e\n\nYou can test directly the libraries by using the playground application:\n\n1. Start the `host` application:\n   ```shell\n   npx nx run playground:serve\n   ```\n2. Start the `remote` application:\n   ```shell\n   npx nx run mfe1:serve --port 3001\n   ```\n\nBy using that approach you can test your modifications on the libraries.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eTest Library on external repository\u003c/summary\u003e\n\nIf you want to test the modifications directly on your application, you can follow the steps:\n\n1. Start the local registry [Verdaccio](https://verdaccio.org/):\n   ```shell\n   npx nx run local-registry\n   ```\n2. Then you can publish the libraries by using:\n\n- For Module federation:\n  ```shell\n  npm run publish-local:mf\n  ```\n- For Native federation:\n\n  ```shell\n  npm run publish-local:nf\n  ```\n\n  This will first `build` the libraries and `publish` them to [http://localhost:4873](http://localhost:4873)\n\n3. Then just re-run the `install` on the other repo with you favorite package manager.\n\nBy default, the version from the `package.json` will be used. However, you can provide the version for a specific library by using:\n\n```shell\nnpx nx run native-federation:publish-local -- --ver=17.0.8\n```\n\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003ePublish Libraries\u003c/summary\u003e\n\nFollow these steps to publish all libraries on `npm`:\n\n- For Module federation:\n  ```shell\n  npm run publish:mf\n  ```\n- For Native federation:\n  ```shell\n  npm run publish:nf\n  ```\n  This will first `build` the libraries and `publish` them to `npm registry`.\n\nBy default, the version from the `package.json` will be used and the tag will be `next`. However, you can provide the version and the tag for a specific library by using:\n\n```shell\nnpx nx run native-federation:publish -- --ver=17.0.8 --tag=latest\n```\n\n\u003c/details\u003e\n","funding_links":[],"categories":["TypeScript","Architecture and Advanced Topics"],"sub_categories":["Module Federation"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-architects%2Fmodule-federation-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular-architects%2Fmodule-federation-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-architects%2Fmodule-federation-plugin/lists"}