-
Notifications
You must be signed in to change notification settings - Fork 8
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
hpal new affects order of deps in package.json #38
Comments
@devinivy I had some trouble reproducing this one. Do you recall the steps / conditions under which you saw this? Really, I just ran |
Sure! On node v10.16.3 / npm 6.13.4 when I run
while I would expect it to look like the dependencies verbatim from the boilerplate repo, currently:
I just determined that I do not see the same issues in node v12, so that is probably why you didn't see any issue. Even though it works in node v12, I can't exactly prove that the current implementation should always work. I'm pretty sure that the behavior here is relying on v8 internals in some way, and that behavior may simply not be well-defined. |
ohhhhh gotcha. ok, cool, that's all totally clear. my bad on not thinking to include my node / npm versions, need to fix my habits there. Thanks for all that! |
Resolved by #41 |
Sometimes the adjustments to the boilerplate's package.json made by
hpal new
cause dependencies to appear in a different order. This isn't a huge deal, but they are no longer alphabetical, and this causes unnecessary conflicts when cherry-picking flavors.The text was updated successfully, but these errors were encountered: