Socket
Socket
Sign inDemoInstall

@vtex/cli-plugin-plugins

Package Overview
Dependencies
98
Maintainers
67
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.10.0 to 1.10.1

5

CHANGELOG.md
## [Unreleased]
## [1.10.1] - 2021-01-19
### Fixed
- [Install] Create symlink to `plugin` access `vtex` lib
## [1.10.0] - 2021-01-07
### Changed

@@ -6,0 +9,0 @@ - [List] Move command from `index` to `plugins list`

3

lib/modules/plugins.js

@@ -73,3 +73,3 @@ "use strict";

}
await fse.symlink(path.join(this.config.dataDir, '/client/current'), path.join(this.config.dataDir, '/node_modules/vtex'));
await fse.symlink(this.config.root, path.join(this.config.dataDir, 'node_modules', 'vtex'));
await this.refresh(plugin.root);

@@ -164,2 +164,3 @@ await this.add({ name, tag: range || tag, type: 'user' });

}
await fse.symlink(this.config.root, path.join(this.config.dataDir, 'node_modules', 'vtex'));
cli_ux_1.default.action.stop();

@@ -166,0 +167,0 @@ }

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

{"version":"1.10.0","commands":{"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":"@vtex/cli-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},"force":{"name":"force","type":"boolean","char":"f","description":"yarn install with force flag","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":"@vtex/cli-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:list":{"id":"plugins:list","description":"list installed plugins","pluginName":"@vtex/cli-plugin-plugins","pluginType":"core","aliases":[],"examples":["$ <%- config.bin %> plugins list"],"flags":{"core":{"name":"core","type":"boolean","description":"show core plugins","allowNo":false}},"args":[]},"plugins:source":{"id":"plugins:source","description":"List all plugins from VTEX","usage":"plugins:source PLUGIN","pluginName":"@vtex/cli-plugin-plugins","pluginType":"core","aliases":[],"examples":["$ <%= config.bin %> plugins:source <%- 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":"@vtex/cli-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":"@vtex/cli-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.10.1","commands":{"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":"@vtex/cli-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},"force":{"name":"force","type":"boolean","char":"f","description":"yarn install with force flag","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":"@vtex/cli-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:list":{"id":"plugins:list","description":"list installed plugins","pluginName":"@vtex/cli-plugin-plugins","pluginType":"core","aliases":[],"examples":["$ <%- config.bin %> plugins list"],"flags":{"core":{"name":"core","type":"boolean","description":"show core plugins","allowNo":false}},"args":[]},"plugins:source":{"id":"plugins:source","description":"List all plugins from VTEX","usage":"plugins:source PLUGIN","pluginName":"@vtex/cli-plugin-plugins","pluginType":"core","aliases":[],"examples":["$ <%= config.bin %> plugins:source <%- 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":"@vtex/cli-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":"@vtex/cli-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": "@vtex/cli-plugin-plugins",
"description": "plugins plugin for toolbelt",
"version": "1.10.0",
"version": "1.10.1",
"author": "vtex",

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

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

_See code: [src/commands/plugins/install.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.0/src/commands/plugins/install.ts)_
_See code: [src/commands/plugins/install.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.1/src/commands/plugins/install.ts)_

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

_See code: [src/commands/plugins/link.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.0/src/commands/plugins/link.ts)_
_See code: [src/commands/plugins/link.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.1/src/commands/plugins/link.ts)_

@@ -171,3 +171,3 @@ ## `mycli plugins:list`

_See code: [src/commands/plugins/list.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.0/src/commands/plugins/list.ts)_
_See code: [src/commands/plugins/list.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.1/src/commands/plugins/list.ts)_

@@ -193,3 +193,3 @@ ## `mycli plugins:source PLUGIN`

_See code: [src/commands/plugins/source.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.0/src/commands/plugins/source.ts)_
_See code: [src/commands/plugins/source.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.1/src/commands/plugins/source.ts)_

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

_See code: [src/commands/plugins/uninstall.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.0/src/commands/plugins/uninstall.ts)_
_See code: [src/commands/plugins/uninstall.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.1/src/commands/plugins/uninstall.ts)_

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

_See code: [src/commands/plugins/update.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.0/src/commands/plugins/update.ts)_
_See code: [src/commands/plugins/update.ts](https://github.com/vtex/cli-plugin-plugins/blob/v1.10.1/src/commands/plugins/update.ts)_
<!-- commandsstop -->
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc