$ ❯ CrowderSoup

A website about programming, technology, and life.

npm

Day 6: npm prune

by Aaron Crowder on in Projects

I am TIRED. I don’t have the energy to write any more code, but I didn’t want to miss writing in my blog. That seemed to be the more important part of doing “100 Days of Indieweb” anyway. Today I got to work on making a docker container for a NodeJS (TypeScript) app. I’m using multi-layer builds, so that the final image only has the bare minimum of what it needs to run.

Read more...

Using Husky to Build Hugo Site

by Aaron Crowder on in Site Updates

I’ve been making some efforts to streamline the publishing process for this site. I’ve read about tools like Netlify and Lektor, but I wanted to keep things as close to a basic Hugo site as possible. To that end, I wanted to use git hooks to run hugo whenever I ran git commit. That way to publish a new post I simply had to write it in markdown, save, commit and push.

Read more...