I tried to create a TypeScript monorepo, I give up.

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

    Smart Monorepos · Fast CI

    More recently I've tried nx (https://nx.dev/) for a project, and I'm finding it really nice. The documentation is little iffy, but there are plenty of YouTube videos on their channel.

  • tsdx

    Zero-config CLI for TypeScript package development

    I've had luck with https://tsdx.io/ for a component library. It's really easy to use and was able to publish to npm (self hosted nexus) pretty seemlessly!

  • 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.

  • apollo-server

    🌍  Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.

    Inspired by the apollo-server repo I used 1. references in the tsconfigs for each dependency (example) 2. Lerna to solve the first problem, which created symlinks under the packages' node_modules (example packages/backend_operations -> ../../../backend_operations)

  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    I was really intrigued by the second point, how they do the path rewriting. I didn't find a way to achieve it using configuration, indeed, the TS community is quite consistent on that tsc doesn't do path rewriting (for example: https://github.com/Microsoft/TypeScript/issues/17611).

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