Show message if update available

Summary: Even easier than manually using `update-notifier`: https://github.com/oclif/plugin-warn-if-update-available

Reviewed By: nikoant

Differential Revision: D21201177

fbshipit-source-id: e0169b41950f44f82c5a96c4452e5793f687ccdd
This commit is contained in:
Pascal Hartig
2020-04-23 10:29:00 -07:00
committed by Facebook GitHub Bot
parent fe09dae237
commit b605f1140c
2 changed files with 41 additions and 2 deletions

View File

@@ -16,6 +16,7 @@
"@oclif/config": "^1",
"@oclif/parser": "^3",
"@oclif/plugin-help": "^2",
"@oclif/plugin-warn-if-update-available": "^1.7.0",
"cli-ux": "^5.4.5",
"fs-extra": "^8.1.0",
"flipper-pkg-lib": "0.39.0",
@@ -62,7 +63,8 @@
"commands": "./lib/commands",
"bin": "flipper-pkg",
"plugins": [
"@oclif/plugin-help"
"@oclif/plugin-help",
"@oclif/plugin-warn-if-update-available"
]
}
}