Skip to content

Commit

Permalink
Merge pull request #29830 from storybookjs/jeppe/fix-bench-rnw
Browse files Browse the repository at this point in the history
Benchmarks: Fix `@storybook/react-native-web` failing to benchmark
  • Loading branch information
yannbf authored Dec 6, 2024
2 parents ed4fb2d + a16f085 commit 10c4bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bench/bench-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ export const benchPackage = async (packageName: PackageName) => {
2
)
);

const npmInstallResult = await x(
'npm',
`install --registry http://localhost:6001 --omit peer --json`.split(' '),
// --force to ignore peer dependency warnings, we aren't installing peer dependencies anyway
`install --registry http://localhost:6001 --omit peer --json --force`.split(' '),
{
nodeOptions: { cwd: tmpBenchPackagePath },
}
Expand Down

0 comments on commit 10c4bfa

Please sign in to comment.