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.
pnpm approve-builds
1 parent f528fba commit 9d804aeCopy full SHA for 9d804ae
utils/generateReadme.ts
@@ -39,8 +39,14 @@ See [Vite Configuration Reference](https://vite.dev/config/).
39
40
`
41
42
+ let installCommand = commandFor('install')
43
+ if (packageManager === 'pnpm' && needsNightwatch) {
44
+ // TODO: remove the "for pnpm 10+" note when pnpm 10 is widely adopted
45
+ installCommand += `\npnpm approve-builds # for pnpm 10+`
46
+ }
47
+
48
let npmScriptsDescriptions = `\`\`\`sh
-${commandFor('install')}
49
+${installCommand}
50
\`\`\`
51
52
### Compile and Hot-Reload for Development
0 commit comments