Unlocked packages need to post install and uninstall scripts just like 2GPs do
. Is there any scenario where these features will be brought to unlocked packages?
2GP packages have some great features we could use in our ULPs:
- postInstallScript
- uninstallScript
- postInstallUrl
- releaseNotesUrl
Because of the limitations uninstalling ULPs (permissions sets, active flows, etc.) having the ability to perform some cleanup might help.
Heck, I can't even get rid of an LWC property without tripping over an error, "You can’t remove the following public properties: <propertyName/>, because the component is part of a managed package," when it is part of my unlocked package. To get around it I need to either ignore the field and keep it forever, rename it?, or uninstall/reinstall the package.
撰写回答...
0/9000