Skip to content

Commit e2e2665

Browse files
authored
Merge pull request #196 from Quentium-Forks/main
Fix typo for bg-color & add missing green color
2 parents 2a1054c + be22ba8 commit e2e2665

4 files changed

Lines changed: 17 additions & 7 deletions

File tree

README.es.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717

1818
Esta herramienta te permite listar cualquier directorio _node_modules_ que haya en tu sistema, además del espacio que ocupa. Entonces puedes seleccionar los que quieras borrar para liberar espacio. ¡Yay!
1919

20+
## i18n
21+
22+
Nos estamos esforzando por internacionalizar la documentación de Npkill. Aquí tienes una lista de las traducciones disponibles:
23+
24+
- [Español](./README.es.md)
25+
- [Português](./README.pt.md)
26+
2027
## Table of Contents
2128

2229
- [Características](#features)
@@ -132,7 +139,7 @@ npkill --target dist -e
132139
- Muestra el cursor de color magenta... ¡Porque me gusta el magenta!
133140

134141
```bash
135-
npkill --color magenta
142+
npkill --bg-color magenta
136143
```
137144

138145
- Lista los directorios **vendor** en un directorio _projects_, ordenados por tamaño y mostrando el tamaño en gb:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ This tool allows you to list any _node_modules_ directories in your system, as w
2222
We're making an effort to internationalize the Npkill docs. Here's a list of the available translations:
2323

2424
- [Español](./README.es.md)
25+
- [Português](./README.pt.md)
2526
- [Indonesian](./README.id.md)
2627

2728
## Table of Contents
@@ -138,7 +139,7 @@ npkill --target dist -e
138139
- Displays the magenta color cursor... because I like magenta!
139140

140141
```bash
141-
npkill --color magenta
142+
npkill --bg-color magenta
142143
```
143144

144145
- List **vendor** directories in your _projects_ directory, sort by size, and show size in gb:

README.pt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="/docs/npkill-demo-0.10.0.gif" alt="npkill demo GIF" />
1616
</p>
1717

18-
Esta ferramenta permite que você liste as pastas _node_modules_ em seu sistema, bem como o espaço que ocupam. Então você pode selecionar quais deles deseja apagar para liberar espaço!
18+
Esta ferramenta permite que você liste as pastas _node_modules_ em seu sistema, bem como o espaço que ocupam. Então você pode selecionar quais deles deseja apagar para liberar espaço. ¡Yay!
1919

2020
## i18n
2121

@@ -138,7 +138,7 @@ npkill --target dist -e
138138
- Exibe o cursor na cor magenta... porque eu gosto de magenta!
139139

140140
```bash
141-
npkill --color magenta
141+
npkill --bg-color magenta
142142
```
143143

144144
- Listar pastas **vendor** no seu diretório de _projetos_, ordenar por tamanho e mostrar o tamanho em GB:

src/constants/cli.constants.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,11 @@ export const HELP_FOOTER =
110110
'Not all node_modules are bad! Some applications (like vscode, Discord, etc) need those dependencies to work. If their directory is deleted, the application will probably break (until the dependencies are reinstalled). NPKILL will show you these directories by highlighting them ⚠️';
111111

112112
export const COLORS = {
113-
cyan: 'bgCyan',
114-
magenta: 'bgMagenta',
115113
red: 'bgRed',
116-
white: 'bgWhite',
114+
green: 'bgGreen',
117115
yellow: 'bgYellow',
116+
blue: 'bgBlue',
117+
magenta: 'bgMagenta',
118+
cyan: 'bgCyan',
119+
white: 'bgWhite',
118120
};

0 commit comments

Comments
 (0)