Skip to content

Detect and copy npm-shirkwrap file if present - #193

Merged
Dirk Bäumer (dbaeumer) merged 3 commits into
microsoft:masterfrom
XVincentX:master
May 5, 2017
Merged

Dirk Bäumer (dbaeumer) merged 3 commits into
microsoft:masterfrom
XVincentX:master

Conversation

@XVincentX

Copy link
Copy Markdown

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

Vincenzo Chianese (@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

Vincenzo Chianese (@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
Copy Markdown
Member

Great idea.

@dbaeumer

Dirk Bäumer (dbaeumer) commented Apr 27, 2017 •

Copy link
Copy Markdown
Member

Vincenzo Chianese (@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
Copy Markdown
Author

Dirk Bäumer (@dbaeumer) You were right on both comments. I should have fixed these now.

@dbaeumer

Copy link
Copy Markdown
Member

Thanks. Will merge.

@dbaeumer
Dirk Bäumer (dbaeumer) merged commit b8a9a3b into microsoft:master May 5, 2017
@XVincentX

Copy link
Copy Markdown
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