Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@oclif/plugin-warn-if-update-available

Package Overview
Dependencies
Maintainers
2
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/plugin-warn-if-update-available - npm Package Compare versions

Comparing version 0.0.0 to 1.0.0

CHANGELOG.md

2

.oclif.manifest.json

@@ -1,1 +0,1 @@

{"version":"0.0.0","commands":{"hello":{"id":"hello","description":"describe the command here","pluginName":"@oclif/plugin-warn-if-update-available","pluginType":"core","aliases":[],"examples":["$ oclif-example hello\nhello world from ./src/hello.ts!\n"],"flags":{"name":{"name":"name","type":"option","char":"n","description":"name to print"},"force":{"name":"force","type":"boolean","char":"f"}},"args":[{"name":"file"}]}}}
{"version":"1.0.0","commands":{}}
{
"name": "@oclif/plugin-warn-if-update-available",
"description": "warns if there is a newer version of CLI released",
"version": "0.0.0",
"version": "1.0.0",
"author": "Jeff Dickey @jdxcode",

@@ -9,12 +9,18 @@ "bugs": "https://github.com/oclif/plugin-warn-if-update-available/issues",

"@oclif/command": "^1.4.5",
"@oclif/config": "^1.3.60"
"@oclif/config": "^1.3.60",
"@oclif/errors": "^1.0.2",
"debug": "^3.1.0",
"fs-extra": "^5.0.0",
"http-call": "^5.1.0",
"semver": "^5.5.0"
},
"devDependencies": {
"@oclif/dev-cli": "^1.4.2",
"@oclif/plugin-help": "^1.2.1",
"@oclif/test": "^1.0.1",
"@oclif/tslint": "^1.0.2",
"@types/chai": "^4.1.2",
"@types/fs-extra": "^5.0.1",
"@types/mocha": "^5.0.0",
"@types/node": "^9.6.0",
"@types/semver": "^5.5.0",
"chai": "^4.1.2",

@@ -41,7 +47,8 @@ "globby": "^8.0.1",

"oclif": {
"commands": "./lib/commands",
"bin": "oclif-example",
"devPlugins": [
"@oclif/plugin-help"
]
"hooks": {
"init": [
"./lib/hooks/init/check_update"
]
}
},

@@ -48,0 +55,0 @@ "repository": "oclif/plugin-warn-if-update-available",

@@ -14,41 +14,23 @@ @oclif/plugin-warn-if-update-available

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
* [What is this?](#what-is-this)
* [Installation](#installation)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @oclif/plugin-warn-if-update-available
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@oclif/plugin-warn-if-update-available/0.0.0 darwin-x64 node-v9.9.0
$ oclif-example --help [COMMAND]
USAGE
$ oclif-example COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [oclif-example hello [FILE]](#oclif-example-hello-file)
## oclif-example hello [FILE]
# What is this?
describe the command here
This plugin shows a warning message if a user is running an out of date CLI.
```
USAGE
$ oclif-example hello [FILE]
# Installation
OPTIONS
-f, --force
-n, --name=name name to print
Add the plugin to your project with `yarn add @oclif/plugin-warn-if-update-available`, then add it to the `package.json` of the oclif CLI:
EXAMPLE
$ oclif-example hello
hello world from ./src/hello.ts!
```js
{
"name": "mycli",
"version": "0.0.0",
// ...
"oclif": {
"plugins": ["@oclif/plugin-help", "@oclif/plugin-warn-if-update-available"]
}
}
```
_See code: [src/commands/hello.ts](https://github.com/oclif/plugin-warn-if-update-available/blob/v0.0.0/src/commands/hello.ts)_
<!-- commandsstop -->
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc