/prisma2keystone

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

Primary LanguageJavaScript

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