I so agree with you. But the issue recurses again and again.
If code is good it will surface anyway.
If you want it commercial, don't publish it, just make sure everybody needs it (Facebook is a good example, allegedly written in an
attic by a student, msdos is dubious to this day, but that was allegedly written in a
garage, like the first Apple, but that included the hardware too)
So your choice is basically attic or garage.

That may bring you ahead.
I lost out: I have only a shed in the garden, hardly a mancave, I have an attic but no garage,,,.
(But the Pascal language payed my pension! and a good one. Not rich but affluent.)