feat(nodejs): check node engines version in package.json (#1847)

* check node engines version in package.json

* fix code, following review.
This commit is contained in:
t-mangoe
2020-12-05 20:25:48 +09:00
committed by GitHub
parent 749245bda7
commit 89588a7391
5 changed files with 109 additions and 4 deletions
+1
View File
@@ -1727,6 +1727,7 @@ The module will be shown if any of the following conditions are met:
| `symbol` | `"⬢ "` | A format string representing the symbol of NodeJS. |
| `style` | `"bold green"` | The style for the module. |
| `disabled` | `false` | Disables the `nodejs` module. |
| `not_capable_style` | `bold red` | The style for the module when an engines property in Packages.json does not match the NodeJS version. |
### Variables