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 init
1 parent e1e61c6 commit 6652977Copy full SHA for 6652977
index.js
@@ -304,6 +304,8 @@ async function init() {
304
305
// Instructions:
306
// Supported package managers: pnpm > yarn > npm
307
+ // Note: until <https://github.com/pnpm/pnpm/issues/3505> is resolved,
308
+ // it is not possible to tell if the command is called by `pnpm init`.
309
const packageManager = /pnpm/.test(process.env.npm_execpath)
310
? 'pnpm'
311
: /yarn/.test(process.env.npm_execpath)
0 commit comments