We have a lightning component along with js controller and apex controller in our managed package patch. Now we need to introduce helper js for this already existent component.
From my perspective since this aura bundle is already in the patch, we could do whatever we want inside bundle boundaries, i.e. package.xml file wouldn't be changed in any way.
Adding .css and .design files to this aura bundle works in the scope of patch. But trying to add even empty helper js fails with the following error:
Cause(UNKNOWN_EXCEPTION): UNKNOWN_EXCEPTION: Managed Package Patch Modification Exception: A change was made to the patch release that will change the visible behavior of the application: Component can't be created because it will be automatically included in the package
Could you please shed some light on patch restrictions regarding aura bundles in particular - why one type of files are allowed, but not the other? Maybe there are some resources with a good description of patch restrictions mentioning concrete type of artifacts (desirably with examples), cause official docs are very general.