feat(package): configurable displaying package version for packages marked as private (#1109)

* feat(package): config for enabling package version in private packages

* test(package): refactor package tests
This commit is contained in:
Karol Fuksiewicz
2020-04-28 10:53:30 +02:00
committed by GitHub
parent 8e8519552f
commit eba4d87612
14 changed files with 301 additions and 201 deletions
+6 -5
View File
@@ -1074,11 +1074,12 @@ package, and shows its current version. The module currently supports `npm`, `ca
### Options
| Variable | Default | Description |
| ---------- | ------------ | ---------------------------------------------------------- |
| `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
| `style` | `"bold red"` | The style for the module. |
| `disabled` | `false` | Disables the `package` module. |
| Variable | Default | Description |
| ----------------- | ------------ | ---------------------------------------------------------- |
| `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
| `style` | `"bold red"` | The style for the module. |
| `display_private` | `false` | Enable displaying version for packages marked as private. |
| `disabled` | `false` | Disables the `package` module. |
### Example