Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Feature request: merge shrinkwrapped version graph into package.json #95

Open
barneycarroll opened this issue Nov 20, 2015 · 1 comment

Comments

@barneycarroll
Copy link

Not sure if this aligns with your vision of correct scope, but I would appreciate a function for merging the actual version graph back into package.json in order to fully lockdown dependencies.

The API would be something like shrinkwrap persist

Nice to haves (further down) the line could involve arguments specifying how locked down you want things (complete / minor / major), or an interactive variation that successively prompts the user for how to resolve individual packages' version diffs.

What do you think?

@Raynos
Copy link
Contributor

Raynos commented Dec 26, 2015

That's actually what npm-shrinkwrap.json is for.

npm already supports the feature you want with an .npmrc where you set save-strict: true and use npm install --save.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants