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.6.3 to 1.7.0

7

CHANGELOG.md

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

# [1.7.0](https://github.com/oclif/plugin-plugins/compare/v1.6.3...v1.7.0) (2018-10-02)
### Features
* plugins:preinstall hook ([2ba5ef0](https://github.com/oclif/plugin-plugins/commit/2ba5ef0))
## [1.6.3](https://github.com/oclif/plugin-plugins/compare/v1.6.2...v1.6.3) (2018-10-02)

@@ -2,0 +9,0 @@

3

lib/commands/plugins/install.js

@@ -25,2 +25,5 @@ "use strict";

cli_ux_1.default.action.start(`Installing plugin ${chalk_1.default.cyan(this.plugins.friendlyName(p.name))}`);
await this.config.runHook('plugins:preinstall', {
plugin: p
});
plugin = await this.plugins.install(p.name, p.tag);

@@ -27,0 +30,0 @@ }

2

oclif.manifest.json

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

{"version":"1.6.3","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","allowNo":false}},"args":[]},"plugins:install":{"id":"plugins:install","description":"installs a plugin into the CLI\nCan be installed from npm or a git url.\n\nInstallation of a user-installed plugin will override a core plugin.\n\ne.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in the CLI without the need to patch and update the whole CLI.\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","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"plugin","description":"plugin to install","required":true}]},"plugins:link":{"id":"plugins:link","description":"links a plugin into the CLI for development\nInstallation of a linked plugin will override a user-installed or core plugin.\n\ne.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work.\n","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","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"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","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"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","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]}}}
{"version":"1.7.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","allowNo":false}},"args":[]},"plugins:install":{"id":"plugins:install","description":"installs a plugin into the CLI\nCan be installed from npm or a git url.\n\nInstallation of a user-installed plugin will override a core plugin.\n\ne.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in the CLI without the need to patch and update the whole CLI.\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","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[{"name":"plugin","description":"plugin to install","required":true}]},"plugins:link":{"id":"plugins:link","description":"links a plugin into the CLI for development\nInstallation of a linked plugin will override a user-installed or core plugin.\n\ne.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work.\n","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","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"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","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"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","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[]}}}
{
"name": "@oclif/plugin-plugins",
"description": "plugins plugin for oclif",
"version": "1.6.3",
"version": "1.7.0",
"author": "Jeff Dickey @jdxcode",

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

"devDependencies": {
"@oclif/config": "^1.7.6",
"@oclif/config": "^1.8.1",
"@oclif/dev-cli": "^1.18.1",

@@ -25,0 +25,0 @@ "@oclif/errors": "^1.2.1",

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

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

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

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

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

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

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

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

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

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