This pnpm workspace contains Michael Lo's portfolio and blog, the Slidev talks published on the site, a Vite demo app, and a small TypeScript library. The portfolio is adapted from Chánh Đại's portfolio.
| Path | Purpose |
|---|---|
apps/portfolio |
Next.js site, MDX articles, personal data, shadcn registry, and Playwright tests |
apps/slides |
Slidev source decks and shared presentation assets |
apps/website |
Standalone Vite demo app |
packages/utils |
TypeScript library and its unit tests |
docs/talks |
Standalone talk material |
openspec |
Feature proposals, designs, and specifications |
Use the Node 24 version in apps/portfolio/.nvmrc, the pnpm version in package.json, and the Vite+ CLI. Run these commands from the repository root.
vp install
vp run michaello-portfolio#dev
vp check
vp testThe Portfolio app runs at http://localhost:3000 by default. Use pnpm run dev to start the Vite demo instead. See the Portfolio development guide for configuration, builds, Playwright, and registry generation. See the Slidev guide to preview or build talks.
- Match the surrounding code style. Oxfmt and Oxlint run through
vp check. Runvp check --fixwhen you intend to apply fixes. - Put unit tests in
*.test.tsfiles and Portfolio browser tests inapps/portfolio/e2e/*.spec.ts. - Change shared versions in
pnpm-workspace.yamland update the root lockfile. Check Renovate's rules before major toolchain upgrades. - Use Conventional Commits, for example
fix(portfolio): preserve keyboard focus. Open a PR againstmain, describe the change and verification, link related issues when available, and include screenshots for visual changes.