Fairly boring week in terms of software.
CSS/Design
- More CSS tools! (most of these are coming from Brad Frost)
Schematics
- They are colloquially referred to as Angular Schematics. But you can use them outside of Angular projects. Okta is a good example this.
- When creating your own schematic, there are helper methods that exist deep in the
@schematics/angular/utility
package (for example,addImportToModule
). I wish these were better documented, but whatever, I found them. However, these utility methods are additive.addImportToModule
,addExportToModule
, etc, etc. They dont seem to have the inverse version of these methods.removeImportFromModule
.removeExportFromModule
. etc, etc. After searching around, I could only find one example of someone doing this - the German Aerospace Center Earth Observation Center. They built their own inverse version inspired from Angular’s. It boggles my mind that Angular itself doesn’t already have the removal versions of these methods somewhere. And it also boggles my mind that I legit can only find one removal version in all of Github. This seems like a very common thing to be doing. It seems far more likely that im missing something or putting in the wrong search keys.
Misc
- I like Adam Gordon Bell’s idiots and maniacs dichotomy. A useful self check. Bonus points since it led me down a George Carlin rabbit hole.