monorepo.tools VS wireit

Compare monorepo.tools vs wireit and see what are their differences.

monorepo.tools

Your defacto guide on monorepos, and in depth feature comparisons of tooling solutions. (by nrwl)

wireit

Wireit upgrades your npm/pnpm/yarn scripts to make them smarter and more efficient. (by google)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
monorepo.tools wireit
26 15
278 5,321
1.4% 0.5%
2.7 8.9
4 months ago 7 days ago
TypeScript TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of monorepo.tools. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-18.
  • OneRepo: JavaScript/TS monorepo toolchain for safe, strict, fast development
    1 project | news.ycombinator.com | 1 Mar 2024
    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
    3 projects | news.ycombinator.com | 18 Feb 2024
    > 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?
    1 project | dev.to | 2 Feb 2024
    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
    3 projects | dev.to | 24 Dec 2023
    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
    3 projects | dev.to | 18 Nov 2023
    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
    3 projects | dev.to | 10 Oct 2023
  • Confuse about TypeScript setup in monorepo
    1 project | /r/typescript | 4 Oct 2023
    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
    1 project | news.ycombinator.com | 26 Jul 2023
  • Øyvind Berg and John De Goes discuss Bleep, the new config-as-data build tool
    3 projects | /r/scala | 7 Jun 2023
    This explains it really well: https://monorepo.tools/
  • Good monorepo tooling
    1 project | /r/devops | 5 Jun 2023
    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

wireit

