pnpm / supi

Fast, disk space efficient installation engine. Used by pnpm
MIT License
24 stars 5 forks source link

feat: specify linked deps in shrinkwrap.yaml #51

Closed zkochan closed 6 years ago

zkochan commented 6 years ago

We need info about linked packages to make pnpm recursive commands more deterministic. With this changes, when packages are linked in, the shrinkwrap.yaml file of the target package is updated. For example, foo is linked into bar, shrinkwrap.yaml of bar will be:

dependencies:
  foo: link:../foo
registry: 'https://registry.npmjs.org/'
shrinkwrapMinorVersion: 4
shrinkwrapVersion: 3
specifiers: {}

TODO: