Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix npm file references package lock #304

Conversation

franciscocpg
Copy link
Member

Complementing #281 as discussed in #281 (comment).

@HyperBrain
I ended up rewriting the package-lock.json file instead of replacing its content. Are you ok with this approach?

Copy link
Member

@HyperBrain HyperBrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. Reading and writing the lock file should be non-destructive as it is a valid JSON, so this should be ok as workaround for the bug.

@HyperBrain HyperBrain merged commit c0c12d2 into serverless-heaven:fix-npm-file-references Dec 18, 2017
@franciscocpg franciscocpg deleted the fix-npm-file-references-package-lock branch December 18, 2017 16:06
jamesmbourne pushed a commit to jamesmbourne/serverless-webpack that referenced this pull request Oct 15, 2019
* Rebase package-lock

* Fix rebasePackageLock call

* Adding tests for package-lock file rewrite

* Fix comment
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.

None yet

2 participants