fix: update --interactive for light theme (#7454)

close #7439
This commit is contained in:
Andrey Sitnik
2023-12-24 01:48:19 +01:00
committed by GitHub
parent 8fd4e349a2
commit 619e9ed6f4
2 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
---
"@pnpm/plugin-commands-installation": patch
"pnpm": patch
---
Better support for light themed terminals by the `pnpm update --interactive` command [#7439](https://github.com/pnpm/pnpm/issues/7439).

View File

@@ -238,9 +238,9 @@ async function interactiveUpdate (
return this.styles.primary(this.selected.name)
},
styles: {
dark: chalk.white,
dark: chalk.reset,
em: chalk.bgBlack.whiteBright,
success: chalk.white,
success: chalk.reset,
},
type: 'multiselect',
validate (value: string[]) {