I have no idea what a .gjs file is, nor time to learn about them and re-write multiple plugins. This is ridiculous.
What is the point of even having a plugin API if it is as fragile as the one in Discourse? Maintaining plugins for this forum software has been nothing but trouble.