shell icon indicating copy to clipboard operation
shell copied to clipboard

`plugin install` is slow and brittle

Open lionelvillard opened this issue 8 years ago • 1 comments

currently it relies on npm install which has its issues.

In order to speed this up, what about trying to download a distribution package stored in github release. The installation steps would be:

  • run npm view <packagename> repository.url version
  • if url exists, try dowloading `/releases/download//shell-plugin.zip
  • if download succeeded, unzip in the user shell plugin
  • otherwise use npm install

Suggestions?

lionelvillard avatar Dec 14 '17 18:12 lionelvillard

what if the plugin has its own package.json dependencies?

starpit avatar Jan 18 '18 18:01 starpit