check-dependency-version-consistency icon indicating copy to clipboard operation
check-dependency-version-consistency copied to clipboard

Verify behavior when package has dependency on itself

Open bmish opened this issue 2 years ago • 0 comments

Double-check that the behavior is correct.

{
  "name": "foo",
  "dependencies": {
    "foo": "file:./" 
  }
}

Example, an ESLint plugin that has a dependency on itself so that it can run its own lint rules on itself:

  • https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/99bf9b7b5f75d5b7aee056aee62309b5f09e5879/package.json#L52

https://yarnpkg.com/features/protocols

bmish avatar Feb 09 '22 03:02 bmish