We have an existing salesforce 2GP package that follow the default directory layout with components in main/default. I would like to break that up into feature folders, but I am not able to move files for existing components and push that. When I move a file, sfdx source tracking sees that as two operations: a delete and an add operation, so it complains that it "Cannot delete managed object". Files for objects that have not yet been published can be moved around freely.
Is there some way to rearrange the file layout of the files in a previously published package?
Please excuse me, if my terminology is inaccurate: I am new in Salesforce land and have inherited this package developed by others.
Thanks, Morten