Skip to content

Detect and copy npm-shirkwrap file if present#193

Merged
dbaeumer merged 3 commits intomicrosoft:masterfrom
XVincentX:master
May 5, 2017
Merged

Detect and copy npm-shirkwrap file if present#193
dbaeumer merged 3 commits intomicrosoft:masterfrom
XVincentX:master

Conversation

@XVincentX
Copy link
Member

This PR, when a shrinkwrap file is provided as argv[5] and this exist, will make sure that file gets copied so I can lock down my dependencies in both client and server installations and have a 100% reproducible environment in my local development experience.

This should become a best practise, worth mentioning in the documentation.

@msftclas
Copy link

@XVincentX,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

1 similar comment
@msftclas
Copy link

@XVincentX,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@dbaeumer
Copy link
Member

Great idea.

@dbaeumer
Copy link
Member

dbaeumer commented Apr 27, 2017

@XVincentX I reviewed the code and a couple of comments:

  • to keep things consisted I think the shrink wrap file should be resolved as well (as is the package.json on line 23)
  • the dest var must be adjusted. Right now the shrink wrap file is copied over the package.json file. Is this on purpose.

@XVincentX
Copy link
Member Author

@dbaeumer You were right on both comments. I should have fixed these now.

@dbaeumer
Copy link
Member

dbaeumer commented May 5, 2017

Thanks. Will merge.

@dbaeumer dbaeumer merged commit b8a9a3b into microsoft:master May 5, 2017
@XVincentX
Copy link
Member Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants