@oclif/plugin-warn-if-update-available
Advanced tools
Comparing version 0.0.0 to 1.0.0
@@ -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 --> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11
67
0
135
4
9
1
41
7098
7
15
36
3
3
+ Added@oclif/errors@^1.0.2
+ Addeddebug@^3.1.0
+ Addedfs-extra@^5.0.0
+ Addedhttp-call@^5.1.0
+ Addedsemver@^5.5.0
+ Addedcontent-type@1.0.5(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedfs-extra@5.0.0(transitive)
+ Addedhttp-call@5.3.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-retry-allowed@1.2.0(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedjson-parse-better-errors@1.0.2(transitive)
+ Addedparse-json@4.0.0(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedtunnel-agent@0.6.0(transitive)