v0.5.2
Patch Changes
-
52bc1adThanks @kimjbstar! - Bumpprettierfrom 2.5.1 to 3.9.6 (and@types/prettierto match) and migrate the generator's
internal formatting calls to prettier 3's async-only API (resolveConfig/formatno longer have
.syncvariants). No change to generated output. Also runsjestwith
NODE_OPTIONS=--experimental-vm-modules— prettier 3's CJS entry point uses a dynamicimport()
internally, which Jest's default VM sandbox rejects without that flag. -
a3f573dThanks @kimjbstar! - Bump@prisma/generator-helper,@prisma/internals,@prisma/client, andprismafrom
5.5.2 to 6.19.3. Deliberately stopping at 6.x rather than 7.x (what dependabot's PR #81
proposed): Prisma 7 requires Node^20.19 || ^22.12 || >=24.0and drops Node 18 entirely,
while this project still supports and tests against Node 18. Prisma 6.19.3 still supports
Node>=18.18.Verified against real
prisma generateruns (postgresql and mongodb fixtures) on both
Node 18.20.8 and 22.23.1 — the generated output is unchanged.Also adds an explicit
DMMF.Documenttype annotation toPrismaConvertor#dmmf's
getter/setter — Prisma 6 restructured DMMF's types across an internal@prisma/dmmf
package boundary that TypeScript's declaration emit can no longer name portably without it
(TS2742), and enablesisolatedModulesin tsconfig.json to silence a ts-jest warning
(TS151002) about thenode16module kind introduced in the prior tsconfig modernization. -
f5d5a3bThanks @kimjbstar! - Modernize tsconfig.json ahead of TypeScript 6/7: replace the removedbaseUrl/
moduleResolution: "node"/suppressExcessPropertyErrors/suppressImplicitAnyIndexErrors/
downlevelIterationoptions withmodule/moduleResolution: "node16"(the two must now match)
and an explicitrootDir. Explicitly pinstrict: falsesince TypeScript 6+ defaults it to
trueand this codebase isn't strict-clean yet. No change to generated output.Note: actually bumping the
typescriptdependency to 7.x is still blocked — TypeScript 7 drops
the JS compiler API thatts-jest/ts-nodeneed, and neither has shipped compatibility yet
(see kulshekhar/ts-jest#5366).typescriptstays on the 5.x line for now.