-
-
Notifications
You must be signed in to change notification settings - Fork 15
Deep merge #1
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
Deep merge #1
Conversation
|
Looking good. Thank you :) |
|
Thanks for merging this quick! 👍 |
|
Hello, since deepmerge has been added, I have the following error :
I don't see any trace of deepmerge in the dependencies of the published package. Does it works for you guys ? |
|
We have added Note that the dependencies are also not correctly listed on other packages like: As a workaround you can probably add I will figure out how to add the dependencies correctly. |
|
Thanks for the quick answer :) I did try to add deepmerge directly to my project, didn't work either. I'll post here if I can find a temporary fix. |
|
There seems to be some issues in package.json. First, there's no |
|
After clearing all node modules and reinstalling everything, I made it work by adding the deepmerge dependency to my project. Still need to fix the published package.json though |
|
I have added |
Currently, having the same key in multiple json files doesn't merge them together. The value from last object having a shared key will be used and will overwrite the values from the other objects under the same key.
This pull request changes this by relying on deepmerge to deeply merge the objects together so that the same key can exist in multiple json files.
Example:
core/en.json
addons/en.json
will result in: