All Projects → airbnb → Ts Migrate

airbnb / Ts Migrate

Licence: mit
A tool to help migrate JavaScript code quickly and conveniently to TypeScript

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
shell
77523 projects

Projects that are alternatives of or similar to Ts Migrate

code2pg
Tool to help migrate application code from Oracle to PostgreSQL
Stars: ✭ 18 (-99.58%)
Mutual labels:  migration
typedb-loader
TypeDB Loader - Data Migration Tool for TypeDB
Stars: ✭ 43 (-98.99%)
Mutual labels:  migration
Automigrate
version your SQL schemas with git + automatically migrate them
Stars: ✭ 318 (-92.51%)
Mutual labels:  migration
illustrated-python-3-course
Course materials and handouts for Python 3, an illustrated tour course
Stars: ✭ 60 (-98.59%)
Mutual labels:  migration
Kirchhoff-Seismic-Migration
seismic migration
Stars: ✭ 17 (-99.6%)
Mutual labels:  migration
codemod-v4
codemod cli for antd v4 upgrade
Stars: ✭ 84 (-98.02%)
Mutual labels:  codemod
nomad
simple sql migration tool to save you from going mad
Stars: ✭ 72 (-98.3%)
Mutual labels:  migration
Roomigrant
Automated Android Room ORM migrations generator with compile-time code generation
Stars: ✭ 349 (-91.78%)
Mutual labels:  migration
dbup-cli
Cross platform command line tool that helps you to deploy changes to SQL Server databases
Stars: ✭ 18 (-99.58%)
Mutual labels:  migration
Yii2 Migration
Yii 2 Migration Creator And Updater
Stars: ✭ 262 (-93.83%)
Mutual labels:  migration
server-migration-onprem-to-aws
Simple demonstration on how to Lift & Shift OnPremise workload to AWS 🎓
Stars: ✭ 24 (-99.43%)
Mutual labels:  migration
font-awesome-codemod
⚙️ Font Awesome codemod script
Stars: ✭ 46 (-98.92%)
Mutual labels:  codemod
project-migration-tools
Project Migration tools to help you migrating to IAR Embedded Workbench more efficiently.
Stars: ✭ 36 (-99.15%)
Mutual labels:  migration
medium-to-wordpress-migration
Script to export medium blogs to wordpress rss xml format
Stars: ✭ 15 (-99.65%)
Mutual labels:  migration
Pgloader
Migrate to PostgreSQL in a single command!
Stars: ✭ 3,754 (-11.59%)
Mutual labels:  migration
awesome-codemods
Awesome list of codemods for various languages, libraries and frameworks
Stars: ✭ 98 (-97.69%)
Mutual labels:  codemod
codeigniter-migrate
An easy way to manage database migrations
Stars: ✭ 13 (-99.69%)
Mutual labels:  migration
Ng Metadata
Angular 2 decorators and utils for Angular 1.x
Stars: ✭ 356 (-91.62%)
Mutual labels:  migration
Knex Migrate
Modern database migration toolkit for knex.js
Stars: ✭ 330 (-92.23%)
Mutual labels:  migration
Clickhouse Mysql Data Reader
utility to read mysql data
Stars: ✭ 257 (-93.95%)
Mutual labels:  migration

ts-migrate

ts-migrate is a tool for helping migrate code to TypeScript. It takes a JavaScript, or a partial TypeScript, project in and gives a compiling TypeScript project out.

ts-migrate is intended to accelerate the TypeScript migration process. The resulting code will pass the build, but a followup is required to improve type safety. There will be lots of // @ts-expect-error, and any that will need to be fixed over time. In general, it is a lot nicer than starting from scratch.

ts-migrate is designed as a set of plugins so that it can be pretty customizable for different use-cases. Potentially, more plugins can be added for addressing things like improvements of type quality or libraries-related things (like prop-types in React).

Plugins are combined into migration configs. We currently have two main migration configs:

  • for the main JavaScript → TypeScript migration
  • for the reignore script

These configs can be moved out of the default script, and people can add custom configs with a different set of plugins for their needs.

You can find instructions on how to install and run ts-migrate in the main package. If you find any issues or have ideas for improvements, we welcome your contributions!

Check out the blog post about ts-migrate!

Published Packages

Folder Version Package
packages/ts-migrate npm version ts-migrate
packages/ts-migrate-plugins npm version ts-migrate-plugins
packages/ts-migrate-server npm version ts-migrate-server

Unpublished Packages

Folder Description
packages/ts-migrate-example basic example of usage of the ts-migrate-server with a writing a custom simple plugin

Authors


Brie Bunge

Sergii Rudenko

John Haytko

Elliot Sachs

Joe Lencioni

License

MIT, see LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].