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

@oclif/plugin-plugins

Package Overview
Dependencies
Maintainers
4
Versions
283
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.3.0 to 1.3.1

8

CHANGELOG.md

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

<a name="1.3.1"></a>
## [1.3.1](https://github.com/oclif/plugin-plugins/compare/v1.3.0...v1.3.1) (2018-06-01)
### Bug Fixes
* updating url plugins ([265fb9a](https://github.com/oclif/plugin-plugins/commit/265fb9a))
<a name="1.3.0"></a>

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

9

lib/plugins.js

@@ -118,4 +118,9 @@ "use strict";

cli_ux_1.default.action.start(`${this.config.name}: Updating plugins`);
await this.yarn.exec(['upgrade'], { cwd: this.config.dataDir, verbose: this.verbose });
await this.yarn.exec(['add', ...plugins.map(p => `${p.name}@${p.tag}`)], { cwd: this.config.dataDir, verbose: this.verbose });
if (plugins.find(p => !!p.url)) {
await this.yarn.exec(['upgrade'], { cwd: this.config.dataDir, verbose: this.verbose });
}
const npmPlugins = plugins.filter(p => !p.url);
if (npmPlugins.length) {
await this.yarn.exec(['add', ...npmPlugins.map(p => `${p.name}@${p.tag}`)], { cwd: this.config.dataDir, verbose: this.verbose });
}
for (let p of plugins) {

@@ -122,0 +127,0 @@ await this.refresh(path.join(this.config.dataDir, 'node_modules', p.name));

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

{"version":"1.3.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","usage":"plugins:install PLUGIN...","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":["plugins:add"],"examples":["$ <%= config.bin %> plugins:install <%- 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":"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.3.1","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","usage":"plugins:install PLUGIN...","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":["plugins:add"],"examples":["$ <%= config.bin %> plugins:install <%- 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":"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.3.0",
"version": "1.3.1",
"author": "Jeff Dickey @jdxcode",

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

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

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

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

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

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

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

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

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

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

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