migrate to pnpm monorepo structure
Restructured codebase into pnpm workspace with three packages:
- packages/web: React frontend (from src/)
- packages/functions: Netlify serverless functions (from netlify/functions/)
- packages/shared: Shared TypeScript types for Platform and Import APIs
Changes:
- Created pnpm-workspace.yaml for workspace configuration
- Moved all web app files to packages/web/
- Moved all Netlify functions to packages/functions/src/
- Created packages/shared with Platform enum and ExtensionImportRequest/Response types
- Updated netlify.toml to point to new paths
- Updated root package.json scripts to use pnpm workspace commands
- All dependencies split appropriately between packages
Phase 0 (Monorepo Migration) from PLAN.md completed successfully.
Builds and dev server tested and working.