From 76428373e4ad94ec29dd58ee293a68b0b67429dc Mon Sep 17 00:00:00 2001 From: Alessio Gravili Date: Mon, 9 Dec 2024 19:11:51 -0700 Subject: [PATCH] docs: properly capitalize SQLite and Next.js (#9848) --- docs/getting-started/installation.mdx | 2 +- docs/local-api/overview.mdx | 4 ++-- docs/migration-guide/overview.mdx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/getting-started/installation.mdx b/docs/getting-started/installation.mdx index 56f01f083..dfcd83ef9 100644 --- a/docs/getting-started/installation.mdx +++ b/docs/getting-started/installation.mdx @@ -12,7 +12,7 @@ Payload requires the following software: - Any JavaScript package manager (pnpm, npm, or yarn - pnpm is preferred) - Node.js version 20.9.0+ -- Any [compatible database](/docs/database/overview) (MongoDB, Postgres or Sqlite) +- Any [compatible database](/docs/database/overview) (MongoDB, Postgres or SQLite) Important: diff --git a/docs/local-api/overview.mdx b/docs/local-api/overview.mdx index 9912462af..31fd1071d 100644 --- a/docs/local-api/overview.mdx +++ b/docs/local-api/overview.mdx @@ -307,13 +307,13 @@ available: ### Auth ```js -// If you're using nextjs, you'll have to import headers from next/headers, like so: +// If you're using Next.js, you'll have to import headers from next/headers, like so: // import { headers as nextHeaders } from 'next/headers' // you'll also have to await headers inside your function, or component, like so: // const headers = await nextHeaders() -// If you're using payload outside of NextJS, you'll have to provide headers accordingly. +// If you're using payload outside of Next.js, you'll have to provide headers accordingly. // result will be formatted as follows: // { diff --git a/docs/migration-guide/overview.mdx b/docs/migration-guide/overview.mdx index bf2ebe5a7..d009b05fe 100644 --- a/docs/migration-guide/overview.mdx +++ b/docs/migration-guide/overview.mdx @@ -40,7 +40,7 @@ Payload 3.0 requires a set of auto-generated files that you will need to bring i For more details, see the [Documentation](https://payloadcms.com/docs/getting-started/installation). -1. **Install new dependencies of payload, next.js and react**: +1. **Install new dependencies of Payload, Next.js and React**: Refer to the package.json file made in the create-payload-app, including peerDependencies, devDependencies, and dependencies. The core package and plugins require all versions to be synced. Previously, on 2.x it was possible to be running the latest version of payload 2.x with an older version of db-mongodb for example. This is no longer the case. @@ -412,7 +412,7 @@ For more details, see the [Documentation](https://payloadcms.com/docs/getting-st } }) ``` -1. The `./src/public` directory is now located directly at root level `./public` [see nextJS docs for details](https://nextjs.org/docs/pages/building-your-application/optimizing/static-assets) +1. The `./src/public` directory is now located directly at root level `./public` [see Next.js docs for details](https://nextjs.org/docs/pages/building-your-application/optimizing/static-assets) ## Custom Components