Skip to content

A simple CLI to generate a starter schema for keystone-6 from a pre-existing prisma schema.

Notifications You must be signed in to change notification settings

brookmg/prisma2keystone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prisma2Keystone

A tool for converting prisma schema to keystone schema typescript

This is a proof of concept. More work is needed

Usage

npx prisma2keystone -f "prisma/model.prisma" -o "output/generated.ts" --enum

Contribution

  • Fork this project
  • Create a new branch with the format
    • feat/{gh_username}/{feat_title} OR
    • fix/{gh_username}/{fix_title}
  • Create a pr to master

About

A simple CLI to generate a starter schema for keystone-6 from a pre-existing prisma schema.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published