workflow: move to pnpm (#4766)

This commit is contained in:
Evan You
2021-10-08 14:23:30 -04:00
committed by GitHub
parent 3c500e422f
commit 61c5fbd3e3
19 changed files with 7097 additions and 6844 deletions

7
scripts/preinstall.js Normal file
View File

@@ -0,0 +1,7 @@
if (!/pnpm/.test(process.env.npm_execpath || '')) {
console.warn(
`\u001b[33mThis repository requires using pnpm as the package manager ` +
` for scripts to work properly.\u001b[39m\n`
)
process.exit(1)
}