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.
strictPeerDependencies: false
1 parent 9ee8a73 commit d5029cdCopy full SHA for d5029cd
scripts/src/shared/git.ts
@@ -102,6 +102,16 @@ export async function cloneRepo(productName: string, caseName: string) {
102
addContentToPnpmPackages(content, "- 'cases/*'"),
103
);
104
105
+ // Rspress add strictPeerDependencies: false
106
+ if (productName === 'RSPRESS') {
107
+ await updateFile(join(localRepoPath, 'pnpm-workspace.yaml'), content =>
108
+ content.replace(
109
+ /^strictPeerDependencies: true/m,
110
+ 'strictPeerDependencies: false',
111
+ ),
112
+ );
113
+ }
114
+
115
// rename prepare scripts to avoid executing
116
// pnpm link will execute complete process of pnpm install in pnpm v10.
117
await updateFile(
0 commit comments