my-prisma-core-generator
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Prisma Core Modules Generator

Automatically generate Core Modules from your Prisma Schema. This package contains a prisma generator so reference will automatically update everytime you will run prisma generate

Getting Started

  1. Install this package using:
npm install -D my-prisma-core-generator
  1. Add the generator to the schema
generator core {
  provider = "node node_modules/my-prisma-core-generator"
}
  1. Run npx prisma generate to trigger the generator. This will create a core-temp folder in src

Options

Specifying Output

You can specify the out of the core using the output property

generator core {
  provider = "node node_modules/my-prisma-core-generator"
  output = "../../core"
}

Readme

Keywords

none

Package Sidebar

Install

npm i my-prisma-core-generator

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

19.7 kB

Total Files

6

Last publish

Collaborators

  • dharmesh-linearloop