fix(cli): Exclude source maps from bundled client(#18571)

Merged
Merging
fix/source-maps-cli
into
main
-20%
IMPROVEMENTS
1
REGRESSIONS
1
UNTOUCHED
1
NEW
0
DROPPED
0

Benchmarks

Failing

typescript compilation ~50 Models
Regression
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-20%
48.7 ms
60.8 ms

Passing

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
-7%
6.3 s
6.7 s
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
+41%
61.6 s
43.8 s

Commits

Click on a commit to change the comparison range
fix(deps): update dependency ts-pattern to v4.2.2 (#18545) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
base
df69320
8 months ago by renovate[bot]
-20%
fix(cli): Exclude source maps from bundled client Client, bundled in cli still shipped with source maps. Fixed by using `npm-packlist`, so that contents of bundled client will always be identical to `@prisma/client` pacakge.
8c76627
8 months ago by SevInf
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.