Giuseppe Caruso's blog, built with Build Awesome v4 alpha (the next version of Eleventy). This is a static site: no client-side JavaScript is needed to render a page. The GitHub profile README lives in a separate repository; this README documents the blog.
Use Node 24 (pinned in package.json via Volta) and pnpm 12.10.1. If you use Corepack, run corepack enable before the commands below.
pnpm install --frozen-lockfile
pnpm run start:watch # dev server plus Tailwind CSS watcherOther commands:
pnpm run build # typecheck, compile CSS, clear _site, then build pages pnpm run start # dev server (CSS compiled once; use start:watch when editing CSS) pnpm run lint # TypeScript, ESLint, and Prettier checks pnpm run typecheck # TypeScript only (no emitted JS)
The production build is in _site/. Builds remove previous output first so HTML generated for drafts during local development cannot accidentally be deployed.
buildawesome.config.tsis the native TypeScript configuration; its local image and draft plugins are also TypeScript. Node 24 strips types at runtime, andtsc --noEmitchecks them separately. No transpilation step is needed for build-time TypeScript.- Build Awesome processes Markdown, Nunjucks, HTML, and Liquid in
content/, plus.11ty.tstemplates (seecontent/robots.11ty.ts). Data in_data/andcontent/**/*.11tydata.jsremains JavaScript. Layouts and includes are in_includes/. public/css/tailwind.cssis compiled by Tailwind into the trackedpublic/css/index.css. Thepublic/directory is copied to the output. Image optimization uses@11ty/eleventy-imgand Sharp; posts can use the{% image %}shortcode.- Published posts produce the home page, archive, tags, Atom/JSON feeds, and a sitemap. Set
draft: trueon a post to show it during serve/watch while excluding it from production builds. - The
robots.txtoutput is generated by a typed Build Awesome template using the site's canonical URL in_data/metadata.js.
netlify.toml uses Node 24 and runs pnpm run build. The Netlify Lighthouse plugin configuration needs reviewing. If using GitHub Pages, configure and test the /blog/ project-site path prefix before deploying; the upstream starter's GitHub Pages script was removed because its paths are incorrect for this repo. Build Awesome v4 is still an alpha; preview the output before publishing.
See Build Awesome's TypeScript docs for configuration and .11ty.ts template details, and UPGRADE_PLAN.md for remaining release work.