merge-prisma-schema
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

npm version node compatibility license

Merge Prisma Schema

Overview

Merge Prisma Schema is simple tool to merge splitted prisma schema files. It allow to load partial schema from multiple location. The tool contain "validation" and "formatting" steps.

Quick Start Guide

Install with npm install --global merge-prisma-schema. Merge Prisma Schema can be used either through a command line interface with an optional configuration file.

Configuration

You can create config file merge-prisma-schema.config.js or merge-prisma-schema.config.json or put configuration into package.json

name description default
schemas list of schema path []
schemaSearchFolders list of folders to search schemas ["prisma"]
output location to store the merged schema "prisma/schema.prisma"
prismaCli prisma CLI path "npx prisma"

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i merge-prisma-schema

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

24.5 kB

Total Files

17

Last publish

Collaborators

  • justin-martin-dev