Bumps the following dependencies: - next - typescript - http-status - nodemailer - Payload & next versions in all templates - Monorepo only: playwright and dotenv Removes unused dependencies: - ts-jest - jest-environment-jsdom - resend (we don't use their sdk, we only use their rest API)
Payload MongoDB Adapter
Official MongoDB adapter for Payload.
Installation
npm install @payloadcms/db-mongodb
Usage
import { buildConfig } from 'payload'
import { mongooseAdapter } from '@payloadcms/db-mongodb'
export default buildConfig({
db: mongooseAdapter({
url: process.env.DATABASE_URI,
}),
// ...rest of config
})
More detailed usage can be found in the Payload Docs.