From d3d7ce01b8078c8bedddc49f382df52865fb3990 Mon Sep 17 00:00:00 2001 From: SJCoetz Date: Mon, 3 Aug 2026 00:40:43 +0200 Subject: [PATCH] build: add Gmail SMTP dependencies Co-Authored-By: Claude Co-authored-by: Orca --- package.json | 5 ++++- pnpm-lock.yaml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 565d6a88..2e0c7c01 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "build": "next build", "start": "next start -p 4004", "lint": "eslint", - "pb:setup": "tsx scripts/setup-pb.mjs" + "pb:setup": "tsx scripts/setup-pb.mjs", + "test": "tsx --test lib/email.test.ts" }, "dependencies": { "@hookform/resolvers": "^5.4.0", @@ -32,6 +33,7 @@ "nanoid": "^6.0.0", "next": "16.2.10", "next-themes": "^0.4.6", + "nodemailer": "^9.0.3", "pdf-lib": "^1.17.1", "pocketbase": "^0.27.0", "react": "19.2.4", @@ -46,6 +48,7 @@ "devDependencies": { "@tailwindcss/postcss": "^4", "@types/node": "^20", + "@types/nodemailer": "^8.0.1", "@types/react": "^19", "@types/react-dom": "^19", "better-sqlite3": "^12.11.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index abb704f5..3939a539 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -74,6 +74,9 @@ importers: next-themes: specifier: ^0.4.6 version: 0.4.6(react-dom@19.2.4(react@19.2.4))(react@19.2.4) + nodemailer: + specifier: ^9.0.3 + version: 9.0.3 pdf-lib: specifier: ^1.17.1 version: 1.17.1 @@ -111,6 +114,9 @@ importers: '@types/node': specifier: ^20 version: 20.19.43 + '@types/nodemailer': + specifier: ^8.0.1 + version: 8.0.1 '@types/react': specifier: ^19 version: 19.2.17 @@ -1316,6 +1322,9 @@ packages: '@types/node@20.19.43': resolution: {integrity: sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA==} + '@types/nodemailer@8.0.1': + resolution: {integrity: sha512-PxpaInm8V1JQDd4j0ds5HfvWQk8JupS1C0Picb96QJsrrRDjBH+DlK7L4ZdNSqNULhiZRQHc40nLVShaGxXAMw==} + '@types/react-dom@19.2.3': resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==} peerDependencies: @@ -2594,6 +2603,10 @@ packages: resolution: {integrity: sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ==} engines: {node: '>=18'} + nodemailer@9.0.3: + resolution: {integrity: sha512-n+YP+NKwR5zRWa60k3GiQ6Q3B4KXCoAw40dAKeCtYn020iNN74aWK2liXIC3ZEATeGql7we3tE3t8QwhY0eskw==} + engines: {node: '>=6.0.0'} + object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} @@ -4248,6 +4261,10 @@ snapshots: dependencies: undici-types: 6.21.0 + '@types/nodemailer@8.0.1': + dependencies: + '@types/node': 20.19.43 + '@types/react-dom@19.2.3(@types/react@19.2.17)': dependencies: '@types/react': 19.2.17 @@ -5634,6 +5651,8 @@ snapshots: node-releases@2.0.51: {} + nodemailer@9.0.3: {} + object-assign@4.1.1: {} object-inspect@1.13.4: {}