mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-18 13:20:17 -06:00
* fix: add pnpm v4 support in pnpm v4 the option '--loglevel' is no longer available instead '--reporter' is used. * refactor: remove 'v' from PNPM constants for linting * refactor: rename variable * fix: typo in _hasPnpm4orLater Co-Authored-By: Pavan Kumar Sunkara <pavan.sss1991@gmail.com> * refactor: reduce the amount of duplicate code for pnpm version check * refactor: remove return-assignment * refactor: add explicit return value instead of using array access Co-Authored-By: Pavan Kumar Sunkara <pavan.sss1991@gmail.com> * fix: remove return value from checkPnpmVersion * fix: pnpmVersion variable * refactor: cache pnpm version number * refactor: fix function name and revert api break * fix: function call correction * refactor: export hasPnpmVersionOrLater and use this in favor of hasPnpm4OrLater * refactor: move cache getter into getPnpmVersion * refactor: add comment * refactor: remove comment