Posts with mentions or reviews of wireit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-23.
  • Wireit – Google's Alternative to TurboRepo, NX
    1 project | news.ycombinator.com | 1 Jan 2024
  • Wireit: Upgrade your NPM scripts to make them smarter and more efficient
    1 project | news.ycombinator.com | 23 Oct 2023
  • Yarn 4.0
    10 projects | news.ycombinator.com | 23 Oct 2023
    npm workspaces plus Wireit works far better than Lerna, in my experience.

    https://github.com/google/wireit

    Wireit's ability to specify actual script dependencies, do caching (and on Github actions), and it's long-running service script support make it much more useful and comprehensive than Lerna.

    I agree that this should be built into npm. There's an RRFC for it here: https://github.com/npm/rfcs/issues/706

  • We built the fastest CI in the world. It failed
    11 projects | news.ycombinator.com | 12 Sep 2023
    I must admit I'm a bigger fan of the wireit[0] approach, the only pause I have is its a Google project, my temptation is to fork it. The code isn't terribly complex

    My biggest complaint with NX is: lack of a sane API for plugins, and it has more overhead than I'd care for. For the amount of complexity that NX has, I'd rather use Rush[1] which gives you everything NX does. My only complaint with Rush is that its development is really slow going, they really need to focus up on Rush plugins (they're good, but still experimental, and I'd love to see them clean up how `autoinstalls` work to be more intutive)

    I'm on the fence about turbo from Vercel

    [0]: https://github.com/google/wireit

    [1]: https://rushjs.io/

  • Turbowatch – Extremely fast alternative to Nodemon
    7 projects | /r/javascript | 13 Mar 2023
    To further derail the conversation there's also https://github.com/google/wireit
  • With $8.6M in seed funding, Nx wants to take monorepos mainstream
    5 projects | /r/javascript | 17 Nov 2022
    There's also wireit made by Google which pairs well with Yarn/NPM workspaces
  • What are your thoughts on Wireit?
    1 project | /r/learnjavascript | 29 Sep 2022
    Google recently anounced wireit, a program that runs multiple NPM scripts that depend on one another. Combined with NPM Workspaces, it enables monorepo workflows that previously required tools like Yarn and Pnpm.
  • Best Practices for TypeScript Monorepo
    11 projects | news.ycombinator.com | 25 Aug 2022
    etc.

    where a bunch of related projects live top-level in a repo. Each project has a packages folder that includes the core implementation, as well as demos, framework-specific adaptors, etc.

    In each package's package.json, I have a series of commands (convert the TS to JS, make a bundle, deploy to Firebase, etc.). Each command can depend on another, either in the same project or anywhere else in the file hierarchy.

    This provides two benefits:

    1. Iterating across packages is faster, because I don't have to worry about making sure each package rebuilds in the right order if I make a change in a library.

    2. Filesystem concerns are separated: rollup only needs to worry about bundling, and it only needs to bundle web-facing projects. The only tool my libraries need is tsc.

    (Using TypeScript and Rollup together is kind of a pain in the ass because you have to fiddle with picking the right TS plugin and configuring it. This is also often the long pole on doing a Rollup version upgrade. Decoupling the two makes Rollup way simpler/easier/nicer to use, which makes wireit awesome even if you don't have multiple packages.)

    Here's a snippet from one of my package.jsons. They basically all look like this. (start is complicated because of https://github.com/google/wireit/issues/33. When that's resolved, it will be as simple as the others.)

        "scripts": {
  • Ask HN: Anyone Here Use Bazel for Front End (Vue, TypeScript) Monorepos?
    2 projects | news.ycombinator.com | 23 Jun 2022
    Hi HN!

    I have been doing over month long of research in terms of figuring out the best way to manage a growing monorepo. We are trying to consolidate much of our frontend code base into a monorepo, managed by pnpm workspaces, to consolidate dependency management and take advantage of tool (as well as other code sharing benefits) of monorepos that are a good fit for us.

    To that end, I'm looking to understand if anyone has used Bazel extensively for managing monorepos.

    I want to understand how easy it is to configure Bazel, how easy it is to use Bazel, especially newer developers (particularly self discovery of the toolset), how easy it is to maintain it, and how much burden the tool has placed on developers. We really are looking for a tool that is largely self sufficient for the purpose.

    Main features we care about:

    - Maintainability: is it is to maintain (updates etc)

    - Extensibility: how extensible is it? more importantly, how easily can it be extended?

    - Built in watch mode that understands its dependency graph for each task, and can run them simultaneously

    - Works with pnpm / npm workspaces natively

    - Stream based output: e.g. if running multiple tasks it interleaves them appropriately, even better if they're labeled and color coded

    - Dependency graph tracking. IE: if I run build for a package, it understands that it may have dependencies that need to be built first.

    - Able to run tasks arbitrarily on a "per package" process, potentially

    Now, after mentioning all that, I realize, by reading the docs, in theory Bazel supports all this and has lots of feature headroom for growing features over time which I like, however, I've read mixed things about it, but not all of the sources I've read so far are "up to date" (some articles about people adopting Bazel are years old now) and I wanted to get a more accurate picture of what is going on here.

    Alternatively, I'm open minded to looking at a different set of tools

    For context I've done alot of research and experimentation with the follow:

    - nx[0]

    - rush[1]

    - wireit[2]

    - turbo[3]

    We've settled on, for now `wireit` in part because it has a really good watch mode feature that `nx` does not (nx doesn't have a built in watch mode for your task runner, it relies on the plugin / script to handle it, which was really problematic). However, wireit isn't extensible, and I'm not looking to have to manage sub task "phasing" with something like `gulp`. This was an issue with rushjs as well (but rushjs has its own challenges and opinions). While rush is starting to expose a direct `rush-sdk` API, its not really documented and I'm not sure about its stability or best way to go about making rush plugins. They also have a competing task runner called `heft` that I'm not sure about in the light of the `rush-sdk` and its use cases (if someone from the rush team sees this and can clarify about the long term vision and where they're at with it now, I'm all ears)

    tl;dr: I've tried tons of tools, and Bazel seems to check all the boxes, but I'm afraid the complexity will kill us, since we don't have a dedicated tool engineer to oversee it, it has to malleable enough that we can maintain it bit by bit over time

    [0]: https://nx.dev/

    [1]: https://rushjs.io/

    [2]: https://github.com/google/wireit

    [3]: https://turborepo.org/docs

  • Monorepos in JavaScript and TypeScript
    6 projects | news.ycombinator.com | 2 Jun 2022
    In the past, I'd put a "typescript:main" field in package.json and configured my bundler to prefer that field. I gave up at some point - probably when I migrated to rollup.

    Moving forward, I'm going to use wireit for these things. Pure modules get built with tsc. At the highest level (e.g. where it needs to be embedded in a page), make a bundle with rollup.

    wireit has two nice properties: incremental building and file-system-level dependencies. Within a repo, you can depends on ../package-b. However, if you have multiple monorepos that often get used together, you can also depend on ../../../other-package/packages/package-b.

    I've just started with wireit (it was only launched recently), but it seems to be a nice solution to wrangling dependencies between related JS libraries.

    [1] https://github.com/google/wireit

What are some alternatives?

When comparing monorepo.tools and wireit you can also consider the following projects:

ember-react-example - Example of invoking React components from an Ember app.

starters - Starter repo (used by create-tamagui-app)

nx-dotnet

nx - Smart Monorepos · Fast CI

large-monorepo - Benchmarking Nx and Turborepo

turbowatch - Extremely fast file change detector and task orchestrator for Node.js.

bleep - A bleeping fast scala build tool!

lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.

nx-recipes - 🧑‍🍳 Common recipes to productively use Nx with various technologies and in different setups. Made with ❤️ by the Nx Team

orogene - Makes `node_modules/` happen. Fast. No fuss.