intellij-emberjs icon indicating copy to clipboard operation
intellij-emberjs copied to clipboard

Detect addons by package.json keywords

Open dwickern opened this issue 7 years ago • 1 comments

Ember-cli detects addons based on the keywords field in package.json (source):

  "keywords": [
    "ember-addon"
  ],

We currently look for a .ember-cli file in the directory but not all addons have it. For example ember-code-snippet.

dwickern avatar Feb 06 '18 18:02 dwickern

Checking the keywords would certainly be the better option, but it is also a little more complex to code so I used .ember-cli as a good-enough heuristic. Feel free to adjust this if you think it's worth it.

Turbo87 avatar Feb 06 '18 18:02 Turbo87