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: rightfully manipulate package json topics for dev:generate:command #335

Conversation

KevinGossentCap
Copy link
Contributor

the existing Object spread merge does not play right here. Replaced by using lodash.defaultsDeep.
defaultsDeep instead of merge to not replace existing keys/comments etc

What does this PR do?

Fixes the modification of topics in package.json in dev:generate:command
it considers anything already existing as the rule but permits adding things (topics)

What issues does this PR fix or reference?

forcedotcom/cli#1805

the existing Object spread merge does not play right here.
Replaced by using lodash.defaultsDeep.
defaultsDeep instead of merge to not replace existing keys/comments etc
@salesforce-cla
Copy link

salesforce-cla bot commented Jun 5, 2023

Thanks for the contribution! Before we can merge this, we need @KevinGossentCap to sign the Salesforce Inc. Contributor License Agreement.

@KevinGossentCap
Copy link
Contributor Author

@mshanemc that's for you :)

@git2gus
Copy link

git2gus bot commented Jun 6, 2023

This issue has been linked to a new work item: W-13544439

@mshanemc mshanemc merged commit 9180975 into salesforcecli:main Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants