Compare commits

..

2 commits

Author SHA1 Message Date
1b6024f1e1 fix: build errors 2026-05-13 13:55:55 +01:00
c06a92b768 fix: don't show all fields in profile info api 2026-05-13 13:39:13 +01:00
8 changed files with 687 additions and 602 deletions

6
.dockerignore Normal file
View file

@ -0,0 +1,6 @@
node_modules
.next
.git
dist
build
.env

View file

@ -3,7 +3,7 @@ FROM node:23-alpine AS base
WORKDIR /app WORKDIR /app
RUN apk add --no-cache libc6-compat RUN apk add --no-cache libc6-compat
RUN corepack enable && corepack prepare pnpm@latest --activate RUN corepack enable && corepack prepare pnpm@11.1.1 --activate
FROM base AS deps FROM base AS deps
WORKDIR /app WORKDIR /app

View file

@ -13,7 +13,7 @@
"dependencies": { "dependencies": {
"@2toad/profanity": "^3.3.0", "@2toad/profanity": "^3.3.0",
"@auth/prisma-adapter": "2.11.1", "@auth/prisma-adapter": "2.11.1",
"@prisma/client": "^6.19.2", "@prisma/client": "^6.19.3",
"@tomodachi-share/shared": "workspace:*", "@tomodachi-share/shared": "workspace:*",
"bit-buffer": "^0.3.0", "bit-buffer": "^0.3.0",
"charinfo-ex": "^0.0.5", "charinfo-ex": "^0.0.5",
@ -23,28 +23,28 @@
"next": "16.2.3", "next": "16.2.3",
"next-auth": "5.0.0-beta.30", "next-auth": "5.0.0-beta.30",
"qrcode-generator": "^2.0.4", "qrcode-generator": "^2.0.4",
"react": "^19.2.5", "react": "^19.2.6",
"react-dom": "^19.2.5", "react-dom": "^19.2.6",
"redis": "^5.11.0", "redis": "^5.12.1",
"satori": "^0.26.0", "satori": "^0.26.0",
"sharp": "^0.34.5", "sharp": "^0.34.5",
"sjcl-with-all": "1.0.8", "sjcl-with-all": "1.0.8",
"zod": "^4.3.6" "zod": "^4.4.3"
}, },
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "^3.3.5", "@eslint/eslintrc": "^3.3.5",
"@iconify/react": "^6.0.2", "@iconify/react": "^6.0.2",
"@tailwindcss/postcss": "^4.2.2", "@tailwindcss/postcss": "^4.3.0",
"@types/node": "^25.6.0", "@types/node": "^25.7.0",
"@types/react": "^19.2.14", "@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"@types/sjcl": "^1.0.34", "@types/sjcl": "^1.0.34",
"eslint": "^10.2.0", "eslint": "^10.3.0",
"eslint-config-next": "16.2.3", "eslint-config-next": "16.2.3",
"prisma": "^6.19.2", "prisma": "^6.19.3",
"schema-dts": "^2.0.0", "schema-dts": "^2.0.0",
"tailwindcss": "^4.2.2", "tailwindcss": "^4.3.0",
"typescript": "^6.0.2" "typescript": "^6.0.3"
}, },
"exports": { "exports": {
".": "./src/types.d.ts" ".": "./src/types.d.ts"

View file

@ -12,7 +12,12 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
where: { where: {
id: userId, id: userId,
}, },
include: { select: {
id: true,
name: true,
image: true,
description: true,
createdAt: true,
_count: { _count: {
select: { select: {
likes: true, likes: true,

View file

@ -14,7 +14,7 @@
"@fontsource-variable/lexend": "^5.2.11", "@fontsource-variable/lexend": "^5.2.11",
"@hello-pangea/dnd": "^18.0.1", "@hello-pangea/dnd": "^18.0.1",
"@nanostores/react": "^1.1.0", "@nanostores/react": "^1.1.0",
"@tailwindcss/vite": "^4.2.2", "@tailwindcss/vite": "^4.3.0",
"@tomodachi-share/shared": "workspace:*", "@tomodachi-share/shared": "workspace:*",
"@types/react": "^19.2.14", "@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
@ -23,31 +23,31 @@
"downshift": "^9.3.2", "downshift": "^9.3.2",
"embla-carousel-react": "^8.6.0", "embla-carousel-react": "^8.6.0",
"jsqr": "^1.4.0", "jsqr": "^1.4.0",
"nanostores": "^1.2.0", "nanostores": "^1.3.0",
"qrcode-generator": "^2.0.4", "qrcode-generator": "^2.0.4",
"react": "^19.2.4", "react": "^19.2.6",
"react-dom": "^19.2.4", "react-dom": "^19.2.6",
"react-dropzone": "^15.0.0", "react-dropzone": "^15.0.0",
"react-image-crop": "^11.0.10", "react-image-crop": "^11.0.10",
"react-router": "^7.14.1", "react-router": "^7.15.0",
"tailwindcss": "^4.2.2", "tailwindcss": "^4.3.0",
"vite-plugin-node-polyfills": "^0.26.0", "vite-plugin-node-polyfills": "^0.26.0",
"zod": "^4.3.6" "zod": "^4.4.3"
}, },
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.39.4", "@eslint/js": "^9.39.4",
"@iconify/react": "^6.0.2", "@iconify/react": "^6.0.2",
"@types/canvas-confetti": "^1.9.0", "@types/canvas-confetti": "^1.9.0",
"@types/node": "^24.12.2", "@types/node": "^24.12.4",
"@types/react": "^19.2.14", "@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1", "@vitejs/plugin-react": "^6.0.1",
"eslint": "^9.39.4", "eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2", "eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.4.0", "globals": "^17.6.0",
"typescript": "~6.0.2", "typescript": "~6.0.3",
"typescript-eslint": "^8.58.0", "typescript-eslint": "^8.59.3",
"vite": "^8.0.4" "vite": "^8.0.12"
} }
} }

View file

@ -9,5 +9,5 @@
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"packageManager": "pnpm@10.33.2" "packageManager": "pnpm@11.1.1"
} }

File diff suppressed because it is too large Load diff

View file

@ -2,3 +2,10 @@ packages:
- "backend" - "backend"
- "frontend" - "frontend"
- "shared" - "shared"
allowBuilds:
"@prisma/client": true
"@prisma/engines": true
esbuild: false
prisma: true
sharp: true
unrs-resolver: false