Socket
Socket
Sign inDemoInstall

@oclif/plugin-plugins

Package Overview
Dependencies
Maintainers
4
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/plugin-plugins - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

8

CHANGELOG.md

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

<a name="1.5.0"></a>
# [1.5.0](https://github.com/oclif/plugin-plugins/compare/v1.4.0...v1.5.0) (2018-06-12)
### Features
* added aliases ([60bbdc0](https://github.com/oclif/plugin-plugins/commit/60bbdc0))
<a name="1.4.0"></a>

@@ -2,0 +10,0 @@ # [1.4.0](https://github.com/oclif/plugin-plugins/compare/v1.3.2...v1.4.0) (2018-06-01)

4

lib/commands/plugins/install.js

@@ -16,3 +16,7 @@ "use strict";

this.plugins.verbose = true;
const aliases = this.config.pjson.oclif.aliases || {};
for (let name of argv) {
if (aliases[name] === null)
this.error(`${name} is blacklisted`);
name = aliases[name] || name;
let p = parsePlugin(name);

@@ -19,0 +23,0 @@ let plugin;

2

oclif.manifest.json

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

{"version":"1.4.0","commands":{"plugins":{"id":"plugins","description":"list installed plugins","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":[],"examples":["$ <%- config.bin %> plugins"],"flags":{"core":{"name":"core","type":"boolean","description":"show core plugins"}},"args":[]},"plugins:install":{"id":"plugins:install","description":"installs a plugin into the CLI\nCan be installed from npm or a git url.\n","usage":"plugins:install PLUGIN...","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":["plugins:add"],"examples":["$ <%= config.bin %> plugins:install <%- config.pjson.oclif.examplePlugin || \"myplugin\" %> ","$ <%= config.bin %> plugins:install https://github.com/someuser/someplugin","$ <%= config.bin %> plugins:install someuser/someplugin"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help"},"verbose":{"name":"verbose","type":"boolean","char":"v"}},"args":[{"name":"plugin","description":"plugin to install","required":true}]},"plugins:link":{"id":"plugins:link","description":"links a plugin into the CLI for development","usage":"plugins:link PLUGIN","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":[],"examples":["$ <%= config.bin %> plugins:link <%- config.pjson.oclif.examplePlugin || \"myplugin\" %> "],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help"},"verbose":{"name":"verbose","type":"boolean","char":"v"}},"args":[{"name":"path","description":"path to plugin","required":true,"default":"."}]},"plugins:uninstall":{"id":"plugins:uninstall","description":"removes a plugin from the CLI","usage":"plugins:uninstall PLUGIN...","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":["plugins:unlink","plugins:remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help"},"verbose":{"name":"verbose","type":"boolean","char":"v"}},"args":[{"name":"plugin","description":"plugin to uninstall"}]},"plugins:update":{"id":"plugins:update","description":"update installed plugins","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help"},"verbose":{"name":"verbose","type":"boolean","char":"v"}},"args":[]}}}
{"version":"1.5.0","commands":{"plugins":{"id":"plugins","description":"list installed plugins","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":[],"examples":["$ <%- config.bin %> plugins"],"flags":{"core":{"name":"core","type":"boolean","description":"show core plugins"}},"args":[]},"plugins:install":{"id":"plugins:install","description":"installs a plugin into the CLI\nCan be installed from npm or a git url.\n","usage":"plugins:install PLUGIN...","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":["plugins:add"],"examples":["$ <%= config.bin %> plugins:install <%- config.pjson.oclif.examplePlugin || \"myplugin\" %> ","$ <%= config.bin %> plugins:install https://github.com/someuser/someplugin","$ <%= config.bin %> plugins:install someuser/someplugin"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help"},"verbose":{"name":"verbose","type":"boolean","char":"v"}},"args":[{"name":"plugin","description":"plugin to install","required":true}]},"plugins:link":{"id":"plugins:link","description":"links a plugin into the CLI for development","usage":"plugins:link PLUGIN","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":[],"examples":["$ <%= config.bin %> plugins:link <%- config.pjson.oclif.examplePlugin || \"myplugin\" %> "],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help"},"verbose":{"name":"verbose","type":"boolean","char":"v"}},"args":[{"name":"path","description":"path to plugin","required":true,"default":"."}]},"plugins:uninstall":{"id":"plugins:uninstall","description":"removes a plugin from the CLI","usage":"plugins:uninstall PLUGIN...","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":["plugins:unlink","plugins:remove"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help"},"verbose":{"name":"verbose","type":"boolean","char":"v"}},"args":[{"name":"plugin","description":"plugin to uninstall"}]},"plugins:update":{"id":"plugins:update","description":"update installed plugins","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help"},"verbose":{"name":"verbose","type":"boolean","char":"v"}},"args":[]}}}
{
"name": "@oclif/plugin-plugins",
"description": "plugins plugin for oclif",
"version": "1.4.0",
"version": "1.5.0",
"author": "Jeff Dickey @jdxcode",

@@ -9,5 +9,5 @@ "bugs": "https://github.com/oclif/plugin-plugins/issues",

"@heroku-cli/color": "^1.1.5",
"@oclif/command": "^1.4.32",
"@oclif/command": "^1.4.33",
"chalk": "^2.4.1",
"cli-ux": "^4.6.1",
"cli-ux": "^4.6.2",
"debug": "^3.1.0",

@@ -23,13 +23,13 @@ "fs-extra": "^6.0.1",

"devDependencies": {
"@oclif/config": "^1.6.27",
"@oclif/dev-cli": "^1.13.30",
"@oclif/config": "^1.6.28",
"@oclif/dev-cli": "^1.13.31",
"@oclif/errors": "^1.1.2",
"@oclif/plugin-help": "^2.0.4",
"@oclif/plugin-help": "^2.0.5",
"@oclif/test": "^1.0.9",
"@oclif/tslint": "^1.1.2",
"@types/chai": "^4.1.3",
"@types/fs-extra": "^5.0.2",
"@types/fs-extra": "^5.0.3",
"@types/load-json-file": "^2.0.7",
"@types/mocha": "^5.2.1",
"@types/node": "^10.3.0",
"@types/node": "^10.3.2",
"@types/semver": "^5.5.0",

@@ -42,3 +42,3 @@ "@types/supports-color": "^5.3.0",

"mocha": "^5.2.0",
"ts-node": "^6.0.5",
"ts-node": "^6.1.0",
"tslint": "^5.10.0",

@@ -69,2 +69,5 @@ "typescript": "^2.9.1"

],
"aliases": {
"aliasme": "oclif-debug"
},
"bin": "mycli"

@@ -71,0 +74,0 @@ },

@@ -81,3 +81,3 @@ @oclif/plugin-plugins

_See code: [src/commands/plugins/index.ts](https://github.com/oclif/plugin-plugins/blob/v1.4.0/src/commands/plugins/index.ts)_
_See code: [src/commands/plugins/index.ts](https://github.com/oclif/plugin-plugins/blob/v1.5.0/src/commands/plugins/index.ts)_

@@ -111,3 +111,3 @@ ## `mycli plugins:install PLUGIN...`

_See code: [src/commands/plugins/install.ts](https://github.com/oclif/plugin-plugins/blob/v1.4.0/src/commands/plugins/install.ts)_
_See code: [src/commands/plugins/install.ts](https://github.com/oclif/plugin-plugins/blob/v1.5.0/src/commands/plugins/install.ts)_

@@ -133,3 +133,3 @@ ## `mycli plugins:link PLUGIN`

_See code: [src/commands/plugins/link.ts](https://github.com/oclif/plugin-plugins/blob/v1.4.0/src/commands/plugins/link.ts)_
_See code: [src/commands/plugins/link.ts](https://github.com/oclif/plugin-plugins/blob/v1.5.0/src/commands/plugins/link.ts)_

@@ -156,3 +156,3 @@ ## `mycli plugins:uninstall PLUGIN...`

_See code: [src/commands/plugins/uninstall.ts](https://github.com/oclif/plugin-plugins/blob/v1.4.0/src/commands/plugins/uninstall.ts)_
_See code: [src/commands/plugins/uninstall.ts](https://github.com/oclif/plugin-plugins/blob/v1.5.0/src/commands/plugins/uninstall.ts)_

@@ -172,3 +172,3 @@ ## `mycli plugins:update`

_See code: [src/commands/plugins/update.ts](https://github.com/oclif/plugin-plugins/blob/v1.4.0/src/commands/plugins/update.ts)_
_See code: [src/commands/plugins/update.ts](https://github.com/oclif/plugin-plugins/blob/v1.5.0/src/commands/plugins/update.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