Skip to content

Commit 0e65918

Browse files
authored
Merge pull request #1738 from module-federation/docs/universe-readme
docs: Optimize readme content
2 parents c0e61cc + 17e4c30 commit 0e65918

File tree

1 file changed

+23
-35
lines changed

1 file changed

+23
-35
lines changed

README.md

Lines changed: 23 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,39 @@
1-
# ModuleFederation
1+
<p align="center">
2+
<img alt="Module federation Banner" width="260" src="https://github.com/module-federation/universe/assets/27547179/11234712-40fc-4696-a7fd-16e0c631005a">
3+
</p>
24

3-
# Documentation
5+
# Module Federation
46

5-
[module-federation/nextjs-mf](./packages/nextjs-mf)
7+
## 💡 What is Module Federation?
68

7-
[module-federation/node](./packages/node)
9+
- Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications
810

9-
[module-federation/utilities](./packages/utilities)
11+
- Module Federation can be used to split monolithic applications into micro-front-end architectures
1012

11-
[module-federation/typescript](./packages/typescript)
13+
- Module Federation reuses common dependencies between modules as much as possible
1214

13-
[module-federation/storybook-addon](./packages/storybook-addon)
15+
[Learn more](https://module-federation.io/docs/en/mf-docs/0.2/getting-started/)
1416

15-
[module-federation/native-federation-typescript](./packages/native-federation-typescript)
17+
## 🔥 What does universe offer?
1618

17-
[module-federation/native-federation-tests](./packages/native-federation-tests)
19+
The universe repository provides a set of tools to enhance module federation's capabilities. These include:
1820

19-
## Generate an application
21+
- [Next.js Module Federation](./packages/nextjs-mf)
22+
- [Node Module Federation](./packages/node)
23+
- [Storybook addon for Module Federation](./packages/storybook-addon)
24+
- [Native federation typescript](./packages/native-federation-typescript)
25+
- [Utilities](./packages/utilities)
2026

21-
Run `nx g @nx/next:app my-app` to generate an application.
27+
# 🧑‍💻 Community
2228

23-
> You can use any of the plugins above to generate applications as well.
29+
Come and chat with us on [Discord](https://discord.com/invite/T8c6yAxkbv)! The Module federation team and users are active there, and we're always looking for contributions.
2430

25-
When using Nx, you can create multiple applications and libraries in the same workspace.
31+
# 🤝 Contribution
2632

27-
## Generate a library
33+
> New contributors welcome!
2834
29-
Run `nx g @nx/js:lib my-lib` to generate a library.
35+
Please read the [Contributing Guide](https://github.com/module-federation/universe/tree/canary).
3036

31-
> You can also use any of the plugins above to generate libraries as well.
37+
## 🙌 Code of Conduct
3238

33-
Libraries are shareable across libraries and applications. They can be imported from `@module-federation/mylib`.
34-
35-
## Development server
36-
37-
Run `nx serve my-app` for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
38-
39-
## Build
40-
41-
Run `nx build my-app` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
42-
43-
## Running unit tests
44-
45-
Run `nx test my-app` to execute the unit tests via [Jest](https://jestjs.io).
46-
47-
Run `nx affected:test` to execute the unit tests affected by a change.
48-
49-
## Social links
50-
51-
We are excited to announce the new [Discord community](https://discord.gg/T8c6yAxkbv) for Module Federation has been recently launched! This space will be used to discuss and share knowledge about the latest advancements in module federation and how to use it effectively. See you there!
39+
This repo has adopted the Code of Conduct. Please check [Code of Conduct](./CODE_OF_CONDUCT.md) for more details.

0 commit comments

Comments
 (0)