duojs / duo

A next-generation package manager for the front-end
3.42k stars 118 forks source link

duo-duplicates(1): should it be a bit smarter? #393

Closed yields closed 9 years ago

yields commented 9 years ago

Just wondering about this, figured i'll ask before i PR this. I'm seeing a lot of dependencies that do the same thing like: defaults, merge, extend etc.. should duo-duplicates(1) warn about those?

stephenmathieson commented 9 years ago

how would you go about doing that? check .description and .keywords?

yields commented 9 years ago

checking .keywords might leak >.<, i was thinking we could just have a list:

[
  "format",
  "fmt",
  "printf",
  "merge",
  "defaults",
  "extends",
  "extend"
]
yields commented 9 years ago

it sucks that there are so many modules that do the same thing haha

yields commented 9 years ago

meh, i think it's the user's job to do this.

stephenmathieson commented 9 years ago

yeah it's probably the dev's job. maybe write a plugin for it, but i wouldn't include it in core.