0.0.2 • Published 3 years ago
my-prisma-core-generator v0.0.2
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
- Install this package using:
npm install -D my-prisma-core-generator- Add the generator to the schema
generator core {
provider = "node node_modules/my-prisma-core-generator"
}- Run
npx prisma generateto trigger the generator. This will create acore-tempfolder insrc
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"
}