yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.39k stars 2.72k forks source link

Ignore list for upgrade-interactive #3368

Open kirrg001 opened 7 years ago

kirrg001 commented 7 years ago

Do you want to request a feature or report a bug?

feature

What is the current behavior? I have a couple of dependencies to ignore. I've used GK in the past and GK offers a list to ignore dependency updates. It would be great to have a yarn config file to add a list of dependencies to ignore, which won't show up when executing upgrade-interactive.

bestander commented 7 years ago

We have started discussing a possibility to pass a --ignore/--filter list to upgrade/upgrade-interactive command. I think Yarn should have something like that. Maybe worth starting an RFC.

nodkz commented 6 years ago

Also it will be cool to list ignored packages in package.json something like did in greenkeeper https://github.com/greenkeeperio/greenkeeper/issues/47#issuecomment-146474309

{
  // ...
  "greenkeeper": {
    "ignore": ["tap-spec"]
  },
  "yarn": {
    "ignore-upgrade-interactive": ["webpack"]
  }
}
O4epegb commented 5 years ago

Necroposting, but yes, that would be a nice feature to have!

Denjul commented 5 years ago

Would also like to have this feature in yarn

jjoselv commented 3 years ago

It would be awesome to have this!

callmeberzerker commented 3 years ago

1.8K issues X_X

Yea I need this as well :)

kubijo commented 2 years ago

Not post just me too… it would be immensely useful to be able to exclude link:// type deps. So if that case is not to be inherent in the base version, it would be nice to be able to declare the filter in a somewhat more intelligent way in the yarn config file (regexp at least)