We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fa83ed commit debc46cCopy full SHA for debc46c
scripts/src/shared/git.ts
@@ -89,6 +89,15 @@ export async function cloneRepo(productName: string, caseName: string) {
89
);
90
91
await runCommand(localRepoPath, 'pnpm link ../scripts');
92
+
93
+ // since rsbuild set hoist-pattern[]=[], we manually delete this config to run cases deps install
94
+ if (productName === 'RSBUILD' && caseName === 'rsbuild-arco-pro') {
95
+ await updateFile(join(localRepoPath, '.npmrc'), content =>
96
+ content.replace(/^\s*hoist-pattern\[\]=\[\].*$/gm, ''),
97
+ );
98
+ await runCommand(localRepoPath, 'pnpm i --force --no-frozen-lockfile');
99
+ }
100
101
await runCommand(
102
localRepoPath,
103
'pnpm i --ignore-scripts --no-frozen-lockfile',
0 commit comments