[AskJS] Are there any tools to help automatically update imports when splitting typescript libraries in a Monorepo?

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

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. Subsecond

    A jQuery-like syntax for typescript codemod.

    Someone posted a really ergonomic one here a few months ago inspired by the jQuery API (don't knock it, it works well for ASTs): Subsecond.

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS logo
  3. jscodeshift

    A JavaScript codemod toolkit.

    If that isn't enough or you find issues with it, the current de-facto standard for codemods is jscodeshift. You'll write more code, but at least you only have to write it once.

  4. node-trucker

    import-aware file management and dependency analysis for javascript

    I've found https://github.com/davidmfoley/node-trucker to be brilliant for things like this, I use it to move the files and it updates all the imports.

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

  • From React to TypeScript, Simplifying Migration with ts-migrate

    2 projects | dev.to | 29 Jun 2024
  • How to Do a TypeScript Conversion: an opinionated take on gradual conversions

    2 projects | news.ycombinator.com | 4 Nov 2023
  • [AskJS] Can anyone recommend a test runner with ESM and Custom Loader Support?

    3 projects | /r/javascript | 11 Jun 2023
  • Declaring static json imported "as const"

    1 project | /r/typescript | 20 Feb 2023
  • How We Migrated from Javascript and Flow to TypeScript at Osome

    4 projects | dev.to | 23 Apr 2022

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?