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 create
npm_config_user_agent
1 parent 750c23d commit 78760eaCopy full SHA for 78760ea
index.ts
@@ -396,8 +396,6 @@ async function init() {
396
397
// Instructions:
398
// Supported package managers: pnpm > yarn > npm
399
- // Note: until <https://github.com/pnpm/pnpm/issues/3505> is resolved,
400
- // it is not possible to tell if the command is called by `pnpm init`.
401
const userAgent = process.env.npm_config_user_agent ?? ''
402
const packageManager = /pnpm/.test(userAgent) ? 'pnpm' : /yarn/.test(userAgent) ? 'yarn' : 'npm'
403
0 commit comments