mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-11 17:42:43 -04:00
5
.changeset/tame-spoons-provide.md
Normal file
5
.changeset/tame-spoons-provide.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/list": patch
|
||||
---
|
||||
|
||||
Don't use inverse as it doesn't look good in all consoles.
|
||||
@@ -130,7 +130,7 @@ function printLabel (getPkgColor: GetPkgColor, node: PackageNode) {
|
||||
if (node.isSkipped) {
|
||||
txt += ' skipped'
|
||||
}
|
||||
return node.searched ? chalk.bold.inverse(txt) : txt
|
||||
return node.searched ? chalk.bold(txt) : txt
|
||||
}
|
||||
|
||||
function getPkgColor (node: PackageNode) {
|
||||
|
||||
@@ -19,7 +19,7 @@ const DEV_DEPENDENCIES = chalk.cyanBright('devDependencies:')
|
||||
const OPTIONAL_DEPENDENCIES = chalk.cyanBright('optionalDependencies:')
|
||||
const UNSAVED_DEPENDENCIES = chalk.cyanBright('not saved (you should add these dependencies to package.json if you need them):')
|
||||
|
||||
const highlighted = chalk.bold.inverse
|
||||
const highlighted = chalk.bold
|
||||
|
||||
const fixtures = path.join(__dirname, '../../../fixtures')
|
||||
const fixture = path.join(fixtures, 'fixture')
|
||||
|
||||
Reference in New Issue
Block a user