Skip to content

Add Prisma Postinstall Command #21

Description

@Riya267

Summary:
Automate Prisma Client generation by adding prisma generate to the postinstall script in package.json. This will ensure the client is always up to date after dependencies are installed.

Current Behavior:
Manual prisma generate is required after installing dependencies.

Expected Behavior:
Prisma Client is automatically regenerated after npm install or yarn install.

Solution:
Add prisma generate to the postinstall script in package.json.

Note
For more details on Prisma Client generation, refer to the Prisma documentation.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions