You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happens.prisma has @prisma/composer-cli in dependencies, so every project that uses the CLI only for ORM workflows (contract emit, migration plan, db migrate, db verify) installs Composer and its whole deploy toolchain. In our pnpm monorepo:
214 of the app's 727 packages are reachable only through @prisma/composer-cli;
they take ~0.9 GB of a 2.2 GB store. The largest are alchemy (216 MB), @distilled.cloud/aws (205 MB), @cloudflare/workerd-* (144 MB), @distilled.cloud/cloudflare (104 MB) and effect (52 MB);
the build scripts of workerd/sharp have to be reviewed in allowBuilds, since pnpm fails the install otherwise;
Composer's fresh releases need minimumReleaseAgeExclude entries;
Versions:
prisma@8.0.0-rc.17,@prisma/orm-postgres@8.0.0-rc.13, pnpm 12.5.1, macOS arm64.What happens.
prismahas@prisma/composer-cliindependencies, so every project that uses the CLI only for ORM workflows (contract emit,migration plan,db migrate,db verify) installs Composer and its whole deploy toolchain. In our pnpm monorepo:@prisma/composer-cli;alchemy(216 MB),@distilled.cloud/aws(205 MB),@cloudflare/workerd-*(144 MB),@distilled.cloud/cloudflare(104 MB) andeffect(52 MB);workerd/sharphave to be reviewed inallowBuilds, since pnpm fails the install otherwise;minimumReleaseAgeExcludeentries;effectrc peer mismatches (see also Prisma ORM RC.13: npm Dependency-Resolution Problem orm#30257).Production images are not affected when built with
--prod, but dev machines, CI and Docker build stages pay the cost.Request. Keep
prismalean for ORM use:@prisma/composer-clian optional or peer dependency that is installed on first use ofdeploy/dev/project/git/service, orRelated: prisma/orm#30242 (CLI dependency weight in tests), prisma/orm#30437 (Composer ↔ engine coupling).