Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/api/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ primary_region = 'sin'
internal_port = 2525

[[services.ports]]
port = 2525
port = 25

[[vm]]
memory = '256mb'
Expand Down
12 changes: 6 additions & 6 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
Expand All @@ -23,12 +23,12 @@
"dependencies": {
"@nestjs/common": "^11.0.1",
"@nestjs/config": "^4.0.3",
"@nestjs/core": "^11.0.1",
"@nestjs/core": "^11.1.16",
"@nestjs/jwt": "^10.2.0",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^11.0.1",
"@nestjs/platform-express": "^11.1.16",
"@nestjs/swagger": "^11.2.6",
"@nestjs/throttler": "^6.2.1",
"@nestjs/throttler": "^6.5.0",
"@prisma/client": "^6.19.2",
"@types/cookie-parser": "^1.4.10",
"@types/csurf": "^1.11.5",
Expand All @@ -48,9 +48,9 @@
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@nestjs/cli": "^11.0.0",
"@nestjs/cli": "^11.0.16",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",
"@nestjs/testing": "^11.1.16",
"@swc/cli": "^0.6.0",
"@swc/core": "^1.10.7",
"@types/bcrypt": "^5.0.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";
import "./.next/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@repo/ui": "workspace:*",
"next": "^16.1.5",
"next": "^16.1.6",
"react": "^19.2.0",
"react-dom": "^19.1.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default function EmailDetailPage() {
<div className="flex items-center space-x-3">
<button
onClick={() => markAsRead(!email.isRead)}
className="px-3 py-1 text-sm border border-gray-300 rounded-md hover:bg-gray-50 transition-colors"
className="px-3 py-1 text-sm bg-white border border-gray-300 rounded-md hover:bg-gray-50 transition-colors"
>
Mark as {email.isRead ? 'Unread' : 'Read'}
</button>
Expand Down Expand Up @@ -281,12 +281,21 @@ export default function EmailDetailPage() {

{/* Email Content */}
{viewMode === 'html' && email.bodyHtml ? (
<div className="border border-gray-200 rounded-md p-4">
<div className="border border-gray-200 rounded-md p-4 flex-1">
<iframe
srcDoc={email.bodyHtml}
className="w-full min-h-96 border-0"
sandbox="allow-same-origin"
className="w-full border-0"
style={{ minHeight: 'calc(100vh - 420px)' }}
sandbox="allow-same-origin allow-popups allow-popups-to-escape-sandbox"
title="Email content"
onLoad={(e) => {
const iframe = e.target as HTMLIFrameElement;
if (iframe.contentDocument?.body) {
const contentHeight = iframe.contentDocument.body.scrollHeight;
const availableHeight = window.innerHeight - 420;
iframe.style.height = Math.max(contentHeight, availableHeight) + 'px';
}
}}
/>
</div>
) : (
Expand Down
2 changes: 1 addition & 1 deletion apps/web/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";
import "./.next/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@
"prettier-plugin-tailwindcss": "^0.6.11",
"turbo": "^2.6.0"
},
"pnpm": {
"overrides": {
"minimatch@<3.1.4": "3.1.4",
"minimatch@>=9.0.0 <9.0.7": "9.0.7",
"lodash@<=4.17.22": "4.17.23",
"js-yaml@<3.14.2": "3.14.2",
"js-yaml@>=4.0.0 <4.1.1": "4.1.1",
"ajv@<6.14.0": "6.14.0",
"ajv@>=7.0.0-alpha.0 <8.18.0": "8.18.0",
"qs@<6.14.2": "6.14.2",
"cookie@<0.7.0": "0.7.0",
"diff@<4.0.4": "4.0.4"
}
},
"packageManager": "pnpm@10.19.0",
"engines": {
"node": ">=18"
Expand Down
Loading