refactor: simplify to independent multi-project structure
Removed npm workspace configuration in favor of simple multi-project repository. Each project (web-app, housekeeping) is now completely self-contained. ## Changes - Removed root package.json and package-lock.json - Added VS Code workspace file for better project organization - Updated documentation to reflect independent project structure - Each project manages its own dependencies without workspace linking ## Structure - web-app/: Self-contained Next.js application - housekeeping/: Self-contained DB maintenance scripts - No workspace management or dependency sharing - Monorepo is purely for Git organization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
22
README.md
22
README.md
@@ -19,24 +19,24 @@ All the actions user `withUser` to fetch user ID, which is then used in all the
|
||||
|
||||
# Monorepo Structure
|
||||
|
||||
This project is organized as a monorepo with multiple workspaces:
|
||||
This repository contains multiple independent projects:
|
||||
|
||||
- **web-app**: The main Next.js application for tracking utility bills
|
||||
- **housekeeping**: Database backup and maintenance scripts
|
||||
- **web-app/**: Next.js application for tracking utility bills
|
||||
- **housekeeping/**: Database backup and maintenance scripts
|
||||
|
||||
## Working with Workspaces
|
||||
Each project is self-contained with its own dependencies and package.json.
|
||||
|
||||
From the monorepo root:
|
||||
## Working with Projects
|
||||
|
||||
```bash
|
||||
# Run dev server
|
||||
# Web app
|
||||
cd web-app
|
||||
npm install
|
||||
npm run dev
|
||||
|
||||
# Build the web app
|
||||
npm run build
|
||||
|
||||
# Run database backup (standalone)
|
||||
npm run backup:standalone --workspace=housekeeping
|
||||
# Housekeeping scripts
|
||||
cd housekeeping
|
||||
./db-backup--standalone.sh
|
||||
```
|
||||
|
||||
# Database Backup & Restore
|
||||
|
||||
Reference in New Issue
Block a user