We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e7df3 commit b7d2f84Copy full SHA for b7d2f84
scripts/src/shared/git.ts
@@ -100,8 +100,8 @@ export async function cloneRepo(productName: string, caseName: string) {
100
101
// since rsbuild set hoist-pattern[]=[], we manually delete this config to run cases deps install
102
if (productName === 'RSBUILD' && caseName === 'rsbuild-arco-pro') {
103
- await updateFile(join(localRepoPath, '.npmrc'), content =>
104
- content.replace(/^\s*hoist-pattern\[\]=\[\].*$/gm, ''),
+ await updateFile(join(localRepoPath, 'pnpm-workspace.yaml'), content =>
+ content.replace(/^\s*hoistPattern:\s*\[\].*$/gm, ''),
105
);
106
await runCommand(localRepoPath, 'pnpm i --force --no-frozen-lockfile');
107
}
0 commit comments