Skip to content

swisscom/TypeORM-To-Prisma-Codemod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeORM to Prisma Codemod

This codemod helps you migrate your NestJS application from TypeORM to Prisma ORM with minimal manual effort. It automatically transforms repository patterns, query operations, and module structures following best practices from the Prisma team.

Warning

This repository is under active development and not yet ready for production use.

Features

  • 🔄 Transforms TypeORM repository patterns to Prisma Client queries
  • 🧩 Handles common query operations (find, create, update, delete)
  • 📊 Provides examples for complex query builder transformations
  • 🔧 Includes NestJS-specific PrismaModule and PrismaService implementations
  • 📝 Comprehensive migration guide with examples for common patterns

Getting Started

Follow our detailed migration guide to convert your application step by step.

About

A comprehensive codemod for automatically migrating NestJS applications from TypeORM to Prisma.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%