Skip to content

Instantly share code, notes, and snippets.

@sarahbethfederman
Last active September 21, 2020 05:22
Show Gist options
  • Save sarahbethfederman/836fe1b7e50d86cf4ea3ed77dab1a4e3 to your computer and use it in GitHub Desktop.
Save sarahbethfederman/836fe1b7e50d86cf4ea3ed77dab1a4e3 to your computer and use it in GitHub Desktop.
Yarn-locks-101-1
"pkg-a@<VERSION_RANGE>"
version: version of pkg-a that we resolve to, aka what ends up being bundled
dependencies:
pkg-b: the range that is specified in pkg-a's package.json
"pkg-b@<VERSION_RANGE>"
version: the version that packages depending on pkg-b@<VERSION_RANGE> get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment