Skip to content

favware/skip-dependency

Repository files navigation

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": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.2.1.tgz"
  }
}