1.0.0 • Published 5 years ago

resolve-to-empty v1.0.0

Weekly downloads
1
License
WTFPL
Repository
-
Last release
5 years ago

resolve-to-empty

This is an empty package to be used in yarn resolutions. As yarn does not support ignoring some packages installations, this is a hack to do such things by resolving the package you don't want to install to this empty package.

Issue in yarn:

https://github.com/yarnpkg/yarn/issues/4611

At the time of this writing, this package was necessary to do this easily. This might have changed when you're reading this. So please refer to the issue updates in-case of a better way to do it.

Install

yarn add resolve-to-empty

Usage

https://yarnpkg.com/lang/en/docs/selective-version-resolutions/