Ok, aprovechando que esbuild tiene soporte para la propuesta de decoradores (https://github.com/tc39/proposal-decorators), decidí hacer una implementación experimental para registrar las clases de GObject.
Me encanta :3
Pero todo será mejor cuando GJS incorpore soporte oficial, ya que tendremos decoradores más granulares, y no tendremos que meter en un objeto literal todo x3
Me costó bastante armar todo, estuve vaaaaaaaaaaaaaarias horas. Lo bueno es que aprendí unas cuantas cositas nuevas sobre npm.
Por ahora el toolchain es masomenos así:
Flatpak → Meson → npm → esbuild
Flatpak simplemente invoca los correspondientes comandos de Meson. Este, a su vez, configura el proyecto, y llama a npm para que instale todas las dependencias necesarias y que invoque a esbuild. Y por último, esbuild se encarga de tomar todo el código fuente, resolver todos los imports, y generar un único archivo que se instala en `$prefix/share/one.naiara.Aesthetic`.
Lo más bonito de todo es que gracias a usar esbuild, ahora puedo importar los archivos .ui como hacía con gjspack. Incluso puedo usar los alias de TypeScript, o importar paquetes desde npm (siempre y cuando no usen APIs de Node)
Discover Our Bestselling Creations at "Malcom Designs" Shop:
https://www.teepublic.com/user/malcolmdesigns?sort=popular
#decals #tees #throwback #miamivice #quantumleap #timetravel #scifi #ateam #y2k #millenniumbug #aesthetic
I like the new aesthetic of #mastodon that was introduces in some areas in the newst update of its mobile app.
Queen @AmandaMarcotte: "Looking like a normal human being is boring, but being a grotesque version of yourself is a guaranteed way to get people looking. Call it the "car crash" principle of aesthetics."
Or this gem: "He [#Musk] is a #Cybertruck in human form, and that is almost certainly the point."
Queen @AmandaMarcotte: "Looking like a normal human being is boring, but being a grotesque version of yourself is a guaranteed way to get people looking. Call it the "car crash" principle of aesthetics."
Or this gem: "He [#Musk] is a #Cybertruck in human form, and that is almost certainly the point."
Hello everyone, for the cultural people out there: I'm struggling to see the stylistic difference between techno-fascism-dark-MAGA and #lunarpunk; I'm sure they're pretty far apart culturally and politically, but the #aesthetic seems similar to me. Any advice?