From 225e051481358645bd20df33daa7d4142319e2cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Mon, 25 Sep 2023 16:23:10 +0200 Subject: [PATCH] chore: NextJS -> Next.js --- examples/cms-agilitycms/README.md | 2 +- examples/cms-buttercms/app.json | 2 +- examples/cms-payload/README.md | 2 +- examples/with-aws-amplify/README.md | 2 +- examples/with-clerk/app/page.tsx | 2 +- examples/with-geist-ui/pages/index.tsx | 2 +- examples/with-mdbreact/pages/index.js | 2 +- examples/with-paste-typescript/pages/index.tsx | 4 ++-- examples/with-sentry/pages/index.tsx | 4 ++-- examples/with-styled-components-babel/README.md | 2 +- examples/with-tigris/README.md | 2 +- packages/create-next-app/helpers/examples.ts | 2 +- packages/eslint-plugin-next/package.json | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/cms-agilitycms/README.md b/examples/cms-agilitycms/README.md index 800a24dae19df..4a143b8d831ef 100644 --- a/examples/cms-agilitycms/README.md +++ b/examples/cms-agilitycms/README.md @@ -321,7 +321,7 @@ Alternatively, you can deploy using our template by clicking on the Deploy butto ### Step 18. Try preview mode -Now that you've deployed your app to Vercel, take note of the URL of your deployed site. This will be registered in Agility CMS so that when editors click the `Preview` button within Agility CMS, your app is loaded in **Preview Mode**. Learn more about [NextJS Preview Mode](https://nextjs.org/docs/advanced-features/preview-mode)). +Now that you've deployed your app to Vercel, take note of the URL of your deployed site. This will be registered in Agility CMS so that when editors click the `Preview` button within Agility CMS, your app is loaded in **Preview Mode**. Learn more about [Next.js Preview Mode](https://nextjs.org/docs/advanced-features/preview-mode)). To enable the Preview Mode, you'll need to add your site to **Domain Configuration** in Agility CMS: diff --git a/examples/cms-buttercms/app.json b/examples/cms-buttercms/app.json index 4d4c60d77be70..812338e34d889 100644 --- a/examples/cms-buttercms/app.json +++ b/examples/cms-buttercms/app.json @@ -1,5 +1,5 @@ { - "name": "ButterCMS NextJS Starter Project ", + "name": "ButterCMS Next.js Starter Project ", "description": "Drop-in proof-of-concept NextJs app, fully integrated with your ButterCMS account.", "repository": "https://github.com/ButterCMS/nextjs-starter-buttercms", "logo": "https://cdn.buttercms.com/R3fbtvoRT2CqEQSmk8hb", diff --git a/examples/cms-payload/README.md b/examples/cms-payload/README.md index 73ca6c545e465..1341d0802299c 100644 --- a/examples/cms-payload/README.md +++ b/examples/cms-payload/README.md @@ -1,6 +1,6 @@ # Next + Payload Serverless Demo -This is a demo showing how to utilize `@payloadcms/next-payload` to deploy Payload serverlessly, in the same repo alongside of a NextJS app. +This is a demo showing how to utilize `@payloadcms/next-payload` to deploy Payload serverlessly, in the same repo alongside of a Next.js app. ## Deploy your own diff --git a/examples/with-aws-amplify/README.md b/examples/with-aws-amplify/README.md index a8f6b8e37410a..45a8e636886d6 100644 --- a/examples/with-aws-amplify/README.md +++ b/examples/with-aws-amplify/README.md @@ -2,7 +2,7 @@ [![amplifybutton](https://oneclick.amplifyapp.com/button.svg)](https://console.aws.amazon.com/amplify/home#/deploy?repo=https://github.com/vercel/next.js/tree/canary/examples/with-aws-amplify) -This example shows how to build a server rendered web application with NextJS and AWS Amplify. We use AWS Amplify to generate code and to manage and consume the AWS cloud resources needed for our app. The NextJS app has dynamic and static routes to demonstrate how to load data on the server based on the incoming request. +This example shows how to build a server rendered web application with Next.js and AWS Amplify. We use AWS Amplify to generate code and to manage and consume the AWS cloud resources needed for our app. The Next.js app has dynamic and static routes to demonstrate how to load data on the server based on the incoming request. Two routes are implemented : diff --git a/examples/with-clerk/app/page.tsx b/examples/with-clerk/app/page.tsx index 4bf8d5254e42b..ffb9d79b397c9 100644 --- a/examples/with-clerk/app/page.tsx +++ b/examples/with-clerk/app/page.tsx @@ -96,7 +96,7 @@ const Main = () => ( rel="noreferrer" className={styles.link} > - Read NextJS documentation + Read Next.js documentation diff --git a/examples/with-geist-ui/pages/index.tsx b/examples/with-geist-ui/pages/index.tsx index 8808b14d3a9e1..4979779d2deed 100644 --- a/examples/with-geist-ui/pages/index.tsx +++ b/examples/with-geist-ui/pages/index.tsx @@ -19,7 +19,7 @@ export default function Home() { return (
- Geist UI with NextJS + Geist UI with Next.js diff --git a/examples/with-mdbreact/pages/index.js b/examples/with-mdbreact/pages/index.js index 3b38fae094bac..48e86545c9383 100644 --- a/examples/with-mdbreact/pages/index.js +++ b/examples/with-mdbreact/pages/index.js @@ -15,7 +15,7 @@ export default function Home() { return ( <> - NextJS with Material Design Bootstrap for React + Next.js with Material Design Bootstrap for React diff --git a/examples/with-paste-typescript/pages/index.tsx b/examples/with-paste-typescript/pages/index.tsx index d31441837c196..834f59a31be89 100644 --- a/examples/with-paste-typescript/pages/index.tsx +++ b/examples/with-paste-typescript/pages/index.tsx @@ -11,7 +11,7 @@ export default function Home() { return ( - Paste NextJS App + Paste Next.js App @@ -50,7 +50,7 @@ export default function Home() { - NextJS Documentation{' '} + Next.js Documentation{' '} diff --git a/examples/with-sentry/pages/index.tsx b/examples/with-sentry/pages/index.tsx index 4a001d1088862..8f30e97d2d628 100644 --- a/examples/with-sentry/pages/index.tsx +++ b/examples/with-sentry/pages/index.tsx @@ -231,10 +231,10 @@ export default function Home() {

- NextJS 13 Features -> + Next.js 13 Features ->

- NextJS 13 continues to bring many new features to developers, + Next.js 13 continues to bring many new features to developers, especially those depoying on Vercel. We are trying to keep up, we promise!

diff --git a/examples/with-styled-components-babel/README.md b/examples/with-styled-components-babel/README.md index d75bb655133bd..c2eb7a747a09b 100644 --- a/examples/with-styled-components-babel/README.md +++ b/examples/with-styled-components-babel/README.md @@ -2,7 +2,7 @@ This example features how you use a different styling solution than [styled-jsx](https://github.com/vercel/styled-jsx) that also supports universal styles. That means we can serve the required styles for the first render within the HTML and then load the rest in the client. In this case we are using [styled-components](https://github.com/styled-components/styled-components). -For this purpose we are extending the `` and injecting the server side rendered styles into the ``, and also adding the `babel-plugin-styled-components` (which is required for server side rendering). Additionally we set up a global [theme](https://www.styled-components.com/docs/advanced#theming) for styled-components using NextJS custom [``](https://nextjs.org/docs/advanced-features/custom-app) component. +For this purpose we are extending the `` and injecting the server side rendered styles into the ``, and also adding the `babel-plugin-styled-components` (which is required for server side rendering). Additionally we set up a global [theme](https://www.styled-components.com/docs/advanced#theming) for styled-components using Next.js custom [``](https://nextjs.org/docs/advanced-features/custom-app) component. ## Preview diff --git a/examples/with-tigris/README.md b/examples/with-tigris/README.md index 1289152474de0..087ebd80ce51b 100644 --- a/examples/with-tigris/README.md +++ b/examples/with-tigris/README.md @@ -161,6 +161,6 @@ free to add more functionalities or customize App for your use-case and learn mo [typescript-url]: https://www.typescriptlang.org/ [vercel]: https://img.shields.io/badge/vercel-F22F46?style=for-the-badge&logo=vercel&logoColor=white [vercel-url]: https://vercel.com/ -[deploy-url]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Ftigrisdata%2Ftigris-vercel-starter&project-name=todo-list-app-tigris&repo-name=todo-list-webapp-tigris&demo-title=My%20To-do%20list%20webapp&demo-description=A%20To-do%20list%20webapp%20using%20NextJS%20and%20Tigris&integration-ids=oac_Orjx197uMuJobdSaEpVv2Zn8 +[deploy-url]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Ftigrisdata%2Ftigris-vercel-starter&project-name=todo-list-app-tigris&repo-name=todo-list-webapp-tigris&demo-title=My%20To-do%20list%20webapp&demo-description=A%20To-do%20list%20webapp%20using%20Next.js%20and%20Tigris&integration-ids=oac_Orjx197uMuJobdSaEpVv2Zn8 [next.js]: https://img.shields.io/badge/next.js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white [next-url]: https://nextjs.org/ diff --git a/packages/create-next-app/helpers/examples.ts b/packages/create-next-app/helpers/examples.ts index 30eb9b634cc7c..dad9895bd1e9c 100644 --- a/packages/create-next-app/helpers/examples.ts +++ b/packages/create-next-app/helpers/examples.ts @@ -29,7 +29,7 @@ export async function getRepoInfo( const filePath = examplePath ? examplePath.replace(/^\//, '') : file.join('/') if ( - // Support repos whose entire purpose is to be a NextJS example, e.g. + // Support repos whose entire purpose is to be a Next.js example, e.g. // https://github.com/:username/:my-cool-nextjs-example-repo-name. t === undefined || // Support GitHub URL that ends with a trailing slash, e.g. diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 3cefe87dcf22b..f12077628180c 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,7 +1,7 @@ { "name": "@next/eslint-plugin-next", "version": "13.5.3-canary.4", - "description": "ESLint plugin for NextJS.", + "description": "ESLint plugin for Next.js.", "main": "dist/index.js", "license": "MIT", "repository": {