Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 532 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 532 Bytes

Skip Dependency

Note: This is only designed to work with Yarn (v1 / v2 / v3), not NPM, nor pnpm!!!

Note2: This might work with npm and pnpm "overrides", however it is untested.

This is for when some dependency you're pulling in is forcing some other dependency you just don't like. You can use skip-dependency to force the skipping of said dependency.

Just add the following to your package.json:

{
  "resolutions": {
    "package-you-really-want-to-skip": "npm:@favware/skip-dependency@latest"
  }
}