Skip to content

Don't include studio in prisma/client deps #30134

Description

@tomkitewing

What problem are you trying to solve?

I don't use the studio, so I don't want to install it.

My deploy setup requires having prisma/client in the prod image (so migrate can be run at container boot). Ideally the client package is only what's needed to run the CLI/etc, and doesn't include studio or other fat deps.

Proposed solution

Make studio an optional peer dep.

Alternatives considered

No response

Scope and impact

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions