Avatar for the prisma user
prisma
prisma
BlogDocsChangelog

fix(internals): support all yarn versions in isYarnUsed

#18982Merged
Comparing
fix/yarn-berry-detection
(
e7e334f
) with
main
(
61caee9
)
CodSpeed Performance Gauge
-6%
Improvements
0
Regressions
0
Untouched
3
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
CodSpeed Performance Gauge
-2%
1.2 s
1.2 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
CodSpeed Performance Gauge
-7%
10.7 ms
11.5 ms
client generation 100 models with relations
packages/client/src/__tests__/benchmarks/lots-of-relations/lots-of-relations.bench.ts::typescript::client generation 100 models with relations
CodSpeed Performance Gauge
-10%
8.2 s
9.1 s

Commits

Click on a commit to change the comparison range
Base
main
61caee9
-6%
fix(internals): support all yarn versions in isYarnUsed Follow-up to <https://github.com/prisma/prisma/pull/18976>. `ni` returns either `yarn` or `yarn@berry` depending on the yarn version.
e7e334f
2 years ago
by aqrln
© 2025 CodSpeed Technology
Home Terms Privacy Docs