…v-dev
The previous change moved Prisma 7 dev builds of every package from `dev` to `prev-dev`. Only `prisma` needed that: prisma/prisma-cli publishes Prisma 8 under `prisma@dev`, but the `@prisma/*` packages have no Prisma 8 version and only this branch publishes them, so their `dev` tag was never contested. Since that change, `@prisma/*@dev` is stuck on the stale `8.1.0-dev.12` and their dev builds sit on a tag nobody expects.
Dev builds now mirror stable releases. The dev channel's tag is `dev` again, and `getPackageDistTag` maps it to `prev-dev` for `prisma`, as it already maps `latest` to `prev`. `prisma` under `next` is still refused. Every other package keeps the channel's tag. The 7.x version logic is unchanged.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
After this change, a push to
v7publishes:prismaprev-devprev-dev@prisma/*packagesdevprev-devA dry run of
scripts/ci/publish.tson this branch against live npm (nothing published) chose version7.11.0-dev.2, ranpnpm publish --tag devfor the 43@prisma/*packages andpnpm publish --tag prev-devforprisma.Why
#31055 moved Prisma 7 dev builds of every package from
devtoprev-dev. That was only needed forprisma, the one package prisma/prisma-cli also publishes (it ownslatest,devandnextthere). No@prisma/*package has a Prisma 8 version: on npm each haslatestat 7.10.1, and only this branch publishes them. So theirdevtag was never contested, and moving them leftdevstuck on the stale8.1.0-dev.12.Dev builds now follow the same split stable releases already use:
prismaonprev/prev-dev, everything else onlatest/dev. The first push tov7after this merges movesdevon every@prisma/*package to7.11.0-dev.2, with no manual step.How
getPublishChannelreturnsdevfor a push tov7again.getPackageDistTagmaps the run's tag forprismaonly (latesttoprev,devtoprev-dev), then refuses any result that is a tag prisma-cli owns.nextis therefore still refused, and removing a mapping later fails loudly instead of publishing Prisma 7 over Prisma 8.Clean-up on npm, needs npm rights
The one publish between #31055 and this change put a
prev-devtag on the 43@prisma/*packages, at7.11.0-dev.1. Nothing will move it again, so it should be removed. Do not remove it fromprisma.Do not use the
v7-manage-dist-tag.ymlworkflow for this: it covers three packages only, and it would also removeprisma@prev-dev.To install a Prisma 7 dev build:
npm i prisma@prev-dev @prisma/client@dev.Not changed
customDistTagstill applies the tag to every package. The workflow's example value,prev, would move@prisma/*@prevoff 6.19.3. This predates fix(ci): publish v7 dev builds as 7.x under prev-dev, not as 8.1.0-dev.N under dev #31055.8.1.0-dev.1to.12stays on npm.Agent: taliesin-31
🤖 Generated with Claude Code
Summary by CodeRabbit
prismapackage are published underprev, and development builds underprev-dev.@prisma/*packages continue to uselatestfor stable releases anddevfor development builds.v7now use thedevchannel. Theprismapackage does not usenext; that tag remains available for@prisma/*packages.