Web Builders Digest — Issue 1
Happy November! Here’s a random grab bag of things I found interesting lately. If you find any of these interesting, you can follow me on Mastodon for more random stuff 🙂
In this article:
It supports many things available in npm, like the ability to run packages without explicitly installing them.
I find myself needing to chain some build commands, like when trying to couple Tailwind with create-react-app. Or Parcel with Eleventy. wireit is a small utility to help with that. Here’s an example of chaining
tsc (TypeScript compiler) with
Wireit config is placed in package.json like so.
Now one command can orchestrate the
tsc -> rollup pipeline.
An interesting observation about dev tools: it starts with having many choices, then the best ideas survive, then those ideas move to the core. This toot illustrates it like so.
D2 is a new text-to-chart language, similar to Mermaid and Graphviz. Some nice examples are available on text-to-diagram.com, and it seems D2 can handle some diagrams better than Mermaid or PlantUML. Source on GitHub.
Here’s how D2 compares to another diagram markup language like Mermaid.
There’s also a D2 cheatsheet with some great examples on how to get started.
A script might look like this: