UNPKG

install-peerdeps

Version:
18 lines (16 loc) 786 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.yarn = exports.successText = exports.pnpm = exports.npm = exports.errorText = void 0; var _picocolors = _interopRequireDefault(require("picocolors")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } // Some constants so we get an undefined // error instead of a silent typo in case // we mispell one of these const npm = exports.npm = "npm"; const yarn = exports.yarn = "yarn"; const pnpm = exports.pnpm = "pnpm"; // Create prefixes for error/success events const errorText = exports.errorText = _picocolors.default.red(_picocolors.default.bold("ERR")); const successText = exports.successText = _picocolors.default.green(_picocolors.default.bold("SUCCESS"));