1 Commits

Author SHA1 Message Date
dependabot[bot]
b8c8110f91 Bump nodemailer from 7.0.6 to 7.0.7
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 7.0.6 to 7.0.7.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v7.0.6...v7.0.7)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 7.0.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 19:28:27 +00:00
7 changed files with 15 additions and 25 deletions

View File

@@ -1,3 +0,0 @@
ADMIN_DOMAIN = http://localhost:9001
DATABASE_URL = postgresql://postgres:postgres@localhost:5432/nextplacement
AUTH_SECRET= change_me_to_a_long_random_string

View File

@@ -5,8 +5,8 @@
"private": true,
"scripts": {
"dev": "dotenv -e ../../.env -- next dev --turbopack -p 9001",
"build": "dotenv -e ../../.env -- next build && cp -r .next/static .next/standalone/apps/admin/.next/static && cp -r public .next/standalone/apps/admin/public",
"start": "PORT=9001 dotenv -e ../../.env -- node .next/standalone/apps/admin/server.js",
"build": "dotenv -e ../../.env -- next build",
"start": "dotenv -e ../../.env -- next start -p 9001",
"lint": "next lint",
"lint:fix": "next lint --fix",
"typecheck": "tsc --noEmit"

View File

@@ -2,7 +2,6 @@
import path from 'path';
const __dirname = path.resolve();
const adminDomain = process.env.ADMIN_DOMAIN || "http://localhost:9001";
const nextConfig = {
transpilePackages: ['@workspace/ui', '@workspace/db'],
@@ -12,15 +11,15 @@ const nextConfig = {
return [
{
source: '/admin',
destination: `${adminDomain}/admin`,
destination: `${process.env.ADMIN_DOMAIN}/admin`,
},
{
source: '/admin/:path+',
destination: `${adminDomain}/admin/:path+`,
destination: `${process.env.ADMIN_DOMAIN}/admin/:path+`,
},
{
source: '/admin-static/:path+',
destination: `${adminDomain}/admin-static/:path+`,
destination: `${process.env.ADMIN_DOMAIN}/admin-static/:path+`,
}
];
}

View File

@@ -5,8 +5,8 @@
"private": true,
"scripts": {
"dev": "dotenv -e ../../.env -- next dev --turbopack -p 9000",
"build": "dotenv -e ../../.env -- next build && cp -r .next/static .next/standalone/apps/student/.next/static && cp -r public .next/standalone/apps/student/public",
"start": "PORT=9000 dotenv -e ../../.env -- node .next/standalone/apps/student/server.js",
"build": "dotenv -e ../../.env -- next build",
"start": "dotenv -e ../../.env -- next start -p 9000",
"lint": "next lint",
"lint:fix": "next lint --fix",
"typecheck": "tsc --noEmit"

View File

@@ -34,6 +34,6 @@
]
},
"dependencies": {
"nodemailer": "^7.0.6"
"nodemailer": "^7.0.7"
}
}

View File

@@ -1,12 +1,6 @@
import { drizzle } from 'drizzle-orm/neon-http';
import * as schema from './schema.ts';
const databaseUrl = process.env.DATABSE_URL;
export const db = drizzle(process.env.DATABASE_URL!, { schema });
if(!databaseUrl) {
throw new Error{
"DTABASE_URL is missing. Create the required env file (see .env.example) and set DATABASE_URL"
};
}
export const db = drizzle(databaseUrl, { schema });
export * from './schema.ts';

10
pnpm-lock.yaml generated
View File

@@ -9,8 +9,8 @@ importers:
.:
dependencies:
nodemailer:
specifier: ^7.0.6
version: 7.0.6
specifier: ^7.0.7
version: 7.0.7
devDependencies:
'@eslint/js':
specifier: ^9.32.0
@@ -3269,8 +3269,8 @@ packages:
resolution: {integrity: sha512-Z+iLaBGVaSjbIzQ4pX6XV41HrooLsQ10ZWPUehGmuantvzWoDVBnmsdUcOIDM1t+yPor5pDhVlDESgOMEGxhHA==}
engines: {node: '>=6.0.0'}
nodemailer@7.0.6:
resolution: {integrity: sha512-F44uVzgwo49xboqbFgBGkRaiMgtoBrBEWCVincJPK9+S9Adkzt/wXCLKbf7dxucmxfTI5gHGB+bEmdyzN6QKjw==}
nodemailer@7.0.7:
resolution: {integrity: sha512-jGOaRznodf62TVzdyhKt/f1Q/c3kYynk8629sgJHpRzGZj01ezbgMMWJSAjHADcwTKxco3B68/R+KHJY2T5BaA==}
engines: {node: '>=6.0.0'}
npm-run-path@4.0.1:
@@ -7271,7 +7271,7 @@ snapshots:
nodemailer@6.10.1: {}
nodemailer@7.0.6: {}
nodemailer@7.0.7: {}
npm-run-path@4.0.1:
dependencies: