refactor: flatten monorepo structure to backend/ frontend/ devops/

Rename subdirectories for a cleaner single-repo layout:
- website-monitoring-backend/  → backend/
- website-monitoring-frontend/ → frontend/
- website-monitoring-devops/   → devops/

Update all references in package.json scripts, CI workflows,
docker-compose, pre-commit hooks, and documentation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Dennis
2026-03-07 00:25:29 +01:00
parent 4607af8def
commit 50e25e3ee8
253 changed files with 54 additions and 51 deletions
+14 -11
View File
@@ -4,20 +4,23 @@
"private": true,
"description": "Full-stack website monitoring platform with Lighthouse performance auditing",
"scripts": {
"dev:backend": "cd website-monitoring-backend && npm run dev",
"dev:frontend": "cd website-monitoring-frontend && npm run dev",
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
"build:backend": "cd website-monitoring-backend && npm run build",
"build:frontend": "cd website-monitoring-frontend && npm run build",
"setup": "bash dev-setup.sh",
"start": "cd frontend && supabase start && cd .. && concurrently -n db,backend,frontend -c blue,yellow,green \"echo Supabase ready\" \"npm run dev:backend\" \"npm run dev:frontend\"",
"stop": "cd frontend && supabase stop && echo '✅ All services stopped'",
"dev:backend": "cd backend && npm run dev",
"dev:frontend": "cd frontend && npm run dev",
"dev": "concurrently -n backend,frontend -c yellow,green \"npm run dev:backend\" \"npm run dev:frontend\"",
"build:backend": "cd backend && npm run build",
"build:frontend": "cd frontend && npm run build",
"build": "npm run build:backend && npm run build:frontend",
"test:backend": "cd website-monitoring-backend && npm test",
"test:frontend": "cd website-monitoring-frontend && npm test",
"test:backend": "cd backend && npm test",
"test:frontend": "cd frontend && npm test",
"test": "npm run test:backend && npm run test:frontend",
"lint:backend": "cd website-monitoring-backend && npm run lint",
"lint:frontend": "cd website-monitoring-frontend && npm run lint",
"lint:backend": "cd backend && npm run lint",
"lint:frontend": "cd frontend && npm run lint",
"lint": "npm run lint:backend && npm run lint:frontend",
"docker:up": "docker compose -f website-monitoring-devops/docker-compose.yml up --build",
"docker:down": "docker compose -f website-monitoring-devops/docker-compose.yml down",
"docker:up": "docker compose -f devops/docker-compose.yml up --build",
"docker:down": "docker compose -f devops/docker-compose.yml down",
"prepare": "husky"
},
"devDependencies": {