- Add S3 client helper (src/lib/s3.ts) with upload/download functions - Add /api/deployments/[uuid]/preview endpoint for presigned URLs - Update DeploymentDashboard to fetch and display preview images - Install @aws-sdk/client-s3 and @aws-sdk/s3-request-presigner Storage: MinIO bucket nuc-portal-previews with dedicated service account Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
35 lines
825 B
JSON
35 lines
825 B
JSON
{
|
|
"name": "nuc-portal",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Self-hosted services dashboard for the NUC server",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.984.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.984.0",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"next": "16.1.6",
|
|
"pg": "^8.18.0",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"recharts": "^3.7.0",
|
|
"swr": "^2.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/pg": "^8.16.0",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.6",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|