Live at michaelsavage.ie
Personal site built with React, Typescript, Vite, and @emotion, using eslint for linting. Blog posts written locally with MDX.
Running:
pnpm install
pnpm devWrangler type generation for env typing. 📣 Remember to rerun 'wrangler types' after you change your wrangler.jsonc file.
pnpm cf-typegenTo build this application for production:
pnpm run buildgenerate a manifest for SEO: https://realfavicongenerator.net/
Integrations tests with Playwright:
pnpm exec playwright install
pnpm testStyling with Emotion CSS.
Linting and formatting with Eslint and prettier. Eslint is configured using tanstack/eslint-config. The following scripts are available:
pnpm run lint
pnpm run format
pnpm run checkImport dotenv into the top of the file to get access to env vars. If a ts file, run:
npx tsx scripts/build-mdx.tsotherwise run with node:
node scripts/build-mdx.ts