generate
Generates the Prisma Client and related artifacts based on your Prisma schema.
Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/reference/project-configuration#targets.
Examples
"prisma-generate": {
"executor": "@nx-tools/nx-prisma:generate",
}You may want to use a custom schema file:
"prisma-generate": {
"executor": "@nx-tools/nx-prisma:generate",
"options": {
"schema": "custom-file.prisma",
}
}Options:
Prop
Type
Last updated on