Another software engineer with a blog
|
||
---|---|---|
.forgejo/workflows | ||
posts | ||
public | ||
scripts | ||
src | ||
.gitignore | ||
.prettierrc | ||
components.json | ||
eslint.config.js | ||
index.html | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
Systems Obscure
My personal blog at https://systemsobscure.net
Pre-build
npm run build:posts
Parse Markdown blog posts in /posts
and generate JSON index which is used to
populate core content.
Development server
npm run build:posts
npm run dev
Build
npm run build:posts
npm run build
This runs vite build
using speedy web compiler for the
transpilation of TSX to JSX. I am using TypeScript so that I can use the
shadcn component library however I don't actually care
about types in this project and all my components are written as JSX. SWC
transpiles very quickly without throwing TS warning and errors.
Deploy
Deployment automated via Forgejo action. See deploy.yml.
Runs the build script, then transfers transpiled dist/
directory to my
Virtual Private Server
from where it is served at
systemsobscure.blog.