large-monorepo
nx
large-monorepo | nx | |
---|---|---|
12 | 347 | |
416 | 22,231 | |
- | 2.5% | |
4.3 | 10.0 | |
14 days ago | about 11 hours ago | |
TypeScript | TypeScript | |
- | 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.
large-monorepo
-
Monorepos - Why Speed Matters
The Nx daemon has seen significant enhancements, notably through the use of Rust to calculate file hashes behind the scenes. This improvement not only speeds up the start-up times but also optimizes performance even without the daemon, especially on CI environments where the daemon isn't used. The benchmark results at this repo showcase the remarkable speed improvements, making Nx competitive with native code solutions while maintaining the accessibility and flexibility of Node.js. Nx is still Node-first, so contributions are easier and only the most performance-critical parts of Nx are native code.
-
Nx - Highlights of 2023
At Nx, we’ve heavily embraced Typescript from the beginning and we’ve been very happy with that decision. Nx also stands as the fastest JS monorepo tool available, demonstrating that adopting TypeScript does not necessarily compromise speed. However, we don't stop here. To push the boundaries further, we started to rewrite the most performance critical and computationally intensive parts of the Nx core in Rust.
-
Nx 16.5 Release!!
You can see our results and the details of the benchmark - and even run the benchmarks for yourself in this repo.
-
Nx 15.8 - Rust Hasher, Nx Console for IntelliJ, Deno, Node and Storybook
Performance is at the core of what we do at Nx. Hence it isn't surprising that Nx is the fastest JS-based monorepo solution out there. We've shown that a couple of times. But every millisecond counts! As such, we decided to experiment with Rust to see whether we could further optimize our project graph creation as well as the hasher function that is used for the computation cache.
-
Reflecting on 2022 - The Year in Review
Speed - we drastically improved the speed of Nx, making it the fastest monorepo solution in the frontend space.
-
Lerna reborn - What's new in v6?
Up until Lerna v4, either the p-map or p-queue npm packages have been used to delegate the task scheduling. With v5.1 we introduced nx as an additional mechanism to schedule tasks. The advantage? Nx has caching built-in, which also gives Lerna caching support, making it lightning fast. A recent benchmark test resulted in Lerna being 2.5x faster than Lage and around 4x faster than Turbo (as of Oct 2022; test it out by yourself).
-
Nx - The fastest growing monorepo solution in the JS ecosystem
Nx is faster than most of the current available alternatives. See the corresponding benchmark repository
-
Lerna 5.1 - New website, new guides, new Lerna example repo, distributed caching support and speed!
Delegating task scheduling to Nx allows to speed up any Lerna workspace in the range of 2-10 times. Check out our public benchmark which compares Lerna with other popular JS based monorepo tools.
-
Nx 14.2 - Angular v14, Storybook update, lightweight Nx and more!
(as always, feel free to reproduce it here)
-
Lerna used to walk, now it can fly!
But let's do some more real "apples-to-apples" comparison of Lerna's speed with useNx enabled. For benchmarking Nx we have set up a repo in the past which we regularly use to measure the speed of new Nx releases with other similar tools on the market such as Lage and Turborepo: https://github.com/vsavkin/large-monorepo. We now added Lerna+Nx (Lerna with useNx enabled) to that repo to measure the impact.
nx
-
👥 Reproducible Nx Workspace with HugeNx’s Conventions
With Nx, you can use the list of presets, but it is hardcoded. There is some flexibility for each with some options, but not enough to generate a more advanced workspace.
-
🍒 Cherry-Picked Nx v18.3 Updates
One notable feature is the ability to remember selected tabs. When you select a specific tab on a page, all other tabs on the page with the same name will also be selected. This selection will persist during your next visit to nx.dev.
-
Pitfalls of Deploying Hono Js App on Vercel
Hono does have a template application for Vercel, but in my case, my requirements were different (aren't they always 😅). I was working in a monorepo (using nx) because I wanted to manage my libs, tests, and examples all together in a single place, instead of having different repos.
- 🍒 Cherry-Picked Nx v18.1 Updates
-
How to setup semantic release with GitHub Actions.
Recently, My coworker is using Nx to automate his workflow, including automated release using semantic version. I found this method quite useful, so I want to re-implement on single GitHub repositories (without Nx).
-
🩹 Nx Crystal Plugin Picking the Essentials
I started a discussion on GitHub concerning that subject: Design Nx Plugin Project Crystal
-
Things I learned while building projects with NX
Nx
- Episode 24/09: Testing without TestBed, SSR & Hydration
-
Announcing AnalogJS 1.0 🚀
We are looking for companies to partner with on the Analog project to support development of the project. Thanks to Snyder Technologies for being an early adopter and promoter of Analog, Nx for joining us as a sponsor, House of Angular, and many other backers of the project.
-
Storybook 8
Additionally, thank you to all our community launch partners across the frontend ecosystem for helping us bring Storybook 8 to the world! Thanks to Chromatic, Figma, ViteConf, Omlet, DivRiots, story.to.design, StackBlitz, UXpin, Nx, Mock Service Worker, Anima, Zeplin, zeroheight, kickstartDS, and Kendo UI.
What are some alternatives?
lage - Task runner in JS monorepos
turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]
form - 🤖 Powerful and type-safe form state management for the web. TS/JS, React Form, Solid Form, Lit Form and Vue Form.
single-spa - The router for easy microfrontends
nx-recipes - 🧑🍳 Common recipes to productively use Nx with various technologies and in different setups. Made with ❤️ by the Nx Team
vite - Next generation frontend tooling. It's fast!
monorepo.tools - Your defacto guide on monorepos, and in depth feature comparisons of tooling solutions.
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
create-react-app - Set up a modern web app by running one command.
nx-labs - A collection of Nx plugins
pnpm - Fast, disk space efficient package manager