monorepo.tools
nx-dotnet
monorepo.tools | nx-dotnet | |
---|---|---|
26 | 3 | |
278 | 249 | |
1.4% | 1.6% | |
2.7 | 7.7 | |
4 months ago | 10 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
monorepo.tools
-
OneRepo: JavaScript/TS monorepo toolchain for safe, strict, fast development
I'm surprised this isn't getting any attention. Reading the docs, sounds very promising, thanks for creating this! I see Nx, Turbo and Moon being mentioned in passing in [Alternatives & pitfalls](https://onerepo.tools/concepts/why-onerepo/#alternatives--pi...), but a more in-depth comparison would be interesting. At least something that could be a column in the table at the bottom of [monorepo.tools](https://monorepo.tools/#tools-review).
-
Josh: Just One Single History
> I don't think anyone coming from a multi-repo world really understands the full implications of a monorepo until they've worked in a large scale one
That's entirely fair. My sole experience is the one black-sheep monorepo at my own relatively-recently joined company, which is nowhere even close to approaching true large scale.
Genuine question, though - what _are_ the advantages, as you see them (you didn't explicitly say as much, but I'm reading between the lines that you _can_ see some)? Every positive claim I've seen (primarily at https://monorepo.tools/, but also elsewhere) feels either flimsy, or outright false:
* "No overhead to create new projects - Use the existing CI setup" - I'm pretty confident that the amount of DX tooling work to make it super-smooth to create a new project is _dwarfed_ by the amount of work to make monorepos...work...
* "Atomic commits across projects // One version of everything" - this is...actively bad? If I make a change to my library, I also have to change every consumer of it (or, worse, synchronize with them to make their changes at the same time before I can merge)? Whereas, in a polyrepo situation, I can publish the new version of my library, and decoupled consumers can update their consumption when they want to
* "Developer mobility - Get a consistent way of building and testing applications" - it's perfectly easy to have a consistent experience across polyrepos, and or to have an inconsistent one in a monorepo. In fairness I will concede that a monorepo makes a consistent experience more _likely_, but that's a weak advantage at best. Monorepos _do_ make it significantly harder to _deliberately_ use different languages in different services, though, which is a perfectly cromulent thing to permit.
-
What is the difference between monoliths, microservices, monorepos and multirepos?
The section on what monorepo tools should provide is useful if you are planning to set up an enterprise-level monorepo.
-
Contributing to the cause: doing it the open-source way
The next step would be to familiarize yourself with the codebase. Most of the repositories use monorepos for organizing and managing their code. A rule of the thumb here would be to make yourself familiar with what component lies in which place. It is next to impossible to understand the entire codebase at once. For starters, you can:
-
Joys and woes of monorepos
Monorepos are a great concept, especially in environments like Node.js which encourage having many small packages.
- Desenvolvendo APIs fortemente tipadas de ponta a ponta com tRPC
-
Confuse about TypeScript setup in monorepo
You might want to use monorepo tooling like NX, Lerna, or Turborepo to guide you. https://monorepo.tools/ has a list of tools.
- Monorepo Explained
-
Øyvind Berg and John De Goes discuss Bleep, the new config-as-data build tool
This explains it really well: https://monorepo.tools/
-
Good monorepo tooling
Have a look here to get some good context around monorepo tooling and if it’s something you actually need and want to do - https://monorepo.tools Some of the monorepo tooling can be a steep learning curve so you want to really think about the problem you are trying to solve and whether the effort will be worth it
nx-dotnet
- With $8.6M in seed funding, Nx wants to take monorepos mainstream
-
Coming from .NET Core to NestJS - tips?
I worked full stack with .net and angular for a year. I would say that is you think too OOP, you might try to do things that typescript doesn't do well. Like extending one class with multiple base clases. I've been working with Nestjs for one year or so in a personal project and I think it's amazing. You can do simple things like MVC and rest apis with little efforts. You can also work with more complex patterns like DDD and event sourcing pretty much out of the box. Because it is also JavaScript and node you can use a plethora of packages that solve your problems similarly as .net like Automapper, typeorm/mikroorm (entity framework like). In addition to a ton of open source projects that are using nestjs. Check https://github.com/nestjs/awesome-nestjs so you can explore how to get started. I would recommend you to use NX.dev to work your mono repo, it is super powerful and easy to maintain a full node mono repo. And it even has a plug in to add c# .net core projects as well https://github.com/nx-dotnet/nx-dotnet. So you can still leverage on the same tech you already know for more complex things like Identity server.
-
How much down time between switching branches and re-starting app?
This is why DX is so important if you're going to go down the monorepo path. Angular has stuff like Nx (https://nx.dev/using-nx/caching) which helps a ton. I'm not really familiar with any .NET focused monorepo tooling. It looks like there is a .NET plugin for Nx (https://github.com/nx-dotnet/nx-dotnet) but I haven't used it so no clue how well it works..
What are some alternatives?
ember-react-example - Example of invoking React components from an Ember app.
nx-examples - Example repo for Nx workspace
large-monorepo - Benchmarking Nx and Turborepo
dotnet-monitor-ui - This project is created as an easy to access user experience for dotnet-monitor tool which can be found here. dotnet-monitor is on demand tool which can be used on .NET Core applications to get memory dumps, traces and metrics of a running application.
bleep - A bleeping fast scala build tool!
ngc-esbuild - Angular Esbuild Compiler
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
questdb.io - The official QuestDB website, database documentation and blog.
nx-recipes - 🧑🍳 Common recipes to productively use Nx with various technologies and in different setups. Made with ❤️ by the Nx Team
nx-plus - Collection of Nx Community Plugins
gradle-code-style-plugin-example - Custom Gradle Plugin for Unified Static Code Analysis
nx-electron - Electron schematics for nrwl nx platform