{"id":19602660,"url":"https://github.com/qiwi/module-federation-manifest-plugin","last_synced_at":"2025-04-27T17:32:18.984Z","repository":{"id":63610232,"uuid":"569119024","full_name":"qiwi/module-federation-manifest-plugin","owner":"qiwi","description":"Webpack plugin to generate manifest about module federation: shared, exposed, remote modules","archived":false,"fork":false,"pushed_at":"2025-02-20T23:53:35.000Z","size":730,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-14T14:07:21.136Z","etag":null,"topics":["federation","ui","webpack"],"latest_commit_sha":null,"homepage":"","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/qiwi.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":"2022-11-22T05:47:42.000Z","updated_at":"2024-12-11T10:53:54.000Z","dependencies_parsed_at":"2025-01-29T03:32:39.318Z","dependency_job_id":"3d0945c7-0b7d-4836-afd2-d59f9e73d93f","html_url":"https://github.com/qiwi/module-federation-manifest-plugin","commit_stats":{"total_commits":38,"total_committers":6,"mean_commits":6.333333333333333,"dds":0.5526315789473684,"last_synced_commit":"108f26ef89211d634fa85d3f8d22c9c01536ddf5"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiwi%2Fmodule-federation-manifest-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiwi%2Fmodule-federation-manifest-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiwi%2Fmodule-federation-manifest-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiwi%2Fmodule-federation-manifest-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qiwi","download_url":"https://codeload.github.com/qiwi/module-federation-manifest-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250808732,"owners_count":21490707,"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":["federation","ui","webpack"],"created_at":"2024-11-11T09:25:21.024Z","updated_at":"2025-04-27T17:32:18.678Z","avatar_url":"https://github.com/qiwi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# module-federation-manifest-plugin\n\n[![CI](https://github.com/qiwi/module-federation-manifest-plugin/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/qiwi/module-federation-manifest-plugin/actions/workflows/ci.yaml)\n[![Maintainability](https://api.codeclimate.com/v1/badges/b393ef93cb69397b2738/maintainability)](https://codeclimate.com/github/qiwi/module-federation-manifest-plugin/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/b393ef93cb69397b2738/test_coverage)](https://codeclimate.com/github/qiwi/module-federation-manifest-plugin/test_coverage)\n[![npm (tag)](https://img.shields.io/npm/v/@qiwi/module-federation-manifest-plugin/latest.svg)](https://www.npmjs.com/package/@qiwi/module-federation-manifest-plugin)\n\n\u003e Webpack plugin to generate manifest about module federation: shared, exposed, remote modules\n\n### Install\n\n```bash\nyarn add -D @qiwi/module-federation-manifest-plugin\nnpm i -D @qiwi/module-federation-manifest-plugin\n```\n\n### Usage\n\nAdd plugin to webpack config. This plugin works together with `ModuleFederationPlugin`. In case of usage without it error will be raised\n\n```typescript\nimport webpack from 'webpack'\nimport path from 'path'\nimport { ModuleFederationManifestPlugin } from '@qiwi/module-federation-manifest-plugin'\n\nexport const config: webpack.Configuration = {\n  plugins: [\n    new webpack.container.ModuleFederationPlugin({\n      /** Your options here */\n    }),\n    new ModuleFederationManifestPlugin({\n      filename: 'manifest.json',\n    }),\n  ],\n}\n```\n\n## Manifest schema\n\nYou can find schema description [here](https://github.com/qiwi/module-federation-manifest-plugin/blob/main/src/main/ts/schema.ts) and real examples in [tests](https://github.com/qiwi/module-federation-manifest-plugin/blob/main/src/test/ts/e2e.spec.ts)\n\n## API\n\n### Hooks\n\n#### onManifestCreated\n\nInvokes after manifest created, but not emitted\n\n```javascript\ncompiler.hooks.compilation.tap('MyPlugin', (compilation) =\u003e {\n  ModuleFederationManifestPlugin.getHooks(compilation).onManifestCreated.tap('MyPlugin', (manifest) =\u003e {\n    console.log(manifest)\n  })\n})\n```\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiwi%2Fmodule-federation-manifest-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiwi%2Fmodule-federation-manifest-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiwi%2Fmodule-federation-manifest-plugin/lists"}