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.1.13 to 1.1.14

8

CHANGELOG.md

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

<a name="1.1.14"></a>
## [1.1.14](https://github.com/oclif/plugin-plugins/compare/v1.1.13...v1.1.14) (2018-05-15)
### Bug Fixes
* do not update if only linked plugins ([b7ac0e1](https://github.com/oclif/plugin-plugins/commit/b7ac0e1))
<a name="1.1.13"></a>

@@ -2,0 +10,0 @@ ## [1.1.13](https://github.com/oclif/plugin-plugins/compare/v1.1.12...v1.1.13) (2018-05-11)

7

lib/plugins.js

@@ -88,10 +88,7 @@ "use strict";

async update() {
const plugins = await this.list();
const plugins = (await this.list()).filter((p) => p.type === 'user');
if (plugins.length === 0)
return;
cli_ux_1.default.action.start(`${this.config.name}: Updating plugins`);
await this.yarn.exec(['add', ...plugins
.filter((p) => p.type === 'user')
.map(p => `${p.name}@${p.tag}`)
]);
await this.yarn.exec(['add', ...plugins.map(p => `${p.name}@${p.tag}`)]);
cli_ux_1.default.action.stop();

@@ -98,0 +95,0 @@ }

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

{"version":"1.1.13","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":{},"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":{},"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":{},"args":[{"name":"plugin","description":"plugin to uninstall"}]},"plugins:update":{"id":"plugins:update","description":"update installed plugins","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":[],"flags":{},"args":[]}}}
{"version":"1.1.14","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":{},"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":{},"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":{},"args":[{"name":"plugin","description":"plugin to uninstall"}]},"plugins:update":{"id":"plugins:update","description":"update installed plugins","pluginName":"@oclif/plugin-plugins","pluginType":"core","aliases":[],"flags":{},"args":[]}}}
{
"name": "@oclif/plugin-plugins",
"description": "plugins plugin for oclif",
"version": "1.1.13",
"version": "1.1.14",
"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.ts](https://github.com/oclif/plugin-plugins/blob/v1.1.13/src/commands/plugins.ts)_
_See code: [src/commands/plugins.ts](https://github.com/oclif/plugin-plugins/blob/v1.1.14/src/commands/plugins.ts)_

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

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

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

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

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

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

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

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