Skip to content

armgit / lyftr

Public Imported from GitHub
0

Self-hosted fitness tracker. Log workouts, track nutrition, and monitor progress. Docker deployment, mobile-friendly.

chore: drop web's broken lint setup and untrack the pre-build design docs

Cawlumm41aa0cebcf79
diff --git a/.gitignore b/.gitignore
index dfc41b3..a4a3ec8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,8 +46,12 @@ tmp/
temp/
*.tmp
-# design docs (keep screenshots for README)
+# design docs (keep screenshots for README). Pre-build planning notes — wireframes,
+# MVP scope, stack bake-offs — stay local: they described intentions, and the code is
+# now the truth. docs/TESTING.md is the exception: it documents how to run the suite
+# and CONTRIBUTING.md links to it, so it stays tracked.
docs/*.md
+!docs/TESTING.md
docs/*.txt
# Local Claude context
diff --git a/README.md b/README.md
index f7fa66f..1312417 100644
--- a/README.md
+++ b/README.md
@@ -89,8 +89,9 @@ Astro · Starlight (docs) — Docker · nginx.
## Contributing
-Bug reports, feature requests, and PRs are welcome — open an issue before large changes. Development
-setup and architecture notes live in [`docs/`](docs/).
+Bug reports, feature requests, and PRs are welcome — open an issue before large changes. Start with
+[CONTRIBUTING.md](CONTRIBUTING.md) for setup and conventions, and [docs/TESTING.md](docs/TESTING.md)
+for how the test suite is organised.
> **Beta** — actively built, expect rough edges and frequent updates. The software equivalent of
> going to the gym for the first time.
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
deleted file mode 100644
index ca427cc..0000000
--- a/docs/ARCHITECTURE.md
+++ /dev/null
@@ -1,303 +0,0 @@
-# Lyfter Architecture
-
-## System Overview
-
-```
-┌─────────────────────────────────────────────────────────┐
-│ USER'S SERVER │
-├─────────────────────────────────────────────────────────┤
-│ │
-│ ┌──────────────┐ ┌──────────────┐ │
-│ │ Mobile App │ │ Web Browser │ │
-│ │ (React Native│───▶│ (React) │ │
-│ │ /Flutter) │ └──────────────┘ │
-│ └──────────────┘ │ │
-│ │ │ │
-│ └────────┬───────────┘ │
-│ │ │
-│ ┌────────▼─────────┐ │
-│ │ REST API │ │
-│ │ (Express/Go) │ │
-│ └────────┬─────────┘ │
-│ │ │
-│ ┌────────▼─────────┐ │
-│ │ Database │ │
-│ │ SQLite (default)│ │
-│ │ or PostgreSQL │ │
-│ └──────────────────┘ │
-│ │
-└─────────────────────────────────────────────────────────┘
-
-External (Optional):
-- USDA Food Database / Open Food Facts API (read-only)
-```
-
-## Backend Architecture
-
-### Go/Gin Stack
-```
-Backend Structure:
-├── main.go # Entry point
-├── config/
-│ └── config.go # Configuration, env loading
-├── routes/
-│ ├── auth.go # Auth endpoints
-│ ├── workouts.go # Workout endpoints
-│ ├── food.go # Food logging endpoints
-│ └── weight.go # Weight tracking endpoints
-├── controllers/
-│ ├── auth.go # Business logic
-│ ├── workouts.go
-│ ├── food.go
-│ └── weight.go
-├── models/
-│ └── models.go # Data structures
-├── middleware/
-│ ├── auth.go # JWT verification
-│ └── error.go # Error handling
-├── db/
-│ ├── sqlite.go # SQLite connection
-│ ├── postgres.go # PostgreSQL connection
-│ └── migrations.go # Schema migrations
-├── services/
-│ ├── auth.go # Auth service
-│ └── food.go # External API calls
-├── utils/
-│ ├── jwt.go # JWT utilities
-│ ├── password.go # Password hashing
-│ └── response.go # JSON response helpers
-├── tests/
-├── go.mod
-├── go.sum
-└── Dockerfile
-
-Tech Stack:
-- Gin (REST framework)
-- sqlite3 library (database)
-- golang-jwt (JWT auth)
-- bcrypt (password hashing)
-- godotenv (env loading)
-- http.Client (external APIs)
-```
-
-### Database Layer
-```
-Default SQLite Config:
-- File: lyfter.db (auto-created)
-- Location: ./data/lyfter.db (mounted volume)
-- No external dependencies
-- Automatic backups via Docker volume
-
-PostgreSQL Option:
-- Via docker-compose.yml override
-- Connection string from env var
-- Same schema, database layer abstraction
-- Better for multiple instances
-```
-
-## Frontend Architecture
-
-### Mobile (React Native/Expo)
-```
-Mobile Structure:
-├── src/
-│ ├── screens/ # Screen components
-│ ├── components/ # Reusable UI components
-│ ├── navigation/ # React Navigation setup
-│ ├── services/ # API client
-│ ├── stores/ # State management (Zustand)
-│ ├── types/ # TypeScript types
-│ ├── utils/ # Helpers
-│ └── App.tsx
-├── app.json
-└── package.json
-
-Key Libraries:
-- React Native / Expo
-- React Navigation (bottom tabs + stack nav)
-- NativeBase (UI components)
-- Zustand (state management)
-- axios (HTTP client)
-- react-query (data fetching/caching)
-```
-
-### Web (React)
-```
-Web Structure:
-├── src/
-│ ├── pages/ # Page components
-│ ├── components/ # Reusable components
-│ ├── layout/ # Layout wrappers
-│ ├── services/ # API client
-│ ├── stores/ # State management
-│ ├── types/ # TypeScript types
-│ ├── hooks/ # Custom hooks
-│ ├── utils/ # Helpers
-│ ├── App.tsx
-│ └── index.css # Tailwind imports
-├── tailwind.config.js
-├── vite.config.ts
-└── package.json
-
-Key Libraries:
-- React 18+
-- Vite (build tool)
-- React Router (navigation)
-- TypeScript
-- Tailwind CSS (styling)
-- Zustand (state management)
-- axios (HTTP client)
-- react-query (data fetching)
-- Chart.js / Recharts (analytics)
-```
-
-## Deployment
-
-### Docker Compose (MVP)
-```yaml
-services:
- backend:
- build: ./backend
- ports: [3000:3000]
- volumes:
- - ./data:/app/data
- - ./logs:/app/logs
- environment:
- - DB_TYPE=sqlite
- - DB_PATH=/app/data/lyfter.db
-
- web:
- build: ./web
- ports: [5173:5173]
- environment:
- - VITE_API_URL=http://localhost:3000
-
-volumes:
- data:
-```
-
-### With PostgreSQL Option
-```yaml
-# docker-compose.prod.yml
-services:
- db:
- image: postgres:15
- volumes:
- - pgdata:/var/lib/postgresql/data
- environment:
- - POSTGRES_DB=lyfter
- - POSTGRES_PASSWORD=<password>
-
- backend:
- environment:
- - DB_TYPE=postgres
- - DB_HOST=db
- - DB_NAME=lyfter
- - DB_PASSWORD=<password>
-
-volumes:
- pgdata:
-```
-
-## API Authentication Flow
-
-```
-1. User Registration
- POST /api/auth/register
- { email, password }
- ↓
- Backend: Hash password, create user
-
-2. Login
- POST /api/auth/login
- { email, password }
- ↓
- Backend: Verify, create JWT token
- Response: { accessToken, refreshToken }
-
-3. Authenticated Requests
- GET /api/workouts
- Header: Authorization: Bearer <accessToken>
- ↓
- Backend: Verify JWT, process request
-
-4. Token Refresh
- POST /api/auth/refresh
- { refreshToken }
- ↓
- New accessToken issued
-```
-
-## Data Flow Examples
-
-### Log Workout
-```
-Mobile/Web UI
- ↓
-POST /api/workouts
-{
- date: "2026-04-18",
- exercises: [
- {
- exerciseId: 1,
- sets: [
- { reps: 8, weight: 275 },
- { reps: 8, weight: 275 },
- { reps: 8, weight: 275 },
- { reps: 8, weight: 275 }
- ]
- }
- ]
-}
- ↓
-Backend: Validate, insert into DB
- ↓
-Response: 201 Created { workoutId, ... }
- ↓
-UI: Update local state, refresh workout list
-```
-
-### Fetch Weight Trend
-```
-Mobile/Web UI
- ↓
-GET /api/weight?startDate=2026-03-18&endDate=2026-04-18
- ↓
-Backend: Query SQLite/PostgreSQL
- ↓
-Response: [
- { date: "2026-03-18", value: 188.5 },
- { date: "2026-03-19", value: 188.2 },
- ...
- { date: "2026-04-18", value: 185.0 }
-]
- ↓
-UI: Plot on chart component
-```
-
-## Security Considerations (MVP)
-
-- **Password**: bcryptjs hashing (10 rounds)
-- **Auth**: JWT with 1-hour expiry + refresh tokens
-- **API**: All endpoints require valid JWT
-- **HTTPS**: Users should deploy behind reverse proxy (nginx)
-- **CORS**: Configured for localhost + user's domain
-- **Input Validation**: Server-side validation on all inputs
-- **Database**: User data scoped to authenticated user
-
-## Performance Targets
-
-- API response: <100ms (local)
-- Mobile app startup: <2s
-- Data sync: On-demand (no background sync in MVP)
-- Database queries: Indexed on user_id, date
-- Caching: Client-side state management with react-query
-
-## Future Improvements
-
-- Background sync (Expo TaskManager)
-- Offline-first with local DB (SQLite for React Native)
-- Image storage (meal photos)
-- Advanced caching strategies
-- Performance monitoring
-- Database backups/restore UI
diff --git a/docs/CLAUDE.md b/docs/CLAUDE.md
deleted file mode 100644
index 29165a1..0000000
--- a/docs/CLAUDE.md
+++ /dev/null
@@ -1,326 +0,0 @@
-# Lyfter - Project Context & Guidelines
-
-## Project Overview
-
-**Lyfter** is a self-hosted workout tracking app similar to MacroFactor. Users run both UI and backend on their own servers for complete data privacy and control. The app is designed as a mobile-first experience (iOS/Android app store) with a web interface as a secondary option.
-
-### Key Principles
-1. **Self-Hosted First**: SQLite default, zero external cloud dependencies
-2. **Privacy**: User data stays on user's server
-3. **Developer-Friendly**: Easy to deploy, well-documented
-4. **MVP Focus**: Build features in order of user value, not technical complexity
-
----
-
-## Tech Stack (Locked)
-
-```
-Frontend:
-- Mobile: React Native (Expo) → iOS/Android app stores
-- Web: React + TypeScript + Tailwind CSS
-- State: Zustand (minimal, flexible)
-
-Backend:
-- Runtime: Go with Gin web framework
-- Database: SQLite (default), PostgreSQL (optional via docker-compose)
-- Auth: JWT tokens
-- API: REST (not GraphQL)
-
-Deployment:
-- Docker + Docker Compose (single compose file, users add volumes)
-- Default: SQLite in ./data volume
-- Optional: PostgreSQL via docker-compose.prod.yml
-```
-
-**Why this stack?** See TECH_STACK_DECISIONS.md for detailed rationale.
-
----
-
-## Project Structure
-
-```
-lyftr/
-├── backend/ # Go/Gin API service
-│ ├── main.go # Entry point
-│ ├── routes/
-│ │ ├── auth.go # Auth endpoints
-│ │ ├── workouts.go # Workout endpoints
-│ │ ├── food.go # Food endpoints
-│ │ └── weight.go # Weight endpoints
-│ ├── controllers/ # Business logic
-│ ├── models/ # Data structures
-│ ├── middleware/ # Auth, validation, errors
-│ ├── services/ # External APIs, helpers
-│ ├── db/
-│ │ ├── sqlite.go # SQLite config
-│ │ ├── postgres.go # PostgreSQL config
-│ │ └── migrations.go # Schema migrations
-│ ├── go.mod
-│ ├── go.sum
-│ └── Dockerfile
-│
-├── web/ # React web app
-│ ├── src/
-│ │ ├── pages/
-│ │ ├── components/
-│ │ ├── services/ # API client
-│ │ ├── stores/ # Zustand stores
-│ │ └── App.tsx
-│ ├── tailwind.config.js
-│ └── package.json
-│
-├── mobile/ # React Native (Expo)
-│ ├── src/
-│ │ ├── screens/
-│ │ ├── components/
-│ │ ├── navigation/
-│ │ ├── services/ # API client
-│ │ ├── stores/ # Zustand stores
-│ │ └── App.tsx
-│ └── package.json
-│
-├── docs/ # Deployment guides, API docs
-├── docker-compose.yml # Dev environment + SQLite
-├── docker-compose.prod.yml # PostgreSQL option
-├── README.md # Project overview
-├── CLAUDE.md # This file
-├── MVP_SPEC.md # Feature requirements
-├── ARCHITECTURE.md # System design
-├── WIREFRAMES.md # UI mockups
-└── TECH_STACK_DECISIONS.md
-```
-
----
-
-## MVP Phase (What We're Building First)
-
-See MVP_SPEC.md for complete list. Priority features:
-
-1. **Authentication**: Register/login with email + password
-2. **Workout Logging**: Select exercise, input sets/reps/weight
-3. **Weight Tracking**: Daily weight entries + trend chart
-4. **Macro Tracking**: Food search + logging + daily summary
-5. **Dashboard**: Quick overview of today's stats
-6. **Deployment**: Docker Compose with SQLite
-
----
-
-## Development Guidelines
-
-### Code Style
-- **Backend**: Go with standard naming conventions (camelCase, exported funcs PascalCase)
-- **Frontend**: TypeScript (web & mobile)
-- **Naming**: camelCase for variables/functions, PascalCase for types/classes/components
-- **Comments**: Only for WHY, not WHAT (good naming explains what)
-- **Error handling**: Validate at API boundaries, trust internal code
-
-### Database
-- SQLite by default (auto-created at `./data/lyfter.db`)
-- All queries scoped to authenticated user (user_id required)
-- Indexes on: user_id, date (for range queries)
-- Migrations tracked in ./backend/src/db/migrations/
-
-### API Design
-- RESTful endpoints (GET, POST, PUT, DELETE)
-- JSON request/response bodies
-- HTTP status codes (200, 201, 400, 401, 404, 500)
-- All endpoints require Authorization header (JWT token)
-- Base path: `/api/`
-
-Example:
-```
-POST /api/auth/login
-PUT /api/workouts/:id
-GET /api/weight?startDate=2026-04-18&endDate=2026-04-25
-DELETE /api/food-logs/:id
-```
-
-### Frontend
-- Components: Small, single-responsibility
-- Props over context (unless truly global like auth)
-- Zustand for global state (auth, user settings)
-- React Query for server state (workouts, food logs)
-- No commented-out code, just delete it
-
-### Mobile (Expo)
-- Shared code with web (types, API client, business logic)
-- NativeBase for UI components (Tailwind-compatible)
-- React Navigation for mobile nav patterns (bottom tabs)
-- App Store: TestFlight → release to both stores simultaneously
-
-### Testing
-- **Backend**: Go's testing package + table-driven tests
-- **Frontend**: Jest for unit tests, React Testing Library for components
-- **API**: Go's net/http/httptest for integration tests
-- Target: 70%+ coverage for critical paths
-
----
-
-## Architecture Decision Log
-
-### Database: SQLite Default + PostgreSQL Optional ✅
-- **Decision**: Ship with SQLite by default (zero config), provide docker-compose.prod.yml for PostgreSQL
-- **Rationale**: Self-hosted users want minimal dependencies; aligns with Vaultwarden model
-- **Impact**: Backend must use abstracted database layer (not SQL-specific)
-
-### Authentication: JWT Tokens ✅
-- **Decision**: JWT with 1-hour expiry + refresh tokens in HTTP-only cookies
-- **Rationale**: Stateless auth scales better for distributed deployments
-- **Impact**: Token refresh endpoint required; frontend handles token refresh logic
-
-### API: REST Not GraphQL ✅
-- **Decision**: RESTful API for MVP
-- **Rationale**: Simpler to implement and cache; MVP doesn't need query flexibility
-- **Revisit**: Add GraphQL later if query complexity grows
-
-### Frontend State: Zustand + React Query ✅
-- **Decision**: Zustand for client state (auth, settings), React Query for server state (workouts, food)
-- **Rationale**: Simpler than Redux; separates concerns
-- **Impact**: Less boilerplate, easier to reason about data flow
-
----
-
-## Before Starting Development
-
-- [ ] Create backend directory structure & go.mod
-- [ ] Initialize Go project with Gin dependency
-- [ ] Create web directory structure & package.json
-- [ ] Create mobile directory structure & package.json
-- [ ] Set up Docker Compose (dev environment)
-- [ ] Create database schema for MVP tables
-- [ ] Set up GitHub Actions for linting/testing (golangci-lint, npm lint)
-- [ ] Create CONTRIBUTING.md for future collaborators
-
----
-
-## Common Tasks & Commands
-
-### Local Development
-```bash
-# Start everything
-docker-compose up -d
-
-# Backend logs
-docker-compose logs -f backend
-
-# Reset database
-rm data/lyfter.db
-docker-compose restart backend
-
-# Run backend tests
-cd backend && go test ./...
-
-# Run backend in dev mode
-cd backend && go run main.go
-
-# Run web app locally
-cd web && npm run dev
-
-# Run mobile locally
-cd mobile && npm start
-```
-
-### Database
-```bash
-# Migrations are handled in code (db/migrations.go)
-# Run on startup automatically
-
-# Reset database (careful!)
-rm data/lyfter.db && docker-compose restart backend
-
-# View database with sqlite3
-sqlite3 data/lyfter.db ".schema"
-```
-
-### Deployment
-```bash
-# Build Go binary
-cd backend && go build -o lyfter-api
-
-# Build Docker images
-docker-compose build
-
-# For PostgreSQL users
-docker-compose -f docker-compose.prod.yml up -d
-
-# Users can also run standalone binary
-./lyfter-api --port=3000 --db-type=sqlite
-```
-
----
-
-## What Success Looks Like
-
-MVP complete when:
-1. ✅ User can register/login
-2. ✅ User can log workouts (exercise, sets, reps, weight)
-3. ✅ User can track daily weight with trend chart
-4. ✅ User can log meals and see macro totals
-5. ✅ Dashboard shows today's summary
-6. ✅ Mobile app available on TestFlight
-7. ✅ Web app works at http://localhost:5173
-8. ✅ Docker Compose setup works for self-hosting
-9. ✅ All code tested, no console errors
-10. ✅ Deployment guide written
-
----
-
-## When to Revisit Tech Decisions
-
-- **GraphQL instead of REST**: If we need to fetch related data at different depths
-- **PostgreSQL instead of SQLite**: If supporting multi-user per instance
-- **Flutter instead of React Native**: If performance issues emerge or more native control needed
-- **Redux instead of Zustand**: If state becomes unmanageable (unlikely at MVP scale)
-- **Rust instead of Go**: Only if Go becomes a bottleneck (unlikely for self-hosted fitness app)
-
-Don't over-engineer. Stay pragmatic. Iterate based on real constraints, not hypotheticals.
-
----
-
-## Known Limitations (MVP)
-
-- Single user per Lyfter instance (can add multi-user later)
-- No image uploads (meal photos, progress pics)
-- No offline mode (always online)
-- No background sync
-- Limited food database (USDA/Open Food Facts read-only)
-- No social features (leaderboards, friend tracking)
-- No advanced analytics (body measurements, periodization)
-
-These are deliberate scope cuts to ship MVP faster. Add in Phase 2+.
-
----
-
-## External APIs
-
-**Optional (can add later):**
-- USDA FoodData Central (food database)
-- Open Food Facts (crowdsourced food database)
-- Barcode lookup (EAN/UPC to food)
-
-**Not needed for MVP:**
-- Payment processing (no premium tier)
-- Email (send notifications later)
-- Cloud storage (local storage only)
-
----
-
-## Deployment Target
-
-**Primary:** Self-hosted Docker on user's server (Raspberry Pi, NAS, VPS, etc.)
-**Secondary:** Web browser at their domain (e.g., lyfter.home.local:5173)
-**Mobile:** App store (TestFlight for beta, App Store/Play Store for release)
-
-Users should deploy behind reverse proxy (nginx) with SSL certificate.
-
----
-
-## How to Use This Document
-
-- Reference for architecture decisions
-- Onboarding new team members
-- When debating "should we add X", check if it's in MVP_SPEC
-- When wondering "why did we pick Y", see TECH_STACK_DECISIONS
-- Revisit before adding major features (Phase 2+)
-
-Update this file as decisions change. Keep it as the source of truth.
diff --git a/docs/GO_BACKEND_GUIDE.md b/docs/GO_BACKEND_GUIDE.md
deleted file mode 100644
index 078db13..0000000
--- a/docs/GO_BACKEND_GUIDE.md
+++ /dev/null
@@ -1,529 +0,0 @@
-# Go Backend Development Guide
-
-Quick reference for building the Lyfter backend in Go.
-
-## Getting Started
-
-### Installation
-```bash
-# Install Go 1.21+ from https://golang.org/dl
-
-# Verify installation
-go version
-
-# Create backend directory
-mkdir backend && cd backend
-
-# Initialize Go module
-go mod init github.com/Cawlumm/lyfter-backend
-```
-
-### Key Dependencies
-```bash
-# Web framework
-go get github.com/gin-gonic/gin
-
-# Database
-go get github.com/mattn/go-sqlite3
-
-# PostgreSQL support (optional)
-go get github.com/lib/pq
-
-# Password hashing
-go get golang.org/x/crypto/bcrypt
-
-# JWT auth
-go get github.com/golang-jwt/jwt/v5
-
-# Environment variables
-go get github.com/joho/godotenv
-
-# Validation
-go get github.com/go-playground/validator/v10
-```
-
-## Project Structure
-
-```
-backend/
-├── main.go # Application entry point
-├── config/
-│ └── config.go # Load env vars, configuration
-├── routes/ # Route handlers
-│ ├── auth.go
-│ ├── workouts.go
-│ ├── food.go
-│ └── weight.go
-├── controllers/ # Business logic
-│ ├── auth.go
-│ ├── workouts.go
-│ ├── food.go
-│ └── weight.go
-├── models/ # Data structures
-│ └── models.go
-├── middleware/ # HTTP middleware
-│ ├── auth.go # JWT verification
-│ └── error.go # Error handling
-├── db/ # Database layer
-│ ├── sqlite.go # SQLite initialization
-│ ├── postgres.go # PostgreSQL initialization
-│ └── migrations.go # Schema setup
-├── services/ # External integrations
-│ └── food.go # Food database APIs
-├── utils/ # Helper functions
-│ ├── jwt.go # JWT utilities
-│ ├── password.go # Password hashing
-│ ├── response.go # JSON response helpers
-│ └── errors.go # Custom error types
-├── go.mod # Module definition
-├── go.sum # Dependency checksums
-├── .env.example # Environment template
-├── Dockerfile # Docker build
-└── docker-compose.yml # (in root)
-```
-
-## Basic Example: Creating an Endpoint
-
-### 1. Add to models/models.go
-```go
-type User struct {
- ID int `json:"id"`
- Email string `json:"email"`
- Password string `json:"-"` // Never expose password
- CreatedAt time.Time `json:"created_at"`
-}
-
-type LoginRequest struct {
- Email string `json:"email" binding:"required,email"`
- Password string `json:"password" binding:"required,min=8"`
-}
-
-type LoginResponse struct {
- AccessToken string `json:"access_token"`
- RefreshToken string `json:"refresh_token"`
-}
-```
-
-### 2. Create controller in controllers/auth.go
-```go
-package controllers
-
-import (
- "net/http"
- "github.com/gin-gonic/gin"
-)
-
-func Login(c *gin.Context) {
- var req LoginRequest
-
- // Bind and validate JSON
- if err := c.ShouldBindJSON(&req); err != nil {
- c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
- return
- }
-
- // Your login logic here
- // Find user, verify password, generate tokens
-
- c.JSON(http.StatusOK, LoginResponse{
- AccessToken: "token_here",
- RefreshToken: "refresh_here",
- })
-}
-```
-
-### 3. Register route in routes/auth.go
-```go
-package routes
-
-import (
- "github.com/gin-gonic/gin"
- "github.com/Cawlumm/lyfter-backend/controllers"
-)
-
-func RegisterAuthRoutes(router *gin.Engine) {
- auth := router.Group("/api/auth")
- {
- auth.POST("/login", controllers.Login)
- auth.POST("/register", controllers.Register)
- auth.POST("/refresh", controllers.Refresh)
- }
-}
-```
-
-### 4. Wire up in main.go
-```go
-package main
-
-import (
- "github.com/gin-gonic/gin"
- "github.com/Cawlumm/lyfter-backend/routes"
-)
-
-func main() {
- router := gin.Default()
-
- // Register all routes
- routes.RegisterAuthRoutes(router)
- routes.RegisterWorkoutRoutes(router)
-
- router.Run(":3000")
-}
-```
-
-## Database Patterns
-
-### Initialize Connection
-```go
-package db
-
-import (
- "database/sql"
- "os"
- _ "github.com/mattn/go-sqlite3"
-)
-
-func InitDB() (*sql.DB, error) {
- dbPath := os.Getenv("DB_PATH")
- if dbPath == "" {
- dbPath = "./data/lyfter.db"
- }
-
- db, err := sql.Open("sqlite3", dbPath)
- if err != nil {
- return nil, err
- }
-
- if err := db.Ping(); err != nil {
- return nil, err
- }
-
- return db, nil
-}
-```
-
-### Query Pattern (with error handling)
-```go
-// Get user workouts for date range
-const query = `
- SELECT id, date, created_at
- FROM workouts
- WHERE user_id = ? AND date BETWEEN ? AND ?
- ORDER BY date DESC
-`
-
-rows, err := db.Query(query, userID, startDate, endDate)
-if err != nil {
- return nil, err
-}
-defer rows.Close()
-
-var workouts []Workout
-for rows.Next() {
- var w Workout
- if err := rows.Scan(&w.ID, &w.Date, &w.CreatedAt); err != nil {
- return nil, err
- }
- workouts = append(workouts, w)
-}
-
-return workouts, rows.Err()
-```
-
-### Prepared Statements (for repeated queries)
-```go
-// Insert workout
-const insertWorkout = `
- INSERT INTO workouts (user_id, date, created_at)
- VALUES (?, ?, ?)
-`
-
-stmt, err := db.Prepare(insertWorkout)
-if err != nil {
- return 0, err
-}
-defer stmt.Close()
-
-result, err := stmt.Exec(userID, workout.Date, time.Now())
-if err != nil {
- return 0, err
-}
-
-id, err := result.LastInsertId()
-return id, err
-```
-
-## Middleware Pattern
-
-### Authentication Middleware
-```go
-package middleware
-
-import (
- "net/http"
- "strings"
- "github.com/gin-gonic/gin"
-)
-
-func AuthRequired() gin.HandlerFunc {
- return func(c *gin.Context) {
- authHeader := c.GetHeader("Authorization")
- if authHeader == "" {
- c.JSON(http.StatusUnauthorized, gin.H{"error": "missing token"})
- c.Abort()
- return
- }
-
- // Extract token (format: "Bearer <token>")
- parts := strings.Split(authHeader, " ")
- if len(parts) != 2 || parts[0] != "Bearer" {
- c.JSON(http.StatusUnauthorized, gin.H{"error": "invalid token format"})
- c.Abort()
- return
- }
-
- token := parts[1]
-
- // Verify token
- claims, err := VerifyJWT(token)
- if err != nil {
- c.JSON(http.StatusUnauthorized, gin.H{"error": "invalid token"})
- c.Abort()
- return
- }
-
- // Store user ID in context for later use
- c.Set("user_id", claims.UserID)
- c.Next()
- }
-}
-```
-
-### Use in Routes
-```go
-// Protected route
-router.GET("/api/workouts", middleware.AuthRequired(), controllers.GetWorkouts)
-
-// Public route (no middleware)
-router.POST("/api/auth/login", controllers.Login)
-```
-
-## Error Handling
-
-### Define Custom Errors
-```go
-package utils
-
-type AppError struct {
- Status int
- Message string
- Details string
-}
-
-func (e *AppError) Error() string {
- return e.Message
-}
-
-func BadRequest(msg, details string) *AppError {
- return &AppError{Status: 400, Message: msg, Details: details}
-}
-
-func Unauthorized(msg string) *AppError {
- return &AppError{Status: 401, Message: msg}
-}
-
-func NotFound(msg string) *AppError {
- return &AppError{Status: 404, Message: msg}
-}
-
-func InternalError(msg string) *AppError {
- return &AppError{Status: 500, Message: msg}
-}
-```
-
-### Global Error Handler
-```go
-// In main.go
-router.Use(func(c *gin.Context) {
- defer func() {
- if err := recover(); err != nil {
- if appErr, ok := err.(*AppError); ok {
- c.JSON(appErr.Status, gin.H{"error": appErr.Message})
- } else {
- c.JSON(500, gin.H{"error": "internal server error"})
- }
- }
- }()
- c.Next()
-})
-```
-
-## Testing Pattern
-
-### Unit Test Example
-```go
-package controllers
-
-import (
- "testing"
- "github.com/stretchr/testify/assert"
-)
-
-func TestLogin_ValidCredentials(t *testing.T) {
- // Setup
- email := "[email protected]"
- password := "password123"
-
- // Execute
- token, err := Login(email, password)
-
- // Assert
- assert.NoError(t, err)
- assert.NotEmpty(t, token)
-}
-
-func TestLogin_InvalidEmail(t *testing.T) {
- token, err := Login("invalid", "password123")
- assert.Error(t, err)
- assert.Empty(t, token)
-}
-```
-
-### Run Tests
-```bash
-# Run all tests
-go test ./...
-
-# Run with coverage
-go test -cover ./...
-
-# Run specific test
-go test -run TestLogin ./controllers
-```
-
-## Useful Go Commands
-
-```bash
-# Format code (automatic)
-go fmt ./...
-
-# Lint code (requires golangci-lint)
-golangci-lint run
-
-# Build binary
-go build -o lyfter-api
-
-# Run directly
-go run main.go
-
-# Add dependency
-go get github.com/example/package
-
-# Remove unused dependencies
-go mod tidy
-
-# View module info
-go mod graph
-```
-
-## Best Practices
-
-1. **Error handling**: Always check errors, don't ignore them
- ```go
- // Good
- if err != nil {
- return err
- }
-
- // Bad
- _ = db.Close() // Don't use blank import for errors
- ```
-
-2. **Defer for cleanup**:
- ```go
- rows, err := db.Query(...)
- if err != nil {
- return nil, err
- }
- defer rows.Close() // Always close
- ```
-
-3. **Use interfaces for testing**:
- ```go
- type Database interface {
- GetUser(id int) (*User, error)
- }
-
- // Can mock this for testing
- ```
-
-4. **Keep functions small**: 10-20 lines is ideal
-
-5. **Use table-driven tests**:
- ```go
- tests := []struct{
- name string
- input string
- want string
- }{
- {"case1", "input1", "want1"},
- {"case2", "input2", "want2"},
- }
-
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- // test here
- })
- }
- ```
-
-## Environment Variables (.env)
-
-```
-# Database
-DB_TYPE=sqlite
-DB_PATH=./data/lyfter.db
-
-# Or for PostgreSQL:
-# DB_TYPE=postgres
-# DB_HOST=localhost
-# DB_PORT=5432
-# DB_NAME=lyfter
-# DB_USER=postgres
-# DB_PASSWORD=password
-
-# Server
-PORT=3000
-ENV=development
-
-# JWT
-JWT_SECRET=your-secret-key-here-min-32-chars
-JWT_EXPIRY=3600
-
-# CORS
-CORS_ORIGIN=http://localhost:5173,http://localhost:19006
-```
-
-## Common Issues
-
-**Issue**: `package not found`
-- **Solution**: Run `go mod tidy` to download dependencies
-
-**Issue**: SQLite: `cannot load library`
-- **Solution**: Ensure you have C development tools installed (cgo)
-
-**Issue**: JWT token not working
-- **Solution**: Check token format ("Bearer <token>"), expiry time, and secret key match
-
-**Issue**: Database locked
-- **Solution**: SQLite has limited concurrency. For development, this is normal. Use PostgreSQL for production if you hit this often.
-
-## Next Steps
-
-1. Start with basic auth (login/register)
-2. Set up database migrations
-3. Build workout logging endpoints
-4. Add weight tracking endpoints
-5. Integrate food database API
-6. Write tests for critical paths
-7. Add Docker support
diff --git a/docs/MVP_SPEC.md b/docs/MVP_SPEC.md
deleted file mode 100644
index 2b24e75..0000000
--- a/docs/MVP_SPEC.md
+++ /dev/null
@@ -1,154 +0,0 @@
-# Lyfter MVP Specification
-
-## MVP Scope (Phase 1)
-
-### Phase 1A: Core Infrastructure & Authentication
-- [ ] Backend API setup (Express/Go)
-- [ ] SQLite database schema
-- [ ] User registration/login
-- [ ] JWT authentication
-- [ ] Docker setup for local development
-- [ ] Basic API documentation
-
-### Phase 1B: Workout Tracking (Mobile + Web)
-- [ ] Exercise database (pre-populated)
-- [ ] Log workout UI
- - Select exercise
- - Input sets/reps/weight
- - Notes field
- - Timestamp
-- [ ] Workout history view
-- [ ] Search/filter workouts
-- [ ] Edit/delete workout entries
-
-### Phase 1C: Weight Tracking & Basic Analytics
-- [ ] Weight entry logging
-- [ ] Weight trend chart (7, 30, 90 day views)
-- [ ] Basic statistics (current, avg, min, max)
-- [ ] Daily dashboard overview
-
-### Phase 1D: Macro Tracking (Simplified)
-- [ ] Food database integration (USDA or Open Food Facts API)
-- [ ] Log meal UI
- - Search food
- - Input quantity
- - Quick add favorites
-- [ ] Daily macro summary (P/C/F)
-- [ ] Daily calorie total
-
-### Phase 1E: Deployment & Documentation
-- [ ] Docker Compose for single-instance (SQLite)
-- [ ] Deployment guide (self-hosting instructions)
-- [ ] API documentation
-- [ ] Mobile app build & release process
-
-## Non-MVP Features (Post-MVP)
-- Barcode scanning
-- Meal plans
-- Advanced analytics (body measurements, photos)
-- Social features (friend tracking, achievements)
-- PostgreSQL support
-- Backup/export functionality
-- Multiple users per instance
-- Advanced macro targets (periodized training phases)
-
-## Data Models
-
-### User
-```
-- id (PK)
-- email (unique)
-- password_hash
-- created_at
-- settings (JSON)
-```
-
-### Workout
-```
-- id (PK)
-- user_id (FK)
-- date
-- created_at
-- exercises (JSON array)
-```
-
-### WorkoutExercise
-```
-- id (PK)
-- workout_id (FK)
-- exercise_id (FK)
-- sets (JSON array)
-- notes
-```
-
-### Exercise
-```
-- id (PK)
-- name
-- category (push, pull, legs, cardio, other)
-- equipment
-- muscle_groups (JSON)
-```
-
-### FoodLog
-```
-- id (PK)
-- user_id (FK)
-- date
-- food_name
-- calories
-- protein
-- carbs
-- fat
-- quantity
-- unit
-```
-
-### Weight
-```
-- id (PK)
-- user_id (FK)
-- date
-- value (lbs/kg)
-```
-
-## API Endpoints (MVP)
-
-### Auth
-- POST /api/auth/register
-- POST /api/auth/login
-- POST /api/auth/refresh
-- POST /api/auth/logout
-
-### Workouts
-- GET /api/workouts (paginated, filtered by date range)
-- POST /api/workouts
-- PUT /api/workouts/:id
-- DELETE /api/workouts/:id
-- GET /api/exercises (pre-seeded database)
-
-### Food Logs
-- GET /api/food-logs (by date)
-- POST /api/food-logs
-- PUT /api/food-logs/:id
-- DELETE /api/food-logs/:id
-- GET /api/food-search (query food database)
-
-### Weight
-- GET /api/weight (date range)
-- POST /api/weight
-- PUT /api/weight/:id
-- DELETE /api/weight/:id
-
-### User
-- GET /api/user (profile)
-- PUT /api/user (settings)
-- GET /api/user/stats (quick stats)
-
-## UI/UX Priorities
-
-1. **Speed**: Fast local-first, minimal loading times
-2. **Simplicity**: Clean, distraction-free interface
-3. **Accessibility**: Easy to navigate, readable text
-4. **Data visualization**: Charts that show trends at a glance
-5. **Quick entry**: Minimize taps/clicks to log data
diff --git a/docs/README.md b/docs/README.md
deleted file mode 100644
index 6f6c0c3..0000000
--- a/docs/README.md
+++ /dev/null
@@ -1,77 +0,0 @@
-# Lyfter - Self-Hosted Workout Tracking App
-
-A privacy-first, self-hosted workout tracking application similar to MacroFactor. Users can run both the UI and backend on their own servers to maintain complete control over their fitness and nutrition data.
-
-## Vision
-
-- **Self-Hosted**: Full control over infrastructure and data
-- **Multi-Platform**: Native app (iOS/Android) + Web interface
-- **Privacy-Focused**: Your data, your server, zero cloud dependency
-- **Developer-Friendly**: Easy to deploy, well-documented APIs
-
-## Key Features (MVP)
-
-1. **Workout Logging**
- - Exercise tracking with sets/reps/weight
- - Pre-built exercise database
- - Custom exercises
-
-2. **Macro/Calorie Tracking**
- - Food database integration
- - Barcode scanning
- - Quick log shortcuts
-
-3. **Progress Analytics**
- - Weight trends
- - Volume progression
- - Macro adherence charts
-
-4. **User Management**
- - Single or multi-user support per instance
- - Basic auth
-
-## Tech Stack Recommendation
-
-### Frontend
-- **Mobile**: React Native (Expo) or Flutter
-- **Web**: React + TypeScript
-- **State Management**: Zustand or Redux
-- **UI Framework**: NativeBase (mobile) + Tailwind (web)
-
-### Backend
-- **Runtime**: Go (Gin web framework)
-- **Database**:
- - **Default**: SQLite (zero config, perfect for single users)
- - **Optional**: PostgreSQL via Docker (for advanced deployments)
-- **Auth**: JWT tokens
-- **API**: REST API (GraphQL optional)
-
-### Infrastructure
-- **Deployment**: Docker + Docker Compose
-- **File Storage**: Local filesystem or MinIO (S3-compatible)
-
-## Database Strategy
-
-**SQLite (Default)**
-- Zero external dependencies
-- Perfect for personal/single-user instances
-- Minimal system requirements
-- File-based storage
-
-**PostgreSQL (Optional)**
-- Via Docker Compose configuration
-- For users wanting multi-instance deployments
-- Better concurrency handling
-- Advanced features like full-text search
-
-## Project Structure
-
-```
-lyftr/
-├── backend/ # REST API service
-├── web/ # React web app
-├── mobile/ # React Native/Flutter app
-├── docs/ # Documentation & deployment guides
-├── docker-compose.yml
-└── README.md
-```
diff --git a/docs/TECH_STACK_DECISIONS.md b/docs/TECH_STACK_DECISIONS.md
deleted file mode 100644
index c1d2c18..0000000
--- a/docs/TECH_STACK_DECISIONS.md
+++ /dev/null
@@ -1,292 +0,0 @@
-# Lyfter Tech Stack Decisions
-
-## Summary
-- **Mobile**: React Native (Expo) or Flutter
-- **Web**: React + TypeScript + Tailwind
-- **Backend**: Node.js/Express (or Go/Gin alternative)
-- **Database**: SQLite (default) + PostgreSQL (optional)
-- **Deployment**: Docker + Docker Compose
-
----
-
-## Backend Decision: Go/Gin ✅ (Primary Choice)
-
-### Go/Gin ✅
-
-**Pros:**
-- Super fast execution (~1000x faster than Node.js for I/O)
-- Low memory footprint (~10MB vs 100MB+ for Node)
-- Single binary deployment (no runtime needed)
-- Great for concurrent connections
-- Type-safe compilation catches errors at build time
-- Excellent standard library (net/http, json, crypto)
-- Simple, clean syntax (easier to learn than Rust)
-- Perfect for self-hosted deployments
-
-**Cons:**
-- Steeper learning curve than JavaScript
-- Slightly slower initial development (but not by much)
-- Fewer third-party libraries vs Node.js (but all essentials exist)
-- Requires compilation step
-
-**Why we're using it:**
-- MVP will ship as single binary (easy distribution)
-- Self-hosted users get best performance (important for Raspberry Pi, NAS)
-- Excellent for learning systems programming
-- Matches deployment needs (Vaultwarden also uses Go)
-- Built-in concurrency (goroutines) handles multiple users well
-- Fast startup time
-
----
-
-## Database: SQLite vs PostgreSQL
-
-### SQLite (Default) ✅
-
-**Pros:**
-- Zero configuration
-- Single file database
-- Perfect for self-hosted single users
-- No external dependencies
-- Tiny deployment footprint
-- Easy backups (just copy the file)
-- Automatic with Docker volumes
-
-**Cons:**
-- Limited concurrency
-- Not ideal for high-traffic
-- Single machine only (no clustering)
-
-**Why default:**
-- Target user is self-hosting
-- Single user per instance
-- Zero operational overhead
-- Vaultwarden model (same approach)
-
-### PostgreSQL (Optional)
-
-**Pros:**
-- Better concurrency handling
-- Better for multiple instances
-- More advanced features
-- Can scale horizontally
-- Full-text search support
-
-**Cons:**
-- Requires additional infrastructure
-- More operational complexity
-- Higher resource requirements
-
-**When to offer:**
-- Via docker-compose.prod.yml
-- For users with multiple instances
-- For advanced deployments
-
----
-
-## Frontend: React Native vs Flutter
-
-### React Native/Expo ✅ (Primary Choice)
-
-**Pros:**
-- Share code between iOS & Android
-- Web app also React (shared components/logic)
-- Large ecosystem
-- Hot reload for fast development
-- Can publish to App Store + Google Play with Expo
-- JavaScript developers can transition easily
-
-**Cons:**
-- Performance not native-level
-- Slightly larger app size
-- Bridge overhead
-
-**Why Expo:**
-- Easier app distribution
-- No need to run iOS/Android build systems locally
-- OTA updates capability
-- Great for MVP
-
-### Flutter (Alternative)
-
-**Pros:**
-- Better performance
-- Beautiful UI framework
-- Single codebase for everything
-- Growing community
-
-**Cons:**
-- Different language (Dart)
-- Smaller ecosystem
-- Web story less mature
-
-**Decision:**
-Start with React Native/Expo because:
-- Align with web React codebase
-- Faster prototyping
-- Better tooling maturity for MVP
-- Can switch to Flutter later if needed
-
----
-
-## Web Framework: React vs Vue vs Svelte
-
-### React ✅
-
-**Pros:**
-- Largest ecosystem
-- Shared components with mobile
-- TypeScript support
-- Best performance for data-heavy apps
-- Easy to hire for
-- Great DevTools
-
-**Cons:**
-- Slightly more boilerplate than Vue/Svelte
-- Larger bundle size
-
-**Why React:**
-- Aligns with React Native mobile
-- Share types and data models
-- Best for analytics dashboards (charts, tables)
-- Most ecosystem maturity
-
----
-
-## CSS: Tailwind vs Styled Components vs CSS Modules
-
-### Tailwind CSS ✅
-
-**Pros:**
-- Utility-first (fast styling)
-- Small final bundle
-- Design system consistency
-- Works great with Expo (via NativeBase)
-- Great for rapid prototyping
-
-**Why Tailwind:**
-- Same tooling for web + mobile (NativeBase for Expo)
-- Fast MVP development
-- Design consistency across platforms
-- Easy theme customization
-
----
-
-## State Management: Zustand vs Redux vs Context
-
-### Zustand ✅
-
-**Pros:**
-- Minimal boilerplate
-- Great TypeScript support
-- Tiny bundle size (~2KB)
-- Easy to learn
-- No Provider hell
-- Excellent devtools
-
-**Cons:**
-- Less community plugins than Redux
-- Newer library
-
-**Why Zustand:**
-- MVP doesn't need Redux complexity
-- Much simpler than Context API
-- Great for small-to-medium apps
-- Easy to refactor later if needed
-
----
-
-## API Communication: REST vs GraphQL
-
-### REST ✅
-
-**Pros:**
-- Simpler to implement
-- Better caching (HTTP caching)
-- Easier to understand
-- Perfect for MVP
-- Great tooling
-
-**Cons:**
-- Over/under fetching possible
-- Multiple endpoints
-
-**Why REST:**
-- MVP simplicity
-- Self-hosted endpoints don't need complex queries
-- HTTP caching helps with slow connections
-- Easier to document (OpenAPI)
-
-**Future:** GraphQL later if queries become complex
-
----
-
-## Tooling
-
-### Build Tools
-- **Web**: Vite (fast, modern)
-- **Mobile**: Metro (React Native default)
-- **Backend**: Node.js (no build needed, or swc for faster TS)
-
-### Testing
-- **Jest** (unit tests)
-- **React Testing Library** (component tests)
-- **Supertest** (API tests)
-
-### Version Control / CI-CD
-- **Git** (obvious)
-- **GitHub Actions** (auto-test on PR)
-- **Semantic Versioning** for releases
-
-### Documentation
-- **OpenAPI/Swagger** for API docs
-- **Markdown** for guides
-- **Storybook** for component library (later)
-
----
-
-## Hosting & Deployment
-
-### Development
-- Docker Compose (local SQLite)
-- Hot reload enabled
-- Shared volumes
-
-### Production (User's Server)
-- Docker Compose file provided
-- SQLite (default) or PostgreSQL (optional)
-- Nginx reverse proxy (recommended)
-- Environment variable configuration
-
-### App Distribution
-- **iOS**: TestFlight → App Store
-- **Android**: Google Play
-- **Web**: GitHub Pages or self-hosted
-
----
-
-## Implementation Order
-
-1. **Phase 1**: Backend (Go/Gin) + SQLite
-2. **Phase 2**: Web (React + Tailwind)
-3. **Phase 3**: Mobile (React Native/Expo)
-4. **Phase 4**: Polish, testing, documentation
-5. **Phase 5**: PostgreSQL support (optional)
-
----
-
-## Why This Stack?
-
-The combination allows:
-- **Fast MVP development** (Node + React)
-- **Single codebase** (React + React Native)
-- **Low ops overhead** (Docker + SQLite)
-- **Easy self-hosting** (similar to Vaultwarden)
-- **Future flexibility** (can replace any layer)
-- **Developer happiness** (JavaScript everywhere)
-
-This is the Vaultwarden model:
-- Self-hosted option
-- Minimal dependencies
-- Clear separation of concerns
-- Easy to deploy and maintain
diff --git a/docs/WIREFRAMES.md b/docs/WIREFRAMES.md
deleted file mode 100644
index cfc4633..0000000
--- a/docs/WIREFRAMES.md
+++ /dev/null
@@ -1,261 +0,0 @@
-# Lyfter UI Wireframes & Mockups
-
-## Mobile App Screens
-
-### 1. Login/Register Screen
-```
-┌─────────────────────┐
-│ │
-│ LYFTER LOGO │
-│ │
-├─────────────────────┤
-│ │
-│ [Email Input] │
-│ [Password Input] │
-│ [Login Button] │
-│ │
-│ New user? │
-│ [Sign Up Link] │
-│ │
-└─────────────────────┘
-```
-
-### 2. Home/Dashboard Screen
-```
-┌─────────────────────┐
-│ TODAY │
-│ April 18, 2026 │
-├─────────────────────┤
-│ │
-│ [Weight: 185 lbs] │
-│ [Trend: ↓ -2 lbs] │
-│ │
-│ Macros Today: │
-│ ┌─────────────────┐ │
-│ │ P: 140g C: 180g│ │
-│ │ F: 60g Cal: 1850
-│ │ Target: 2000 │ │
-│ └─────────────────┘ │
-│ │
-│ [Quick Log Workout] │
-│ [Quick Log Meal] │
-│ [Add Weight] │
-│ │
-├─────────────────────┤
-│ Recent Workouts │
-│ • Push Day - 2h ago │
-│ • Cardio - 1d ago │
-│ │
-└─────────────────────┘
-```
-
-### 3. Log Workout Screen
-```
-┌─────────────────────┐
-│ NEW WORKOUT │ [X]
-├─────────────────────┤
-│ Workout Type │
-│ [Select...v] │
-│ │
-│ [+ Add Exercise] │
-│ │
-│ Push Day │
-│ ┌─────────────────┐ │
-│ │ Bench Press │ │
-│ │ 4 x 8 @ 275 lbs │ │
-│ │ [Edit] [Remove] │ │
-│ └─────────────────┘ │
-│ ┌─────────────────┐ │
-│ │ Incline Dumbbell│ │
-│ │ 3 x 10 @ 85 lbs │ │
-│ │ [Edit] [Remove] │ │
-│ └─────────────────┘ │
-│ │
-│ Notes: [Text...] │
-│ │
-│ [Cancel] [Save] │
-└─────────────────────┘
-```
-
-### 4. Exercise Selection Screen
-```
-┌─────────────────────┐
-│ SELECT EXERCISE │ [X]
-├─────────────────────┤
-│ [Search...search] │
-│ │
-│ Upper Body │
-│ • Bench Press │
-│ • Incline Press │
-│ • Dumbbell Press │
-│ • Barbell Row │
-│ • Lat Pulldown │
-│ │
-│ Lower Body │
-│ • Barbell Squat │
-│ • Leg Press │
-│ • Leg Curl │
-│ │
-│ Custom │
-│ • [Add New+] │
-│ │
-└─────────────────────┘
-```
-
-### 5. Weight Tracking Screen
-```
-┌─────────────────────┐
-│ WEIGHT │
-├─────────────────────┤
-│ │
-│ [Chart showing │
-│ 30-day trend] │
-│ │
-│ Current: 185 lbs │
-│ Change: -2 lbs │
-│ (7 days) │
-│ Average: 186.2 lbs │
-│ │
-│ 📊 7d 30d 90d All │
-│ │
-├─────────────────────┤
-│ Add Weight Entry │
-│ [Date Input] │
-│ [Weight Input] │
-│ [Add Button] │
-│ │
-├─────────────────────┤
-│ History │
-│ Apr 18: 185 lbs │
-│ Apr 17: 185.2 lbs │
-│ Apr 16: 185.5 lbs │
-│ Apr 15: 186 lbs │
-│ │
-└─────────────────────┘
-```
-
-### 6. Food Logging Screen
-```
-┌─────────────────────┐
-│ LOG MEAL │ [X]
-├─────────────────────┤
-│ [Search foods...] │
-│ 🔍 [Scan Barcode] │
-│ │
-│ Chicken Breast │
-│ 200g | 330 cal │
-│ P: 62g C: 0g F: 7g │
-│ [Qty: 200g] [Add] │
-│ │
-│ Brown Rice │
-│ 1 cup | 215 cal │
-│ P: 5g C: 45g F: 2g │
-│ [Qty: 1 cup] [Add] │
-│ │
-│ Added to Today: │
-│ • Chicken 200g │
-│ • Brown Rice 1 cup │
-│ │
-│ [Cancel] [Done] │
-└─────────────────────┘
-```
-
-### 7. Bottom Navigation (All Screens)
-```
-┌─────────────────────┐
-│ [🏠Home] [📈Stats] [⚙️]
-│ [💪Workout][🍽️Food]
-└─────────────────────┘
-```
-
-## Web App Screens
-
-### Dashboard (Desktop View)
-```
-┌──────────────────────────────────────┐
-│ LYFTER [Settings] [User] │
-├──────────────────────────────────────┤
-│ │
-│ TODAY - April 18, 2026 │
-│ │
-│ ┌──────────────┬──────────────────┐ │
-│ │ Weight │ Daily Stats │ │
-│ │ 185 lbs │ ┌──────────────┐ │ │
-│ │ △ -2 lbs │ │ P: 140 / 150 │ │ │
-│ │ │ │ C: 180 / 250 │ │ │
-│ │ [Update] │ │ F: 60 / 65 │ │ │
-│ │ │ │ Cal: 1850/2000│ │ │
-│ │ │ └──────────────┘ │ │
-│ └──────────────┴──────────────────┘ │
-│ │
-│ ┌──────────────────────────────────┐ │
-│ │ This Week's Workouts │ │
-│ │ • Push Day (2 hours) - April 18 │ │
-│ │ • Cardio (45 min) - April 17 │ │
-│ │ • Pull Day (2 hours) - April 16 │ │
-│ │ │ │
-│ │ [View All] [Log New Workout] │ │
-│ └──────────────────────────────────┘ │
-│ │
-│ ┌──────────────────────────────────┐ │
-│ │ Weight Trend (30 days) │ │
-│ │ [Line Chart - 30 days] │ │
-│ │ Current: 185 | Avg: 186.2 │ │
-│ └──────────────────────────────────┘ │
-│ │
-└──────────────────────────────────────┘
-```
-
-### Workout Log View
-```
-┌──────────────────────────────────────┐
-│ WORKOUTS │
-├──────────────────────────────────────┤
-│ [Date Range Filter] [+ Log Workout] │
-│ │
-│ April 18, 2026 - Push Day │
-│ ┌──────────────────────────────────┐ │
-│ │ Bench Press │ │
-│ │ 4 × 8 @ 275 lbs = 8,800 lbs vol. │ │
-│ │ │ │
-│ │ Incline Dumbbell Press │ │
-│ │ 3 × 10 @ 85 lbs = 2,550 lbs vol. │ │
-│ │ │ │
-│ │ [Edit] [Delete] [Duplicate] │ │
-│ └──────────────────────────────────┘ │
-│ │
-│ April 17, 2026 - Cardio │
-│ ┌──────────────────────────────────┐ │
-│ │ Treadmill Running - 45 min │ │
-│ │ Distance: 5.2 miles │ │
-│ │ [Edit] [Delete] │ │
-│ └──────────────────────────────────┘ │
-│ │
-└──────────────────────────────────────┘
-```
-
-## Design Tokens
-
-### Colors
-- **Primary**: Deep Blue (#1E40AF)
-- **Accent**: Orange (#FB923C) - for progress/achievements
-- **Background**: Dark (#0F172A) or Light (#F8FAFC)
-- **Text**: Dark text on light bg, light text on dark bg
-- **Success**: Green (#22C55E)
-- **Warning**: Red (#EF4444)
-
-### Typography
-- **Headlines**: Bold, 18-24px
-- **Body**: Regular, 14-16px
-- **Small**: 12-13px (secondary info)
-
-### Spacing
-- Standard padding: 16px
-- Card margins: 12px
-- Gutter: 8px
-
-### Components
-- Rounded corners: 8-12px (cards), 24px (buttons)
-- Button height: 44px (mobile, touch-friendly)
-- Input height: 40px
-- Icons: 24px standard
diff --git a/web/package-lock.json b/web/package-lock.json
index 4e17809..a4bd600 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -25,16 +25,11 @@
"@testing-library/react": "^14.3.1",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
- "@typescript-eslint/eslint-plugin": "^6.14.0",
- "@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-basic-ssl": "^1.2.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^2.1.9",
"autoprefixer": "^10.4.16",
"cross-env": "^10.1.0",
- "eslint": "^8.55.0",
- "eslint-plugin-react-hooks": "^4.6.0",
- "eslint-plugin-react-refresh": "^0.4.5",
"jsdom": "^29.1.1",
"postcss": "^8.4.32",
"tailwindcss": "^3.4.1",
@@ -943,87 +938,6 @@
"node": ">=12"
}
},
- "node_modules/@eslint-community/eslint-utils": {
- "version": "4.9.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
- "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
- "dev": true,
- "dependencies": {
- "eslint-visitor-keys": "^3.4.3"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- },
- "peerDependencies": {
- "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
- }
- },
- "node_modules/@eslint-community/regexpp": {
- "version": "4.12.2",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz",
- "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==",
- "dev": true,
- "engines": {
- "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
- }
- },
- "node_modules/@eslint/eslintrc": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
- "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
- "dev": true,
- "dependencies": {
- "ajv": "^6.12.4",
- "debug": "^4.3.2",
- "espree": "^9.6.0",
- "globals": "^13.19.0",
- "ignore": "^5.2.0",
- "import-fresh": "^3.2.1",
- "js-yaml": "^4.1.0",
- "minimatch": "^3.1.2",
- "strip-json-comments": "^3.1.1"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/@eslint/eslintrc/node_modules/brace-expansion": {
- "version": "1.1.14",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz",
- "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/@eslint/eslintrc/node_modules/minimatch": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
- "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/@eslint/js": {
- "version": "8.57.1",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz",
- "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==",
- "dev": true,
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- }
- },
"node_modules/@exodus/bytes": {
"version": "1.15.1",
"resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.15.1.tgz",
@@ -1042,63 +956,6 @@
}
}
},
- "node_modules/@humanwhocodes/config-array": {
- "version": "0.13.0",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz",
- "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==",
- "deprecated": "Use @eslint/config-array instead",
- "dev": true,
- "dependencies": {
- "@humanwhocodes/object-schema": "^2.0.3",
- "debug": "^4.3.1",
- "minimatch": "^3.0.5"
- },
- "engines": {
- "node": ">=10.10.0"
- }
- },
- "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": {
- "version": "1.1.14",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz",
- "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/@humanwhocodes/config-array/node_modules/minimatch": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
- "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/@humanwhocodes/module-importer": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
- "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
- "dev": true,
- "engines": {
- "node": ">=12.22"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/nzakas"
- }
- },
- "node_modules/@humanwhocodes/object-schema": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
- "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
- "deprecated": "Use @eslint/object-schema instead",
- "dev": true
- },
"node_modules/@isaacs/cliui": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
@@ -1773,12 +1630,6 @@
"integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
"dev": true
},
- "node_modules/@types/json-schema": {
- "version": "7.0.15",
- "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
- "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
- "dev": true
- },
"node_modules/@types/prop-types": {
"version": "15.7.15",
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
@@ -1804,208 +1655,6 @@
"@types/react": "^18.0.0"
}
},
- "node_modules/@types/semver": {
- "version": "7.7.1",
- "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.7.1.tgz",
- "integrity": "sha512-FmgJfu+MOcQ370SD0ev7EI8TlCAfKYU+B4m5T3yXc1CiRN94g/SZPtsCkk506aUDtlMnFZvasDwHHUcZUEaYuA==",
- "dev": true
- },
- "node_modules/@typescript-eslint/eslint-plugin": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.21.0.tgz",
- "integrity": "sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==",
- "dev": true,
- "dependencies": {
- "@eslint-community/regexpp": "^4.5.1",
- "@typescript-eslint/scope-manager": "6.21.0",
- "@typescript-eslint/type-utils": "6.21.0",
- "@typescript-eslint/utils": "6.21.0",
- "@typescript-eslint/visitor-keys": "6.21.0",
- "debug": "^4.3.4",
- "graphemer": "^1.4.0",
- "ignore": "^5.2.4",
- "natural-compare": "^1.4.0",
- "semver": "^7.5.4",
- "ts-api-utils": "^1.0.1"
- },
- "engines": {
- "node": "^16.0.0 || >=18.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha",
- "eslint": "^7.0.0 || ^8.0.0"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/@typescript-eslint/parser": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz",
- "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/scope-manager": "6.21.0",
- "@typescript-eslint/types": "6.21.0",
- "@typescript-eslint/typescript-estree": "6.21.0",
- "@typescript-eslint/visitor-keys": "6.21.0",
- "debug": "^4.3.4"
- },
- "engines": {
- "node": "^16.0.0 || >=18.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^7.0.0 || ^8.0.0"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/@typescript-eslint/scope-manager": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz",
- "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/types": "6.21.0",
- "@typescript-eslint/visitor-keys": "6.21.0"
- },
- "engines": {
- "node": "^16.0.0 || >=18.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@typescript-eslint/type-utils": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.21.0.tgz",
- "integrity": "sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/typescript-estree": "6.21.0",
- "@typescript-eslint/utils": "6.21.0",
- "debug": "^4.3.4",
- "ts-api-utils": "^1.0.1"
- },
- "engines": {
- "node": "^16.0.0 || >=18.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^7.0.0 || ^8.0.0"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/@typescript-eslint/types": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz",
- "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==",
- "dev": true,
- "engines": {
- "node": "^16.0.0 || >=18.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@typescript-eslint/typescript-estree": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz",
- "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/types": "6.21.0",
- "@typescript-eslint/visitor-keys": "6.21.0",
- "debug": "^4.3.4",
- "globby": "^11.1.0",
- "is-glob": "^4.0.3",
- "minimatch": "9.0.3",
- "semver": "^7.5.4",
- "ts-api-utils": "^1.0.1"
- },
- "engines": {
- "node": "^16.0.0 || >=18.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/@typescript-eslint/utils": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz",
- "integrity": "sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==",
- "dev": true,
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.4.0",
- "@types/json-schema": "^7.0.12",
- "@types/semver": "^7.5.0",
- "@typescript-eslint/scope-manager": "6.21.0",
- "@typescript-eslint/types": "6.21.0",
- "@typescript-eslint/typescript-estree": "6.21.0",
- "semver": "^7.5.4"
- },
- "engines": {
- "node": "^16.0.0 || >=18.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^7.0.0 || ^8.0.0"
- }
- },
- "node_modules/@typescript-eslint/visitor-keys": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz",
- "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/types": "6.21.0",
- "eslint-visitor-keys": "^3.4.1"
- },
- "engines": {
- "node": "^16.0.0 || >=18.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@ungap/structured-clone": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
- "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",
- "dev": true
- },
"node_modules/@vitejs/plugin-basic-ssl": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.2.0.tgz",
@@ -2204,43 +1853,6 @@
"integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==",
"optional": true
},
- "node_modules/acorn": {
- "version": "8.16.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
- "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
- "dev": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/acorn-jsx": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
- "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
- "dev": true,
- "peerDependencies": {
- "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
- }
- },
- "node_modules/ajv": {
- "version": "6.14.0",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz",
- "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==",
- "dev": true,
- "dependencies": {
- "fast-deep-equal": "^3.1.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
"node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
@@ -2290,12 +1902,6 @@
"integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
"dev": true
},
- "node_modules/argparse": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true
- },
"node_modules/aria-query": {
"version": "5.1.3",
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz",
@@ -2323,15 +1929,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/array-union": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
- "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/assertion-error": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
@@ -2561,15 +2158,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/callsites": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/camelcase-css": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
@@ -2724,12 +2312,6 @@
"node": ">= 6"
}
},
- "node_modules/concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true
- },
"node_modules/convert-source-map": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
@@ -3003,12 +2585,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/deep-is": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true
- },
"node_modules/define-data-property": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
@@ -3059,36 +2635,12 @@
"integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
"dev": true
},
- "node_modules/dir-glob": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
- "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
- "dev": true,
- "dependencies": {
- "path-type": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/dlv": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
"dev": true
},
- "node_modules/doctrine": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
- "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
- "dev": true,
- "dependencies": {
- "esutils": "^2.0.2"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
"node_modules/dom-accessibility-api": {
"version": "0.5.16",
"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
@@ -3267,195 +2819,6 @@
"node": ">=6"
}
},
- "node_modules/escape-string-regexp": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
- "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/eslint": {
- "version": "8.57.1",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",
- "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",
- "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",
- "dev": true,
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.4",
- "@eslint/js": "8.57.1",
- "@humanwhocodes/config-array": "^0.13.0",
- "@humanwhocodes/module-importer": "^1.0.1",
- "@nodelib/fs.walk": "^1.2.8",
- "@ungap/structured-clone": "^1.2.0",
- "ajv": "^6.12.4",
- "chalk": "^4.0.0",
- "cross-spawn": "^7.0.2",
- "debug": "^4.3.2",
- "doctrine": "^3.0.0",
- "escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.3",
- "espree": "^9.6.1",
- "esquery": "^1.4.2",
- "esutils": "^2.0.2",
- "fast-deep-equal": "^3.1.3",
- "file-entry-cache": "^6.0.1",
- "find-up": "^5.0.0",
- "glob-parent": "^6.0.2",
- "globals": "^13.19.0",
- "graphemer": "^1.4.0",
- "ignore": "^5.2.0",
- "imurmurhash": "^0.1.4",
- "is-glob": "^4.0.0",
- "is-path-inside": "^3.0.3",
- "js-yaml": "^4.1.0",
- "json-stable-stringify-without-jsonify": "^1.0.1",
- "levn": "^0.4.1",
- "lodash.merge": "^4.6.2",
- "minimatch": "^3.1.2",
- "natural-compare": "^1.4.0",
- "optionator": "^0.9.3",
- "strip-ansi": "^6.0.1",
- "text-table": "^0.2.0"
- },
- "bin": {
- "eslint": "bin/eslint.js"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/eslint-plugin-react-hooks": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz",
- "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "peerDependencies": {
- "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0"
- }
- },
- "node_modules/eslint-plugin-react-refresh": {
- "version": "0.4.26",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.26.tgz",
- "integrity": "sha512-1RETEylht2O6FM/MvgnyvT+8K21wLqDNg4qD51Zj3guhjt433XbnnkVttHMyaVyAFD03QSV4LPS5iE3VQmO7XQ==",
- "dev": true,
- "peerDependencies": {
- "eslint": ">=8.40"
- }
- },
- "node_modules/eslint-scope": {
- "version": "7.2.2",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
- "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
- "dev": true,
- "dependencies": {
- "esrecurse": "^4.3.0",
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/eslint-visitor-keys": {
- "version": "3.4.3",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
- "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
- "dev": true,
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/eslint/node_modules/brace-expansion": {
- "version": "1.1.14",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz",
- "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/eslint/node_modules/minimatch": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
- "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/espree": {
- "version": "9.6.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
- "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
- "dev": true,
- "dependencies": {
- "acorn": "^8.9.0",
- "acorn-jsx": "^5.3.2",
- "eslint-visitor-keys": "^3.4.1"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/esquery": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",
- "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==",
- "dev": true,
- "dependencies": {
- "estraverse": "^5.1.0"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/esrecurse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
- "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
- "dependencies": {
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/estraverse": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
- "engines": {
- "node": ">=4.0"
- }
- },
"node_modules/estree-walker": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
@@ -3466,15 +2829,6 @@
"@types/estree": "^1.0.0"
}
},
- "node_modules/esutils": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/eventemitter3": {
"version": "4.0.7",
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
@@ -3490,12 +2844,6 @@
"node": ">=12.0.0"
}
},
- "node_modules/fast-deep-equal": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
- "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
- "dev": true
- },
"node_modules/fast-equals": {
"version": "5.4.0",
"resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-5.4.0.tgz",
@@ -3532,18 +2880,6 @@
"node": ">= 6"
}
},
- "node_modules/fast-json-stable-stringify": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true
- },
- "node_modules/fast-levenshtein": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true
- },
"node_modules/fastq": {
"version": "1.20.1",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",
@@ -3553,18 +2889,6 @@
"reusify": "^1.0.4"
}
},
- "node_modules/file-entry-cache": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
- "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
- "dev": true,
- "dependencies": {
- "flat-cache": "^3.0.4"
- },
- "engines": {
- "node": "^10.12.0 || >=12.0.0"
- }
- },
"node_modules/fill-range": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
@@ -3577,42 +2901,6 @@
"node": ">=8"
}
},
- "node_modules/find-up": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
- "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
- "dev": true,
- "dependencies": {
- "locate-path": "^6.0.0",
- "path-exists": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/flat-cache": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
- "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
- "dev": true,
- "dependencies": {
- "flatted": "^3.2.9",
- "keyv": "^4.5.3",
- "rimraf": "^3.0.2"
- },
- "engines": {
- "node": "^10.12.0 || >=12.0.0"
- }
- },
- "node_modules/flatted": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz",
- "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==",
- "dev": true
- },
"node_modules/follow-redirects": {
"version": "1.16.0",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz",
@@ -3693,12 +2981,6 @@
"url": "https://github.com/sponsors/rawify"
}
},
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
- },
"node_modules/fsevents": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
@@ -3752,117 +3034,39 @@
"function-bind": "^1.1.2",
"get-proto": "^1.0.1",
"gopd": "^1.2.0",
- "has-symbols": "^1.1.0",
- "hasown": "^2.0.2",
- "math-intrinsics": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
- "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
- "dependencies": {
- "dunder-proto": "^1.0.1",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",
- "dev": true,
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/glob-parent": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
- "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
- "dependencies": {
- "is-glob": "^4.0.3"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/glob/node_modules/brace-expansion": {
- "version": "1.1.14",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz",
- "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/glob/node_modules/minimatch": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
- "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "math-intrinsics": "^1.1.0"
},
"engines": {
- "node": "*"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/globals": {
- "version": "13.24.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
- "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
- "dev": true,
+ "node_modules/get-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
"dependencies": {
- "type-fest": "^0.20.2"
+ "dunder-proto": "^1.0.1",
+ "es-object-atoms": "^1.0.0"
},
"engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">= 0.4"
}
},
- "node_modules/globby": {
- "version": "11.1.0",
- "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
- "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
"dev": true,
"dependencies": {
- "array-union": "^2.1.0",
- "dir-glob": "^3.0.1",
- "fast-glob": "^3.2.9",
- "ignore": "^5.2.0",
- "merge2": "^1.4.1",
- "slash": "^3.0.0"
+ "is-glob": "^4.0.3"
},
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=10.13.0"
}
},
"node_modules/gopd": {
@@ -3876,12 +3080,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/graphemer": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
- "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
- "dev": true
- },
"node_modules/has-bigints": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz",
@@ -3973,57 +3171,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/ignore": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
- "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
- "dev": true,
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/import-fresh": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
- "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
- "dev": true,
- "dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/imurmurhash": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
- "engines": {
- "node": ">=0.8.19"
- }
- },
- "node_modules/inflight": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
- "dev": true,
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
- },
"node_modules/internal-slot": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",
@@ -4242,15 +3389,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/is-path-inside": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
- "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/is-potential-custom-element-name": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
@@ -4468,18 +3606,6 @@
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
- "node_modules/js-yaml": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
- "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
- "dev": true,
- "dependencies": {
- "argparse": "^2.0.1"
- },
- "bin": {
- "js-yaml": "bin/js-yaml.js"
- }
- },
"node_modules/jsdom": {
"version": "29.1.1",
"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-29.1.1.tgz",
@@ -4543,24 +3669,6 @@
"node": ">=6"
}
},
- "node_modules/json-buffer": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
- "dev": true
- },
- "node_modules/json-schema-traverse": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
- },
- "node_modules/json-stable-stringify-without-jsonify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true
- },
"node_modules/json5": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
@@ -4573,28 +3681,6 @@
"node": ">=6"
}
},
- "node_modules/keyv": {
- "version": "4.5.4",
- "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
- "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
- "dev": true,
- "dependencies": {
- "json-buffer": "3.0.1"
- }
- },
- "node_modules/levn": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
- "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
- "dependencies": {
- "prelude-ls": "^1.2.1",
- "type-check": "~0.4.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
"node_modules/lilconfig": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
@@ -4613,32 +3699,11 @@
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
"dev": true
},
- "node_modules/locate-path": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
- "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
- "dev": true,
- "dependencies": {
- "p-locate": "^5.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/lodash": {
"version": "4.18.1",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz",
"integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q=="
},
- "node_modules/lodash.merge": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
- "dev": true
- },
"node_modules/loose-envify": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
@@ -4778,21 +3843,6 @@
"node": ">= 0.6"
}
},
- "node_modules/minimatch": {
- "version": "9.0.3",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
- "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
"node_modules/minipass": {
"version": "7.1.3",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",
@@ -4838,12 +3888,6 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
- "node_modules/natural-compare": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
- "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true
- },
"node_modules/node-releases": {
"version": "2.0.37",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.37.tgz",
@@ -4937,62 +3981,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "dev": true,
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/optionator": {
- "version": "0.9.4",
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
- "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
- "dev": true,
- "dependencies": {
- "deep-is": "^0.1.3",
- "fast-levenshtein": "^2.0.6",
- "levn": "^0.4.1",
- "prelude-ls": "^1.2.1",
- "type-check": "^0.4.0",
- "word-wrap": "^1.2.5"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/p-limit": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
- "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
- "dev": true,
- "dependencies": {
- "yocto-queue": "^0.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/p-locate": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
- "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
- "dev": true,
- "dependencies": {
- "p-limit": "^3.0.2"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/package-json-from-dist": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
@@ -5000,18 +3988,6 @@
"dev": true,
"license": "BlueOak-1.0.0"
},
- "node_modules/parent-module": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
- "dependencies": {
- "callsites": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/parse5": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.1.tgz",
@@ -5025,24 +4001,6 @@
"url": "https://github.com/inikulin/parse5?sponsor=1"
}
},
- "node_modules/path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/path-key": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
@@ -5082,15 +4040,6 @@
"dev": true,
"license": "ISC"
},
- "node_modules/path-type": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
- "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/pathe": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz",
@@ -5354,15 +4303,6 @@
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
"dev": true
},
- "node_modules/prelude-ls": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
- "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true,
- "engines": {
- "node": ">= 0.8.0"
- }
- },
"node_modules/pretty-format": {
"version": "27.5.1",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
@@ -5675,15 +4615,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/resolve-from": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
"node_modules/reusify": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
@@ -5694,22 +4625,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/rimraf": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
- "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
- "deprecated": "Rimraf versions prior to v4 are no longer supported",
- "dev": true,
- "dependencies": {
- "glob": "^7.1.3"
- },
- "bin": {
- "rimraf": "bin.js"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
"node_modules/rollup": {
"version": "4.60.2",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.2.tgz",
@@ -5979,15 +4894,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/slash": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
- "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/source-map-js": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
@@ -6121,18 +5027,6 @@
"node": ">=8"
}
},
- "node_modules/strip-json-comments": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
- "dev": true,
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/sucrase": {
"version": "3.35.1",
"resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
@@ -6315,12 +5209,6 @@
"node": "18 || 20 || >=22"
}
},
- "node_modules/text-table": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
- "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
- "dev": true
- },
"node_modules/thenify": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
@@ -6494,18 +5382,6 @@
"node": ">=20"
}
},
- "node_modules/ts-api-utils": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz",
- "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==",
- "dev": true,
- "engines": {
- "node": ">=16"
- },
- "peerDependencies": {
- "typescript": ">=4.2.0"
- }
- },
"node_modules/ts-custom-error": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/ts-custom-error/-/ts-custom-error-3.3.1.tgz",
@@ -6520,30 +5396,6 @@
"integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
"dev": true
},
- "node_modules/type-check": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
- "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
- "dev": true,
- "dependencies": {
- "prelude-ls": "^1.2.1"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/type-fest": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
- "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
@@ -6597,15 +5449,6 @@
"browserslist": ">= 4.21.0"
}
},
- "node_modules/uri-js": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
- "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
- "dev": true,
- "dependencies": {
- "punycode": "^2.1.0"
- }
- },
"node_modules/use-sync-external-store": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",
@@ -6930,15 +5773,6 @@
"node": ">=8"
}
},
- "node_modules/word-wrap": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
- "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/wrap-ansi": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
@@ -7040,12 +5874,6 @@
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
- "node_modules/wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
- "dev": true
- },
"node_modules/xml-name-validator": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz",
@@ -7069,18 +5897,6 @@
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
"dev": true
},
- "node_modules/yocto-queue": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/zustand": {
"version": "4.5.7",
"resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",
diff --git a/web/package.json b/web/package.json
index 4ea9714..e72ab30 100644
--- a/web/package.json
+++ b/web/package.json
@@ -7,7 +7,6 @@
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"type-check": "tsc --noEmit",
"test:unit": "cross-env TZ=America/New_York vitest run",
"test:unit:watch": "cross-env TZ=America/New_York vitest",
@@ -34,16 +33,11 @@
"@testing-library/react": "^14.3.1",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
- "@typescript-eslint/eslint-plugin": "^6.14.0",
- "@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-basic-ssl": "^1.2.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^2.1.9",
"autoprefixer": "^10.4.16",
"cross-env": "^10.1.0",
- "eslint": "^8.55.0",
- "eslint-plugin-react-hooks": "^4.6.0",
- "eslint-plugin-react-refresh": "^0.4.5",
"jsdom": "^29.1.1",
"postcss": "^8.4.32",
"tailwindcss": "^3.4.1",