Skip to content

tanya-sonker/tanya-sonker.github.io

Repository files navigation

Tanya Sonker Portfolio

This repo is now a React + TypeScript single-page app built with Vite and deployed on GitHub Pages.

Project structure

  • app/src/ — React TSX application source
  • app/public/ — static assets served by Vite
  • app/dist/ — production build output
  • .github/workflows/pages.yml — GitHub Pages deployment workflow

Local development

Use Corepack with pnpm to avoid global pnpm version issues.

corepack enable
corepack pnpm install
corepack pnpm dev

If pnpm dev fails with ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING, use the Corepack-managed command instead:

corepack pnpm dev

Build

corepack pnpm build

Preview

corepack pnpm preview

Deployment

The app is deployed via GitHub Pages from the master branch using the Pages workflow at .github/workflows/pages.yml. The workflow builds the app from app/ and publishes app/dist/.

Notes

  • The app uses BrowserRouter for clean URLs (no # in paths).
  • A 404.html is included in app/public/ that redirects to index.html, preserving the path so React Router can handle it client-side.
  • Static assets remain in app/public/, including CNAME, manifest.json, service-worker.js, images/, icons/, and resume/.

About

portfolio (react spa) installable as a progressive web app

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors