Recommendations for lerna/yarn mono repos?

This page summarizes the projects mentioned and recommended in the original post on /r/typescript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • ts-monorepo

    Template for setting up a TypeScript monorepo

  • FYI I tried renaming packages/bar/index.ts to index.js and adding allowJs: true in its tsconfig.json and tsconfig.build.json and everything works as expected.

  • nx

    Smart Monorepos ยท Fast CI

  • It looks like you are aiming for monorepos of applications and not monorepos of packages. Nx is probably a better fit https://nx.dev/ (the team behind nx took over maintaining lerna)

  • 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 logo
  • nx-examples

    Example repo for Nx workspace

  • It may be worth it for OP to use that command, then use Nx's generators to add some projects to the workspace, and just look at some of the ways it configures projects. There's also the Nx examples repo, but that may be a bit much for somebody who doesn't know anything about the tool yet.

  • create-react-app

    Set up a modern web app by running one command.

  • i am currently of the opinion that the current state of monorepos is not good. look at https://github.com/facebook/create-react-app/issues/1333 for examples of the crazy workarounds that people use.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts