-
Notifications
You must be signed in to change notification settings - Fork 78
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
plugin dev overwrites subtopics #1805
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
This issue has been linked to a new work item: W-12058419 |
Hi @mshanemc , I've started to look into this issue because I'm doing a few project plugins and at least I found the origin of the problem. |
Thanks for the help. I did just make a kinda-related change to that code because we bumped into something similar. I don't think it's gonna solve what you found, though, but maybe worth a shot. |
I confirm it's not solving. |
Thanks for the PR! |
Summary
plugin dev is overwriting the first subtopic, rather than appending a new subtopic to the package.json
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
sf dev generate command --name dev:convert:messsages
Expected result
two subtopics (
generate
andconvert
)Actual result
reports a conflict in the package.json
System Information
{
"cliVersion": "@salesforce/cli/1.53.0",
"architecture": "darwin-x64",
"nodeVersion": "node-v18.12.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 1.3.2 (core)",
"@oclif/plugin-commands 2.2.0 (core)",
"@oclif/plugin-help 5.1.16 (core)",
"@oclif/plugin-not-found 2.3.5 (core)",
"@oclif/plugin-plugins 2.1.6 (core)",
"@oclif/plugin-search 0.0.2 (core)",
"@oclif/plugin-update 3.0.3 (core)",
"@oclif/plugin-version 1.1.3 (core)",
"deploy-retrieve 1.6.9 (core)",
"dev 0.3.14 (link) /Users/shane.mclaughlin/eng/plugin-dev",
"env 1.5.8 (core)",
"functions 1.14.2 (core)",
"generate 1.0.30 (core)",
"info 2.2.4 (core)",
"login 1.1.7 (core)",
"settings 1.1.4 (core)",
"sobject 0.0.26 (core)",
"telemetry 2.0.2 (core)",
"trust 2.1.0 (core)"
],
"osVersion": "Darwin 21.6.0",
"shell": "zsh",
"rootPath": "/usr/local/lib/sfdx/sf"
}
The text was updated successfully, but these errors were encountered: