BlogDocs

fix(build): filter out absolute paths on windows in depCheckPlugin(#18863)

Merged
Merging
fix/windows-build
(
e9e57a2
) into
main
(
d3d9164
)
+25%
IMPROVEMENTS
1
REGRESSIONS
0
UNTOUCHED
2
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

client generation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::client generation ~50 Models
+25%
1.3 s
1 s
typescript compilation ~50 Models
packages/client/src/__tests__/benchmarks/huge-schema/huge-schema.bench.ts::typescript::typescript compilation ~50 Models
-6%
14.4 ms
15.3 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
+6%
8.6 s
8.1 s

Commits

Click on a commit to change the comparison range
base
main
d3d9164
+25%
fix(build): filter out absolute paths on windows in depCheckPlugin Fixes the following build error on Windows: ``` > @prisma/client@0.0.0 build C:\Users\Alexey\prisma\packages\client > node -r esbuild-register helpers/build.ts unusedDependencies ["@codspeed/benchmark.js-plugin","@swc-node/register","benchmark","resolve","sort-keys","source-map-support","tsd","yo","zx"] missingDependencies ["C:"] C:\Users\Alexey\prisma\packages\client:  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @prisma/client@0.0.0 build: `node -r esbuild-register helpers/build.ts` Exit status 1 ```
e9e57a2
1 year ago
by aqrln
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.