Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9d804ae

Browse filesBrowse files
haoqunjiangcexbrayat
authored andcommitted
docs: note nightwatch + pnpm 10 users to run pnpm approve-builds after install
1 parent f528fba commit 9d804ae
Copy full SHA for 9d804ae

File tree

1 file changed

+7
-1
lines changed
Filter options

1 file changed

+7
-1
lines changed

‎utils/generateReadme.ts

Copy file name to clipboardExpand all lines: utils/generateReadme.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,14 @@ See [Vite Configuration Reference](https://vite.dev/config/).
3939
4040
`
4141

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+
4248
let npmScriptsDescriptions = `\`\`\`sh
43-
${commandFor('install')}
49+
${installCommand}
4450
\`\`\`
4551
4652
### Compile and Hot-Reload for Development

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.