photos/package.json
Michael Mainguy b4b248925f Fix docs page layout and suppress Swagger UI React warnings
- Create ConditionalLayout component to exclude sidebar from /docs routes
- Replace direct MainLayout usage in root layout with route-based conditional rendering
- Implement SwaggerUIWrapper component to suppress React strict mode warnings
- Add comprehensive console warning filtering for UNSAFE lifecycle methods
- Update webpack configuration to ignore third-party component warnings
- Install string-replace-loader for enhanced warning suppression
- Maintain full API documentation functionality while providing clean console output

Fixes issue where docs page showed unwanted sidebar and resolves console warnings from swagger-ui-react components using deprecated React lifecycle methods.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 19:54:48 -05:00

43 lines
1.0 KiB
JSON

{
"name": "photos",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"@tabler/icons-react": "^3.34.1",
"@types/better-sqlite3": "^7.6.13",
"@xenova/transformers": "^2.17.2",
"better-sqlite3": "^12.2.0",
"exif-reader": "^2.0.2",
"glob": "^11.0.3",
"next": "^15.5.0",
"next-swagger-doc": "^0.4.1",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-share": "^5.2.2",
"redoc": "^2.5.0",
"sharp": "^0.34.3",
"swagger-ui-react": "^5.27.1"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.12",
"@types/node": "^24.3.0",
"@types/react": "^19.1.11",
"@types/react-dom": "^19.1.8",
"autoprefixer": "^10.4.21",
"postcss": "^8.5.6",
"string-replace-loader": "^3.2.0",
"tailwindcss": "^4.1.12",
"typescript": "^5.9.2"
}
}