Zlr3-NFJ@NFaJlhyfcw{k^vvtGl`N9xSo**rDW4S}i
zM9{fMPWo%4wYDG~BZ18BD+}h|GQKc-g^{++3MY>}W_uq7jGHx{mwE9fZiPCoxN$+7
zrODGGJrOkcPQUB(FD5aoS4g~7#6NR^ma7-!>mHuJfY5kTe6PpNNKC9GGRiu^L31uG
z$7v`*JknQHsYB!Tm_W{a32TM099djW%5e+j0Ve_ct}IM>XLF1Ap+YvcrLV=|CKo6S
zb+9Nl3_YdKP6%Cxy@6TxZ>;4&nTneadr
z_ES90ydCev)LV!dN=#(*f}|ZORFdvkYBni^aLbUk>BajeWIOcmHP#8S)*2U~QKI%S
zyrLmtPqb&TphJ;>yAxri#;{uyk`JJqODDw%(Z=2`1uc}br^V%>j!gS)D*q*f_-qf8&D;W1dJgQMlaH5er
zN2U<%Smb7==vE}dDI8K7cKz!vs^73o9f>2sgiTzWcwY|BMYHH5%Vn7#kiw&eItCqa
zIkR2~Q}>X=Ar8W|^Ms41Fm8o6IB2_j60eOeBB1Br!boW7JnoeX6Gs)?7rW0^5psc-
zjS16yb>dFn>KPOF;imD}e!enuIniFzv}n$m2#gCCv4jM#ArwlzZ$7@9&XkFxZ4n!V
zj3dyiwW4Ki2QG{@i>yuZXQizw_OkZI^-3otXC{!(lUpJF33gI60ak;Uqitp74|B6I
zgg{b=Iz}WkhCGj1M=hu4#Aw173YxIVbISaoc
z-nLZC*6Tgivd5V`K%GxhBsp@SUU60-rfc$=wb>zdJzXS&-5(NRRodFk;Kxk!S(O(a0e7oY=E(
zAyS;Ow?6Q&XA+cnkCb{28_1N8H#?J!*$MmIwLq^*T_9-z^&UE@A(z9oGYtFy6EZef
LrJugUA?W`A8`#=m
diff --git a/examples/authsignal/passwordless-login/public/vercel.svg b/examples/authsignal/passwordless-login/public/vercel.svg
deleted file mode 100755
index fbf0e25a651c2..0000000000000
--- a/examples/authsignal/passwordless-login/public/vercel.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/examples/authsignal/passwordless-login/tsconfig.json b/examples/authsignal/passwordless-login/tsconfig.json
deleted file mode 100755
index 99710e857874f..0000000000000
--- a/examples/authsignal/passwordless-login/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve",
- "incremental": true
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/blog-starter-typescript/.gitignore b/examples/blog-starter-typescript/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/blog-starter-typescript/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/blog-starter-typescript/README.md b/examples/blog-starter-typescript/README.md
deleted file mode 100644
index 8332c4020c6cd..0000000000000
--- a/examples/blog-starter-typescript/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## Deprecated
-
-The main [blog-starter](/examples/blog-starter) example has been refactored to use TypeScript, so this example is deprecated.
diff --git a/examples/custom-server-typescript/.gitignore b/examples/custom-server-typescript/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/custom-server-typescript/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/custom-server-typescript/README.md b/examples/custom-server-typescript/README.md
deleted file mode 100644
index c97259f67d8d1..0000000000000
--- a/examples/custom-server-typescript/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## Deprecated
-
-The main [custom-server](/examples/custom-server) example has been refactored to use TypeScript, so this example is deprecated.
diff --git a/examples/data-fetch/.gitignore b/examples/data-fetch/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/data-fetch/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/data-fetch/README.md b/examples/data-fetch/README.md
deleted file mode 100644
index f04d61b456fdf..0000000000000
--- a/examples/data-fetch/README.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# Data fetch example
-
-Next.js was conceived to make it easy to create universal apps. That's why fetching data
-on the server and the client when necessary is so easy with Next.js.
-
-By using `getStaticProps` Next.js will fetch data at build time from a page, and pre-render the page to static assets.
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/data-fetch)
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/data-fetch&project-name=data-fetch&repository-name=data-fetch)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example data-fetch data-fetch-app
-```
-
-```bash
-yarn create next-app --example data-fetch data-fetch-app
-```
-
-```bash
-pnpm create next-app --example data-fetch data-fetch-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
diff --git a/examples/data-fetch/next-env.d.ts b/examples/data-fetch/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/data-fetch/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/data-fetch/package.json b/examples/data-fetch/package.json
deleted file mode 100644
index 52bf81a0fd53b..0000000000000
--- a/examples/data-fetch/package.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "next": "12.3.4",
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- },
- "devDependencies": {
- "@types/node": "18.7.11",
- "@types/react": "18.2.8",
- "typescript": "4.7.4"
- }
-}
diff --git a/examples/data-fetch/pages/index.tsx b/examples/data-fetch/pages/index.tsx
deleted file mode 100644
index ead8859a9207a..0000000000000
--- a/examples/data-fetch/pages/index.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import Link from 'next/link'
-import type { InferGetStaticPropsType } from 'next'
-import type { Repository } from '../types/github'
-
-export async function getStaticProps() {
- const res = await fetch('https://api.github.com/repos/vercel/next.js')
- const data: Repository = await res.json()
- return {
- props: {
- stars: data.stargazers_count,
- },
- }
-}
-
-export default function IndexPage({
- stars,
-}: InferGetStaticPropsType) {
- return (
- <>
- Next.js has {stars} ⭐️
- How about preact?
- >
- )
-}
diff --git a/examples/data-fetch/pages/preact-stars.tsx b/examples/data-fetch/pages/preact-stars.tsx
deleted file mode 100644
index e2caa83357fd2..0000000000000
--- a/examples/data-fetch/pages/preact-stars.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import Link from 'next/link'
-import type { InferGetStaticPropsType } from 'next'
-import type { Repository } from '../types/github'
-
-export async function getStaticProps() {
- const res = await fetch('https://api.github.com/repos/preactjs/preact')
- const json: Repository = await res.json()
- return {
- props: {
- stars: json.stargazers_count,
- },
- }
-}
-
-export default function PreactStarsPage({
- stars,
-}: InferGetStaticPropsType) {
- return (
- <>
- Preact has {stars} ⭐
- I bet Next.js has more stars (?)
- >
- )
-}
diff --git a/examples/data-fetch/tsconfig.json b/examples/data-fetch/tsconfig.json
deleted file mode 100644
index 93a83a407c40c..0000000000000
--- a/examples/data-fetch/tsconfig.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": false,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve"
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/data-fetch/types/github.d.ts b/examples/data-fetch/types/github.d.ts
deleted file mode 100644
index 1d373d98bc27e..0000000000000
--- a/examples/data-fetch/types/github.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-// For simplicity we are creating our own types here.
-// If you want the full types check out:
-// https://github.com/octokit/openapi-types.ts
-export type Repository = {
- id: number
- name: string
- full_name: string
- stargazers_count: number
- private: boolean
-} & Record
diff --git a/examples/evm-multichain-dapp/.gitignore b/examples/evm-multichain-dapp/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/evm-multichain-dapp/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/evm-multichain-dapp/README.md b/examples/evm-multichain-dapp/README.md
deleted file mode 100644
index 7b282cfac7e22..0000000000000
--- a/examples/evm-multichain-dapp/README.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# EVM multichain nextjs template
-
-Nextjs Public template for building Ethereum Virtual Machine Multichain Dapps
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/evm-multichain-dapp&project-name=evm-multichain-dapp&repository-name=evm-multichain-dapp)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example evm-multichain-dapp evm-multichain-dapp-app
-```
-
-```bash
-yarn create next-app --example evm-multichain-dapp evm-multichain-dapp-app
-```
-
-```bash
-pnpm create next-app --example evm-multichain-dapp evm-multichain-dapp-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
diff --git a/examples/evm-multichain-dapp/config/abis/erc20.json b/examples/evm-multichain-dapp/config/abis/erc20.json
deleted file mode 100644
index cd41fd520231a..0000000000000
--- a/examples/evm-multichain-dapp/config/abis/erc20.json
+++ /dev/null
@@ -1,288 +0,0 @@
-[
- {
- "inputs": [],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "constructor"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "owner",
- "type": "address"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "spender",
- "type": "address"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "value",
- "type": "uint256"
- }
- ],
- "name": "Approval",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "previousOwner",
- "type": "address"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "newOwner",
- "type": "address"
- }
- ],
- "name": "OwnershipTransferred",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "from",
- "type": "address"
- },
- {
- "indexed": true,
- "internalType": "address",
- "name": "to",
- "type": "address"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "value",
- "type": "uint256"
- }
- ],
- "name": "Transfer",
- "type": "event"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "_decimals",
- "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "_name",
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "_symbol",
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [
- { "internalType": "address", "name": "owner", "type": "address" },
- { "internalType": "address", "name": "spender", "type": "address" }
- ],
- "name": "allowance",
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": false,
- "inputs": [
- { "internalType": "address", "name": "spender", "type": "address" },
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "approve",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [
- { "internalType": "address", "name": "account", "type": "address" }
- ],
- "name": "balanceOf",
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": false,
- "inputs": [
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "burn",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "decimals",
- "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": false,
- "inputs": [
- { "internalType": "address", "name": "spender", "type": "address" },
- {
- "internalType": "uint256",
- "name": "subtractedValue",
- "type": "uint256"
- }
- ],
- "name": "decreaseAllowance",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "getOwner",
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": false,
- "inputs": [
- { "internalType": "address", "name": "spender", "type": "address" },
- { "internalType": "uint256", "name": "addedValue", "type": "uint256" }
- ],
- "name": "increaseAllowance",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "constant": false,
- "inputs": [
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "mint",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "name",
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "owner",
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": false,
- "inputs": [],
- "name": "renounceOwnership",
- "outputs": [],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "symbol",
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": true,
- "inputs": [],
- "name": "totalSupply",
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": false,
- "inputs": [
- { "internalType": "address", "name": "recipient", "type": "address" },
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "transfer",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "constant": false,
- "inputs": [
- { "internalType": "address", "name": "sender", "type": "address" },
- { "internalType": "address", "name": "recipient", "type": "address" },
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
- ],
- "name": "transferFrom",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "constant": false,
- "inputs": [
- { "internalType": "address", "name": "newOwner", "type": "address" }
- ],
- "name": "transferOwnership",
- "outputs": [],
- "payable": false,
- "stateMutability": "nonpayable",
- "type": "function"
- }
-]
diff --git a/examples/evm-multichain-dapp/config/blockchains.json b/examples/evm-multichain-dapp/config/blockchains.json
deleted file mode 100644
index e27bcd204743d..0000000000000
--- a/examples/evm-multichain-dapp/config/blockchains.json
+++ /dev/null
@@ -1,166 +0,0 @@
-{
- "1": {
- "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 },
- "name": "Ethereum Mainnet"
- },
- "3": {
- "nativeCurrency": {
- "name": "Ropsten Ether",
- "symbol": "ROP",
- "decimals": 18
- },
- "name": "Ropsten"
- },
- "4": {
- "nativeCurrency": {
- "name": "Rinkeby Ether",
- "symbol": "RIN",
- "decimals": 18
- },
- "name": "Rinkeby"
- },
- "5": {
- "nativeCurrency": {
- "name": "Görli Ether",
- "symbol": "GOR",
- "decimals": 18
- },
- "name": "Görli"
- },
- "40": {
- "nativeCurrency": { "name": "Telos", "symbol": "TLOS", "decimals": 18 },
- "name": "Telos EVM Mainnet"
- },
- "42": {
- "nativeCurrency": {
- "name": "Kovan Ether",
- "symbol": "KOV",
- "decimals": 18
- },
- "name": "Kovan"
- },
- "56": {
- "nativeCurrency": {
- "name": "Binance Chain Native Token",
- "symbol": "BNB",
- "decimals": 18
- },
- "name": "Binance Smart Chain Mainnet"
- },
- "65": {
- "nativeCurrency": {
- "name": "OKExChain Global Utility Token in testnet",
- "symbol": "OKT",
- "decimals": 18
- },
- "name": "OKExChain Testnet"
- },
- "66": {
- "nativeCurrency": {
- "name": "OKXChain Global Utility Token",
- "symbol": "OKT",
- "decimals": 18
- },
- "name": "OKXChain Mainnet"
- },
- "97": {
- "nativeCurrency": {
- "name": "Binance Chain Native Token",
- "symbol": "tBNB",
- "decimals": 18
- },
- "name": "Binance Smart Chain Testnet"
- },
- "100": {
- "nativeCurrency": { "name": "xDAI", "symbol": "xDAI", "decimals": 18 },
- "name": "Gnosis Chain"
- },
- "122": {
- "nativeCurrency": { "name": "Fuse", "symbol": "FUSE", "decimals": 18 },
- "name": "Fuse Mainnet"
- },
- "128": {
- "nativeCurrency": {
- "name": "Huobi ECO Chain Native Token",
- "symbol": "HT",
- "decimals": 18
- },
- "name": "Huobi ECO Chain Mainnet"
- },
- "137": {
- "nativeCurrency": { "name": "MATIC", "symbol": "MATIC", "decimals": 18 },
- "name": "Polygon Mainnet"
- },
- "250": {
- "nativeCurrency": { "name": "Fantom", "symbol": "FTM", "decimals": 18 },
- "name": "Fantom Opera"
- },
- "256": {
- "nativeCurrency": {
- "name": "Huobi ECO Chain Test Native Token",
- "symbol": "htt",
- "decimals": 18
- },
- "name": "Huobi ECO Chain Testnet"
- },
- "1284": {
- "nativeCurrency": { "name": "Glimmer", "symbol": "GLMR", "decimals": 18 },
- "name": "Moonbeam"
- },
- "1285": {
- "nativeCurrency": { "name": "Moonriver", "symbol": "MOVR", "decimals": 18 },
- "name": "Moonriver"
- },
- "1287": {
- "nativeCurrency": { "name": "Dev", "symbol": "DEV", "decimals": 18 },
- "name": "Moonbase Alpha"
- },
- "4002": {
- "nativeCurrency": { "name": "Fantom", "symbol": "FTM", "decimals": 18 },
- "name": "Fantom Testnet"
- },
- "31337": {
- "nativeCurrency": {
- "name": "GoChain Coin",
- "symbol": "GO",
- "decimals": 18
- },
- "name": "GoChain Testnet"
- },
- "42161": {
- "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 },
- "name": "Arbitrum One"
- },
- "42220": {
- "nativeCurrency": { "name": "CELO", "symbol": "CELO", "decimals": 18 },
- "name": "Celo Mainnet"
- },
- "43113": {
- "nativeCurrency": { "name": "Avalanche", "symbol": "AVAX", "decimals": 18 },
- "name": "Avalanche Fuji Testnet"
- },
- "43114": {
- "nativeCurrency": { "name": "Avalanche", "symbol": "AVAX", "decimals": 18 },
- "name": "Avalanche C-Chain"
- },
- "80001": {
- "nativeCurrency": { "name": "MATIC", "symbol": "MATIC", "decimals": 18 },
- "name": "Mumbai"
- },
- "1666600000": {
- "nativeCurrency": { "name": "ONE", "symbol": "ONE", "decimals": 18 },
- "name": "Harmony Mainnet Shard 0"
- },
- "1666700000": {
- "nativeCurrency": { "name": "ONE", "symbol": "ONE", "decimals": 18 },
- "name": "Harmony Testnet Shard 0"
- },
- "11297108109": {
- "nativeCurrency": { "name": "PALM", "symbol": "PALM", "decimals": 18 },
- "name": "Palm"
- },
- "11297108099": {
- "nativeCurrency": { "name": "PALM", "symbol": "PALM", "decimals": 18 },
- "name": "Palm Testnet"
- }
-}
diff --git a/examples/evm-multichain-dapp/config/chainIds.ts b/examples/evm-multichain-dapp/config/chainIds.ts
deleted file mode 100644
index 2c762e3e783e9..0000000000000
--- a/examples/evm-multichain-dapp/config/chainIds.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-export enum ChainId {
- ETHEREUM = 1,
- ROPSTEN = 3,
- RINKEBY = 4,
- GÖRLI = 5,
- KOVAN = 42,
- MATIC = 137,
- MATIC_TESTNET = 80001,
- FANTOM = 250,
- FANTOM_TESTNET = 4002,
- XDAI = 100,
- BSC = 56,
- BSC_TESTNET = 97,
- ARBITRUM = 42161,
- MOONBEAM_TESTNET = 1287,
- AVALANCHE = 43114,
- AVALANCHE_TESTNET = 43113,
- HECO = 128,
- HECO_TESTNET = 256,
- HARMONY = 1666600000,
- HARMONY_TESTNET = 1666700000,
- OKEX = 66,
- OKEX_TESTNET = 65,
- CELO = 42220,
- PALM = 11297108109,
- PALM_TESTNET = 11297108099,
- MOONRIVER = 1285,
- FUSE = 122,
- TELOS = 40,
- HARDHAT = 31337,
- MOONBEAM = 1284,
-}
diff --git a/examples/evm-multichain-dapp/config/networks.ts b/examples/evm-multichain-dapp/config/networks.ts
deleted file mode 100644
index 1f0feca96db7e..0000000000000
--- a/examples/evm-multichain-dapp/config/networks.ts
+++ /dev/null
@@ -1,104 +0,0 @@
-import { ChainId } from './chainIds'
-
-const Arbitrum =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/arbitrum.jpg'
-const Avalanche =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/avalanche.jpg'
-const Bsc =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/bsc.jpg'
-const Fantom =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/fantom.jpg'
-const Goerli =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/goerli.jpg'
-const Harmony =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/harmonyone.jpg'
-const Heco =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/heco.jpg'
-const Kovan =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/kovan.jpg'
-const Mainnet =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/mainnet.jpg'
-const Matic =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/polygon.jpg'
-const Moonbeam =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/moonbeam.jpg'
-const OKEx =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/okex.jpg'
-const Polygon =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/polygon.jpg'
-const Rinkeby =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/rinkeby.jpg'
-const Ropsten =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/ropsten.jpg'
-const xDai =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/xdai.jpg'
-const Celo =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/celo.jpg'
-const Palm =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/palm.jpg'
-const Moonriver =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/network/moonriver.jpg'
-const Fuse =
- 'https://raw.githubusercontent.com/sushiswap/icons/master/token/fuse.jpg'
-const Telos =
- 'https://raw.githubusercontent.com/sushiswap/logos/main/network/telos/0xD102cE6A4dB07D247fcc28F366A623Df0938CA9E.jpg'
-
-export const NETWORK_ICON = {
- [ChainId.ETHEREUM]: Mainnet,
- [ChainId.ROPSTEN]: Ropsten,
- [ChainId.RINKEBY]: Rinkeby,
- [ChainId.GÖRLI]: Goerli,
- [ChainId.KOVAN]: Kovan,
- [ChainId.FANTOM]: Fantom,
- [ChainId.FANTOM_TESTNET]: Fantom,
- [ChainId.BSC]: Bsc,
- [ChainId.BSC_TESTNET]: Bsc,
- [ChainId.MATIC]: Polygon,
- [ChainId.MATIC_TESTNET]: Matic,
- [ChainId.XDAI]: xDai,
- [ChainId.ARBITRUM]: Arbitrum,
- [ChainId.MOONBEAM_TESTNET]: Moonbeam,
- [ChainId.AVALANCHE]: Avalanche,
- [ChainId.AVALANCHE_TESTNET]: Avalanche,
- [ChainId.HECO]: Heco,
- [ChainId.HECO_TESTNET]: Heco,
- [ChainId.HARMONY]: Harmony,
- [ChainId.HARMONY_TESTNET]: Harmony,
- [ChainId.OKEX]: OKEx,
- [ChainId.OKEX_TESTNET]: OKEx,
- [ChainId.CELO]: Celo,
- [ChainId.PALM]: Palm,
- [ChainId.MOONRIVER]: Moonriver,
- [ChainId.FUSE]: Fuse,
- [ChainId.TELOS]: Telos,
-}
-
-export const NETWORK_LABEL: { [chainId in ChainId]?: string } = {
- [ChainId.ETHEREUM]: 'Ethereum',
- [ChainId.RINKEBY]: 'Rinkeby',
- [ChainId.ROPSTEN]: 'Ropsten',
- [ChainId.GÖRLI]: 'Görli',
- [ChainId.KOVAN]: 'Kovan',
- [ChainId.FANTOM]: 'Fantom',
- [ChainId.FANTOM_TESTNET]: 'Fantom Testnet',
- [ChainId.MATIC]: 'Polygon',
- [ChainId.MATIC_TESTNET]: 'Polygon Testnet',
- [ChainId.XDAI]: 'xDai',
- [ChainId.ARBITRUM]: 'Arbitrum',
- [ChainId.BSC]: 'BSC',
- [ChainId.BSC_TESTNET]: 'BSC Testnet',
- [ChainId.MOONBEAM_TESTNET]: 'Moonbase',
- [ChainId.AVALANCHE]: 'Avalanche',
- [ChainId.AVALANCHE_TESTNET]: 'Fuji',
- [ChainId.HECO]: 'HECO',
- [ChainId.HECO_TESTNET]: 'HECO Testnet',
- [ChainId.HARMONY]: 'Harmony',
- [ChainId.HARMONY_TESTNET]: 'Harmony Testnet',
- [ChainId.OKEX]: 'OKEx',
- [ChainId.OKEX_TESTNET]: 'OKEx',
- [ChainId.CELO]: 'Celo',
- [ChainId.PALM]: 'Palm',
- [ChainId.MOONRIVER]: 'Moonriver',
- [ChainId.FUSE]: 'Fuse',
- [ChainId.TELOS]: 'Telos EVM',
-}
diff --git a/examples/evm-multichain-dapp/config/rpc.ts b/examples/evm-multichain-dapp/config/rpc.ts
deleted file mode 100644
index 508348848ade9..0000000000000
--- a/examples/evm-multichain-dapp/config/rpc.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-import { ChainId } from './chainIds'
-
-const RPC = {
- [ChainId.ETHEREUM]: 'https://api.sushirelay.com/v1',
- // [ChainId.ETHEREUM]: 'https://eth-mainnet.alchemyapi.io/v2/HNQXSfiUcPjfpDBQaWYXjqlhTr1cEY9c',
- // [ChainId.MAINNET]: 'https://eth-mainnet.alchemyapi.io/v2/q1gSNoSMEzJms47Qn93f9-9Xg5clkmEC',
- [ChainId.ROPSTEN]:
- 'https://eth-ropsten.alchemyapi.io/v2/cidKix2Xr-snU3f6f6Zjq_rYdalKKHmW',
- [ChainId.RINKEBY]:
- 'https://eth-rinkeby.alchemyapi.io/v2/XVLwDlhGP6ApBXFz_lfv0aZ6VmurWhYD',
- [ChainId.GÖRLI]:
- 'https://eth-goerli.alchemyapi.io/v2/Dkk5d02QjttYEoGmhZnJG37rKt8Yl3Im',
- [ChainId.KOVAN]:
- 'https://eth-kovan.alchemyapi.io/v2/6OVAa_B_rypWWl9HqtiYK26IRxXiYqER',
- [ChainId.FANTOM]: 'https://rpcapi.fantom.network',
- [ChainId.FANTOM_TESTNET]: 'https://rpc.testnet.fantom.network',
- [ChainId.MATIC]: 'https://polygon-rpc.com/',
- [ChainId.MATIC_TESTNET]: 'https://rpc-mumbai.matic.today',
- [ChainId.XDAI]: 'https://rpc.xdaichain.com',
- [ChainId.BSC]: 'https://bsc-dataseed.binance.org/',
- [ChainId.BSC_TESTNET]: 'https://data-seed-prebsc-2-s3.binance.org:8545',
- [ChainId.MOONBEAM_TESTNET]: 'https://rpc.testnet.moonbeam.network',
- [ChainId.AVALANCHE]: 'https://api.avax.network/ext/bc/C/rpc',
- [ChainId.AVALANCHE_TESTNET]: 'https://api.avax-test.network/ext/bc/C/rpc',
- [ChainId.HECO]: 'https://http-mainnet.hecochain.com',
- [ChainId.HECO_TESTNET]: 'https://http-testnet.hecochain.com',
- [ChainId.HARMONY]: 'https://api.harmony.one',
- [ChainId.HARMONY_TESTNET]: 'https://api.s0.b.hmny.io',
- [ChainId.OKEX]: 'https://exchainrpc.okex.org',
- [ChainId.OKEX_TESTNET]: 'https://exchaintestrpc.okex.org',
- [ChainId.ARBITRUM]: 'https://arb1.arbitrum.io/rpc',
- [ChainId.PALM]:
- 'https://palm-mainnet.infura.io/v3/da5fbfafcca14b109e2665290681e267',
- [ChainId.FUSE]: 'https://rpc.fuse.io',
- [ChainId.CELO]: 'https://forno.celo.org',
- [ChainId.MOONRIVER]: 'https://rpc.moonriver.moonbeam.network',
- [ChainId.TELOS]: 'https://mainnet.telos.net/evm',
-}
-
-export default RPC
diff --git a/examples/evm-multichain-dapp/config/wallets.ts b/examples/evm-multichain-dapp/config/wallets.ts
deleted file mode 100644
index 1239b02ace8c1..0000000000000
--- a/examples/evm-multichain-dapp/config/wallets.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { ChainId } from './chainIds'
-
-import { InjectedConnector } from '@web3-react/injected-connector'
-
-export const supportedChainIds = Object.values(ChainId) as number[]
-
-export const injected = new InjectedConnector({
- supportedChainIds,
-})
-
-export const wallets = [
- {
- name: 'Injected',
- connector: injected,
- logo: 'https://cdn.iconscout.com/icon/free/png-256/metamask-2728406-2261817.png',
- },
-]
diff --git a/examples/evm-multichain-dapp/hooks/useWeb3.ts b/examples/evm-multichain-dapp/hooks/useWeb3.ts
deleted file mode 100644
index 243404eee440e..0000000000000
--- a/examples/evm-multichain-dapp/hooks/useWeb3.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import { useEffect, useState, useRef } from 'react'
-import Web3 from 'web3'
-import { useWeb3React } from '@web3-react/core'
-import RPC from '../config/rpc'
-
-/**
- * Provides a web3 instance using the provider provided by useWallet
- * with a fallback of an httpProver
- * Recreate web3 instance only if the provider change
- */
-const useWeb3 = () => {
- const { library, chainId = 1 } = useWeb3React()
- const refEth = useRef(library)
-
- const [web3, setweb3] = useState(
- library
- ? new Web3(library)
- : // @ts-ignore TYPE NEEDS FIXING
- new Web3(RPC[chainId])
- )
-
- useEffect(() => {
- if (library !== refEth.current) {
- setweb3(
- library
- ? new Web3(library)
- : // @ts-ignore TYPE NEEDS FIXING
- new Web3(RPC[chainId])
- )
- refEth.current = library
- }
- }, [library, setweb3, chainId])
-
- return { web3, setweb3 }
-}
-
-export default useWeb3
diff --git a/examples/evm-multichain-dapp/next-env.d.ts b/examples/evm-multichain-dapp/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/evm-multichain-dapp/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/evm-multichain-dapp/next.config.js b/examples/evm-multichain-dapp/next.config.js
deleted file mode 100644
index c7fa36527e067..0000000000000
--- a/examples/evm-multichain-dapp/next.config.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/** @type {import('next').NextConfig} */
-const nextConfig = {
- images: {
- remotePatterns: [
- {
- protocol: 'https',
- hostname: 'raw.githubusercontent.com',
- port: '',
- pathname: '/my-account/**',
- },
- ],
- },
-}
-
-module.exports = nextConfig
diff --git a/examples/evm-multichain-dapp/package.json b/examples/evm-multichain-dapp/package.json
deleted file mode 100644
index 229a7f4e64918..0000000000000
--- a/examples/evm-multichain-dapp/package.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next dev",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "@web3-react/abstract-connector": "^6.0.7",
- "@web3-react/core": "^6.1.9",
- "@web3-react/injected-connector": "^6.0.7",
- "@web3-react/walletconnect-connector": "^6.2.13",
- "bignumber.js": "^9.0.2",
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "web3": "^1.7.4"
- },
- "devDependencies": {
- "@types/node": "^18.6.2",
- "@types/react": "^18.0.15",
- "@types/react-dom": "^18.0.6",
- "typescript": "^4.7.4"
- }
-}
diff --git a/examples/evm-multichain-dapp/pages/_app.tsx b/examples/evm-multichain-dapp/pages/_app.tsx
deleted file mode 100644
index f88aa51cc9050..0000000000000
--- a/examples/evm-multichain-dapp/pages/_app.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import '../styles/globals.css'
-import type { AppProps } from 'next/app'
-import { Web3ReactProvider } from '@web3-react/core'
-
-function MyApp({ Component, pageProps }: AppProps) {
- const getLibrary = (provider: any) => {
- return provider
- }
-
- return (
- <>
-
-
-
- >
- )
-}
-
-export default MyApp
diff --git a/examples/evm-multichain-dapp/pages/index.tsx b/examples/evm-multichain-dapp/pages/index.tsx
deleted file mode 100644
index ee49da2f5dd38..0000000000000
--- a/examples/evm-multichain-dapp/pages/index.tsx
+++ /dev/null
@@ -1,183 +0,0 @@
-import { useWeb3React } from '@web3-react/core'
-import type { NextPage } from 'next'
-import Head from 'next/head'
-import Image from 'next/image'
-import { useEffect, useState } from 'react'
-import blockchains from '../config/blockchains.json'
-import { ChainId } from '../config/chainIds'
-import { NETWORK_ICON, NETWORK_LABEL } from '../config/networks'
-import { injected, supportedChainIds, wallets } from '../config/wallets'
-import useWeb3 from '../hooks/useWeb3'
-
-import styles from '../styles/Home.module.css'
-
-const Home: NextPage = () => {
- const { account, activate, chainId, deactivate } = useWeb3React()
- const [nativeBalance, setNativeBalance] = useState(0)
- const [sendAddress, setSendAddress] = useState('')
- const [sendAmount, setSendAmount] = useState('0')
-
- const { web3 } = useWeb3()
- // @ts-ignore TYPE NEEDS FIXING
- const chainData = blockchains[chainId]
-
- useEffect(() => {
- // @ts-ignore TYPE NEEDS FIXING
- if (window?.ethereum) {
- activate(injected)
- } else {
- alert('You need to install a crypto wallet to run this Dapp!!')
- }
- }, [activate])
- const fetchBalanceData = async () => {
- const eth = await web3.eth.getBalance(account as string)
- if (Number(eth) > 0) {
- const bal = web3.utils.fromWei(eth, 'ether')
- console.log({ eth, bal })
- setNativeBalance(Number(bal))
- }
- }
- useEffect(() => {
- if (account) {
- fetchBalanceData()
- }
- })
- const sendEth = async () => {
- const isValidAddress = web3.utils.isAddress(sendAddress)
- if (isValidAddress && Number(sendAmount) > 0 && account) {
- const tx = await web3.eth.sendTransaction({
- from: account,
- to: sendAddress,
- // @ts-ignore TYPE NEEDS FIXING
-
- value: web3.utils.toWei(sendAmount, 'ether'),
- })
- if (tx.transactionHash) {
- alert(`Transaction Success!! ${tx.transactionHash}`)
- fetchBalanceData()
- }
- console.log({ tx })
- } else {
- alert('Invalid Transaction Data')
- }
- }
- return (
-
-
-
Create Next App
-
-
-
-
-
- {account ? (
- <>
-
-
- Connected to Network : {NETWORK_LABEL[chainId as ChainId]}
-
-
- Native Balance : {nativeBalance || 0}{' '}
- {chainData?.nativeCurrency?.symbol}
-
-
Account : {account}
-
deactivate()}>
- Logout
-
-
-
-
Send {chainData?.nativeCurrency?.symbol}
-
- Recipient Address
- setSendAddress(e?.target?.value)}
- />
-
-
- Recipient Amount
-
- setSendAmount(e?.target?.value)}
- />
-
-
- Native Balance : {nativeBalance || 0}{' '}
- {chainData?.nativeCurrency?.symbol}
-
-
-
- Send {chainData?.nativeCurrency?.symbol}{' '}
-
-
- >
- ) : (
-
-
Connect Wallet
- {wallets?.map((wallet, idx) => {
- return (
- activate(wallet?.connector)}
- >
- {wallet?.name}
-
- )
- })}
-
- )}
-
-
-
Supported Blockchains
-
- {supportedChainIds?.map((chain, idx) =>
- // @ts-ignore TYPE NEEDS FIXING
- Number(chain) && NETWORK_ICON[Number(chain)] ? (
-
-
-
- {/* @ts-ignore TYPE NEEDS FIXING */}
- {NETWORK_LABEL[Number(chain)]}
-
-
- ) : null
- )}
-
Note : The chains are extendable to any EVM based Blockchain.
-
-
-
-
- )
-}
-
-export default Home
diff --git a/examples/evm-multichain-dapp/public/favicon.ico b/examples/evm-multichain-dapp/public/favicon.ico
deleted file mode 100644
index 718d6fea4835ec2d246af9800eddb7ffb276240c..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 25931
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
LrJugUA?W`A8`#=m
diff --git a/examples/evm-multichain-dapp/public/vercel.svg b/examples/evm-multichain-dapp/public/vercel.svg
deleted file mode 100644
index fbf0e25a651c2..0000000000000
--- a/examples/evm-multichain-dapp/public/vercel.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/examples/evm-multichain-dapp/styles/Home.module.css b/examples/evm-multichain-dapp/styles/Home.module.css
deleted file mode 100644
index bd50f42ffe6a2..0000000000000
--- a/examples/evm-multichain-dapp/styles/Home.module.css
+++ /dev/null
@@ -1,129 +0,0 @@
-.container {
- padding: 0 2rem;
-}
-
-.main {
- min-height: 100vh;
- padding: 4rem 0;
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
-}
-
-.footer {
- display: flex;
- flex: 1;
- padding: 2rem 0;
- border-top: 1px solid #eaeaea;
- justify-content: center;
- align-items: center;
-}
-
-.footer a {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-grow: 1;
-}
-
-.title a {
- color: #0070f3;
- text-decoration: none;
-}
-
-.title a:hover,
-.title a:focus,
-.title a:active {
- text-decoration: underline;
-}
-
-.title {
- margin: 0;
- line-height: 1.15;
- font-size: 4rem;
-}
-
-.title,
-.description {
- text-align: center;
-}
-
-.description {
- margin: 4rem 0;
- line-height: 1.5;
- font-size: 1.5rem;
-}
-
-.code {
- background: #fafafa;
- border-radius: 5px;
- padding: 0.75rem;
- font-size: 1.1rem;
- font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
- Bitstream Vera Sans Mono, Courier New, monospace;
-}
-
-.grid {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-wrap: wrap;
- max-width: 800px;
-}
-
-.card {
- margin: 1rem;
- padding: 1.5rem;
- text-align: left;
- color: inherit;
- text-decoration: none;
- border: 1px solid #eaeaea;
- border-radius: 10px;
- transition: color 0.15s ease, border-color 0.15s ease;
- max-width: 300px;
-}
-
-.card:hover,
-.card:focus,
-.card:active {
- color: #0070f3;
- border-color: #0070f3;
-}
-
-.card h2 {
- margin: 0 0 1rem 0;
- font-size: 1.5rem;
-}
-
-.card p {
- margin: 0;
- font-size: 1.25rem;
- line-height: 1.5;
-}
-
-.logo {
- height: 1em;
- margin-left: 0.5rem;
-}
-
-@media (max-width: 600px) {
- .grid {
- width: 100%;
- flex-direction: column;
- }
-}
-
-@media (prefers-color-scheme: dark) {
- .card,
- .footer {
- border-color: #222;
- }
- .code {
- background: #111;
- }
- .logo img {
- filter: invert(1);
- }
-}
diff --git a/examples/evm-multichain-dapp/styles/globals.css b/examples/evm-multichain-dapp/styles/globals.css
deleted file mode 100644
index 3e19a1d609b1d..0000000000000
--- a/examples/evm-multichain-dapp/styles/globals.css
+++ /dev/null
@@ -1,90 +0,0 @@
-html,
-body {
- padding: 0;
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
- Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
-}
-
-a {
- color: inherit;
- text-decoration: none;
-}
-
-* {
- box-sizing: border-box;
-}
-
-@media (prefers-color-scheme: dark) {
- html {
- color-scheme: dark;
- }
- body {
- color: white;
- background: rgb(10, 10, 10);
- }
-}
-
-.card {
- margin: 5% 0%;
- padding: 2%;
- background: rgb(0, 0, 0);
- background: -moz-radial-gradient(
- circle,
- rgba(0, 0, 0, 1) 0%,
- rgba(11, 11, 78, 1) 35%,
- rgba(0, 0, 0, 1) 100%
- );
- background: -webkit-radial-gradient(
- circle,
- rgba(0, 0, 0, 1) 0%,
- rgba(11, 11, 78, 1) 35%,
- rgba(0, 0, 0, 1) 100%
- );
- background: radial-gradient(
- circle,
- rgba(0, 0, 0, 1) 0%,
- rgba(11, 11, 78, 1) 35%,
- rgba(0, 0, 0, 1) 100%
- );
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
- border: 1px solid;
- border-radius: 5px;
-}
-.flex {
- display: flex;
-}
-.flex-wrap {
- flex-wrap: wrap;
-}
-.my-1 {
- margin-top: 1%;
- margin-bottom: 1%;
-}
-.mx-1 {
- margin-left: 1%;
- margin-right: 1%;
-}
-.btn {
- background-color: rgb(46, 46, 244);
- padding: 0.5em 1em;
- border: none;
- border-radius: 2px;
- color: white;
-}
-.btn:hover {
- background-color: rgb(87, 87, 240);
- cursor: pointer;
-}
-.btn:active {
- background-color: rgb(0, 0, 255);
-}
-.items-center {
- align-items: center;
-}
-.rounded {
- border-radius: 2px;
-}
-.rounded-md {
- border-radius: 5px;
-}
diff --git a/examples/evm-multichain-dapp/tsconfig.json b/examples/evm-multichain-dapp/tsconfig.json
deleted file mode 100644
index 99710e857874f..0000000000000
--- a/examples/evm-multichain-dapp/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve",
- "incremental": true
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/fast-refresh-demo/.gitignore b/examples/fast-refresh-demo/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/fast-refresh-demo/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/fast-refresh-demo/README.md b/examples/fast-refresh-demo/README.md
deleted file mode 100644
index 0604a0925da9c..0000000000000
--- a/examples/fast-refresh-demo/README.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# Fast Refresh Demo
-
-Next.js ships with [Fast Refresh](https://nextjs.org/docs/basic-features/fast-refresh) which gives you instantaneous feedback on edits made to your React components.
-
-This demos shows how the state of an auto incrementing value and a classic counter is preserved after edits or if there are errors.
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/fast-refresh-demo)
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/fast-refresh-demo&project-name=fast-refresh-demo&repository-name=fast-refresh-demo)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example fast-refresh-demo fast-refresh-demo-app
-```
-
-```bash
-yarn create next-app --example fast-refresh-demo fast-refresh-demo-app
-```
-
-```bash
-pnpm create next-app --example fast-refresh-demo fast-refresh-demo-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
diff --git a/examples/fast-refresh-demo/components/Button.module.css b/examples/fast-refresh-demo/components/Button.module.css
deleted file mode 100644
index 3cba6f351a456..0000000000000
--- a/examples/fast-refresh-demo/components/Button.module.css
+++ /dev/null
@@ -1,32 +0,0 @@
-button.btn {
- margin: 0;
- border: 1px solid #d1d1d1;
- border-radius: 5px;
- padding: 0.5em;
- vertical-align: middle;
- white-space: normal;
- background: none;
- line-height: 1;
- font-size: 1rem;
- font-family: inherit;
- transition: all 0.2s ease;
-}
-
-button.btn {
- padding: 0.65em 1em;
- background: #0076ff;
- color: #fff;
- border: none;
- cursor: pointer;
- transition: all 0.2s ease;
-}
-button.btn:focus {
- outline: 0;
- border-color: #0076ff;
-}
-button.btn:hover {
- background: rgba(0, 118, 255, 0.8);
-}
-button.btn:focus {
- box-shadow: 0 0 0 2px rgba(0, 118, 255, 0.5);
-}
diff --git a/examples/fast-refresh-demo/components/Button.tsx b/examples/fast-refresh-demo/components/Button.tsx
deleted file mode 100644
index 93aedc11701d2..0000000000000
--- a/examples/fast-refresh-demo/components/Button.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import styles from './Button.module.css'
-
-type ButtonProps = {
- onClick: React.MouseEventHandler
- children: React.ReactNode
-}
-
-export default function Button({ children, ...props }: ButtonProps) {
- return (
-
- {children}
-
- )
-}
diff --git a/examples/fast-refresh-demo/components/ClickCount.tsx b/examples/fast-refresh-demo/components/ClickCount.tsx
deleted file mode 100644
index fe2e71dd7b210..0000000000000
--- a/examples/fast-refresh-demo/components/ClickCount.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import { useCallback, useState } from 'react'
-import Button from './Button'
-
-export default function ClickCount() {
- const [count, setCount] = useState(0)
- const increment = useCallback(() => {
- setCount((v) => v + 1)
- }, [setCount])
-
- return Clicks: {count}
-}
diff --git a/examples/fast-refresh-demo/global.css b/examples/fast-refresh-demo/global.css
deleted file mode 100644
index e203447ed2412..0000000000000
--- a/examples/fast-refresh-demo/global.css
+++ /dev/null
@@ -1,14 +0,0 @@
-body {
- font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica',
- 'Arial', sans-serif;
- margin: 0 auto;
- font-size: 16px;
- line-height: 1.65;
- word-break: break-word;
- font-kerning: auto;
- font-variant: normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-rendering: optimizeLegibility;
- hyphens: auto;
-}
diff --git a/examples/fast-refresh-demo/next-env.d.ts b/examples/fast-refresh-demo/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/fast-refresh-demo/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/fast-refresh-demo/package.json b/examples/fast-refresh-demo/package.json
deleted file mode 100644
index be18b903df87a..0000000000000
--- a/examples/fast-refresh-demo/package.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- },
- "devDependencies": {
- "@types/node": "^18.11.5",
- "@types/react": "^18.0.23",
- "@types/react-dom": "^18.0.7",
- "typescript": "^4.8.4"
- }
-}
diff --git a/examples/fast-refresh-demo/pages/_app.tsx b/examples/fast-refresh-demo/pages/_app.tsx
deleted file mode 100644
index ce276418f1535..0000000000000
--- a/examples/fast-refresh-demo/pages/_app.tsx
+++ /dev/null
@@ -1,6 +0,0 @@
-import { AppProps } from 'next/app'
-import '../global.css'
-
-export default function MyApp({ Component, pageProps }: AppProps) {
- return
-}
diff --git a/examples/fast-refresh-demo/pages/index.tsx b/examples/fast-refresh-demo/pages/index.tsx
deleted file mode 100644
index fecf3f89475ce..0000000000000
--- a/examples/fast-refresh-demo/pages/index.tsx
+++ /dev/null
@@ -1,70 +0,0 @@
-import { useCallback, useEffect, useState } from 'react'
-import Button from '../components/Button'
-import ClickCount from '../components/ClickCount'
-import styles from '../styles/home.module.css'
-
-function throwError() {
- console.log(
- // The function body() is not defined
- // @ts-ignore
- document.body()
- )
-}
-
-export default function Home() {
- const [count, setCount] = useState(0)
- const increment = useCallback(() => {
- setCount((v) => v + 1)
- }, [setCount])
-
- useEffect(() => {
- const r = setInterval(() => {
- increment()
- }, 1000)
-
- return () => {
- clearInterval(r)
- }
- }, [increment])
-
- return (
-
- Fast Refresh Demo
-
- Fast Refresh is a Next.js feature that gives you instantaneous feedback
- on edits made to your React components, without ever losing component
- state.
-
-
-
-
- Auto incrementing value. The counter won't reset after edits or if
- there are errors.
-
-
Current value: {count}
-
-
-
-
Component with state.
-
-
-
-
-
- The button below will throw 2 errors. You'll see the error overlay to
- let you know about the errors but it won't break the page or reset
- your state.
-
-
{
- setTimeout(() => document.parentNode, 0)
- throwError()
- }}
- >
- Throw an Error
-
-
-
-
- )
-}
diff --git a/examples/fast-refresh-demo/styles/home.module.css b/examples/fast-refresh-demo/styles/home.module.css
deleted file mode 100644
index 693115201a064..0000000000000
--- a/examples/fast-refresh-demo/styles/home.module.css
+++ /dev/null
@@ -1,11 +0,0 @@
-.main {
- padding: 20px 20px 60px;
- max-width: 680px;
- margin: 0 auto;
-}
-
-.hr {
- border: none;
- border-bottom: 1px solid #efefef;
- margin: 3em auto;
-}
diff --git a/examples/fast-refresh-demo/tsconfig.json b/examples/fast-refresh-demo/tsconfig.json
deleted file mode 100644
index 99710e857874f..0000000000000
--- a/examples/fast-refresh-demo/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve",
- "incremental": true
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/hello-world-esm/.gitignore b/examples/hello-world-esm/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/hello-world-esm/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/hello-world-esm/README.md b/examples/hello-world-esm/README.md
deleted file mode 100644
index 65ef6df327481..0000000000000
--- a/examples/hello-world-esm/README.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# ESM Hello World example
-
-This example shows the most basic idea behind Next.js, and it's running on native [esm](https://nodejs.org/api/esm.html) mode. We have 2 pages: `pages/index.tsx` and `pages/about.tsx`. The former responds to `/` requests and the latter to `/about`. Using `next/link` you can add hyperlinks between them with universal routing capabilities. The `day` directory shows that you can have subdirectories.
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example-esm) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/hello-world-esm)
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world-esm&project-name=hello-world-esm&repository-name=hello-world-esm)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example hello-world-esm hello-world-esm-app
-```
-
-```bash
-yarn create next-app --example hello-world-esm hello-world-esm-app
-```
-
-```bash
-pnpm create next-app --example hello-world-esm hello-world-esm-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
diff --git a/examples/hello-world-esm/next-env.d.ts b/examples/hello-world-esm/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/hello-world-esm/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/hello-world-esm/package.json b/examples/hello-world-esm/package.json
deleted file mode 100644
index 3481997d937ad..0000000000000
--- a/examples/hello-world-esm/package.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "private": true,
- "type": "module",
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- },
- "devDependencies": {
- "@types/node": "^18.11.5",
- "@types/react": "^18.0.23",
- "@types/react-dom": "^18.0.7",
- "typescript": "^4.8.4"
- }
-}
diff --git a/examples/hello-world-esm/pages/about.tsx b/examples/hello-world-esm/pages/about.tsx
deleted file mode 100644
index 71c7703a7bd2a..0000000000000
--- a/examples/hello-world-esm/pages/about.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function AboutPage() {
- return About us
-}
diff --git a/examples/hello-world-esm/pages/day/index.tsx b/examples/hello-world-esm/pages/day/index.tsx
deleted file mode 100644
index bd2d2fed9524f..0000000000000
--- a/examples/hello-world-esm/pages/day/index.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function DayPage() {
- return Hello Day
-}
diff --git a/examples/hello-world-esm/pages/index.tsx b/examples/hello-world-esm/pages/index.tsx
deleted file mode 100644
index 76b29040f9ddd..0000000000000
--- a/examples/hello-world-esm/pages/index.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import Link from 'next/link'
-
-export default function IndexPage() {
- return (
-
- Hello World. About
-
- )
-}
diff --git a/examples/hello-world-esm/tsconfig.json b/examples/hello-world-esm/tsconfig.json
deleted file mode 100644
index 99710e857874f..0000000000000
--- a/examples/hello-world-esm/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve",
- "incremental": true
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/hello-world/README.md b/examples/hello-world/README.md
index 44e5507b4b9ec..034aff0989a8c 100644
--- a/examples/hello-world/README.md
+++ b/examples/hello-world/README.md
@@ -1,11 +1,9 @@
-# Hello World example
+# Welcome to Next.js
-This example shows the most basic idea behind Next. We have 2 pages: `pages/index.tsx` and `pages/about.tsx`. The former responds to `/` requests and the latter to `/about`. Using `next/link` you can add hyperlinks between them with universal routing capabilities. The `day` directory shows that you can have subdirectories.
+This is the most minimal starter for your Next.js project.
## Deploy your own
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/hello-world)
-
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world)
## How to use
diff --git a/examples/hello-world/app/layout.tsx b/examples/hello-world/app/layout.tsx
new file mode 100644
index 0000000000000..dbce4ea8e3aeb
--- /dev/null
+++ b/examples/hello-world/app/layout.tsx
@@ -0,0 +1,11 @@
+export default function RootLayout({
+ children,
+}: {
+ children: React.ReactNode
+}) {
+ return (
+
+ {children}
+
+ )
+}
diff --git a/examples/hello-world/app/page.tsx b/examples/hello-world/app/page.tsx
new file mode 100644
index 0000000000000..6baa6ade86b9a
--- /dev/null
+++ b/examples/hello-world/app/page.tsx
@@ -0,0 +1,3 @@
+export default function Page() {
+ return Hello, Next.js!
+}
diff --git a/examples/hello-world/pages/about.tsx b/examples/hello-world/pages/about.tsx
deleted file mode 100644
index 71c7703a7bd2a..0000000000000
--- a/examples/hello-world/pages/about.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function AboutPage() {
- return About us
-}
diff --git a/examples/hello-world/pages/day/index.tsx b/examples/hello-world/pages/day/index.tsx
deleted file mode 100644
index bd2d2fed9524f..0000000000000
--- a/examples/hello-world/pages/day/index.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function DayPage() {
- return Hello Day
-}
diff --git a/examples/hello-world/pages/index.tsx b/examples/hello-world/pages/index.tsx
deleted file mode 100644
index 76b29040f9ddd..0000000000000
--- a/examples/hello-world/pages/index.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import Link from 'next/link'
-
-export default function IndexPage() {
- return (
-
- Hello World. About
-
- )
-}
diff --git a/examples/page-transitions/.gitignore b/examples/page-transitions/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/page-transitions/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/page-transitions/README.md b/examples/page-transitions/README.md
deleted file mode 100644
index 3d5b20ce8893b..0000000000000
--- a/examples/page-transitions/README.md
+++ /dev/null
@@ -1 +0,0 @@
-This example has been deprecated and removed in favor of https://github.com/vercel/next.js/tree/canary/examples/with-next-page-transitions
diff --git a/examples/parameterized-routing/.gitignore b/examples/parameterized-routing/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/parameterized-routing/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/parameterized-routing/README.md b/examples/parameterized-routing/README.md
deleted file mode 100644
index 32bd93d6f9278..0000000000000
--- a/examples/parameterized-routing/README.md
+++ /dev/null
@@ -1 +0,0 @@
-This example has been deprecated and removed in favor of [examples/dynamic-routing](https://github.com/vercel/next.js/tree/canary/examples/dynamic-routing)
diff --git a/examples/progressive-render/.gitignore b/examples/progressive-render/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/progressive-render/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/progressive-render/README.md b/examples/progressive-render/README.md
deleted file mode 100644
index 9b351fd9bb78b..0000000000000
--- a/examples/progressive-render/README.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# Example app implementing progressive server-side render
-
-Sometimes you want to **not** server render some parts of your application.
-
-For example:
-
-1. Third party components without server render capabilities
-2. Components that depend on `window` or other browser only APIs
-3. Content isn't important enough for the user (eg. below the fold content)
-
-To handle these cases, you can conditionally render your component using the `useEffect` hook.
-
-This example features:
-
-- A custom hook called `useMounted`, implementing this behavior
-- An app with a component that must only be rendered in the client
-- A loading component that will be displayed before rendering the client-only component
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/progressive-render)
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/progressive-render&project-name=progressive-render&repository-name=progressive-render)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example progressive-render progressive-render-app
-```
-
-```bash
-yarn create next-app --example progressive-render progressive-render-app
-```
-
-```bash
-pnpm create next-app --example progressive-render progressive-render-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
diff --git a/examples/progressive-render/components/Loading.tsx b/examples/progressive-render/components/Loading.tsx
deleted file mode 100644
index fc1805f5184dd..0000000000000
--- a/examples/progressive-render/components/Loading.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import React from 'react'
-
-export default function Loading() {
- return (
-
-
Loading...
-
-
-
- )
-}
diff --git a/examples/progressive-render/next-env.d.ts b/examples/progressive-render/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/progressive-render/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/progressive-render/package.json b/examples/progressive-render/package.json
deleted file mode 100644
index be18b903df87a..0000000000000
--- a/examples/progressive-render/package.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- },
- "devDependencies": {
- "@types/node": "^18.11.5",
- "@types/react": "^18.0.23",
- "@types/react-dom": "^18.0.7",
- "typescript": "^4.8.4"
- }
-}
diff --git a/examples/progressive-render/pages/index.tsx b/examples/progressive-render/pages/index.tsx
deleted file mode 100644
index 4db9a4f9e9442..0000000000000
--- a/examples/progressive-render/pages/index.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import { useEffect, useState } from 'react'
-import Loading from '../components/Loading'
-
-function useMounted() {
- const [mounted, setMounted] = useState(false)
-
- useEffect(() => setMounted(true), [])
-
- return mounted
-}
-
-export default function HomePage() {
- const isMounted = useMounted()
-
- return (
-
-
- This section is server-side rendered.
-
-
- {isMounted ? (
-
-
- This section is only client-side rendered.
-
-
- ) : (
-
- )}
-
-
-
- )
-}
diff --git a/examples/progressive-render/tsconfig.json b/examples/progressive-render/tsconfig.json
deleted file mode 100644
index 99710e857874f..0000000000000
--- a/examples/progressive-render/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve",
- "incremental": true
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/using-preact/.gitignore b/examples/using-preact/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/using-preact/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/using-preact/README.md b/examples/using-preact/README.md
deleted file mode 100644
index 7be3b989cd989..0000000000000
--- a/examples/using-preact/README.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# Preact example
-
-This example uses [Preact](https://github.com/preactjs/preact) instead of React. It's a React like UI framework which is fast and small.
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/using-preact)
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/using-preact)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example using-preact using-preact-app
-```
-
-```bash
-yarn create next-app --example using-preact using-preact-app
-```
-
-```bash
-pnpm create next-app --example using-preact using-preact-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
-
-### Aliasing react -> preact
-
-Using `preact` with `next.js` depends on aliasing react packages to preact ones (like `@preact/compat`). This is done directly in the [`package.json`](./package.json) dependencies.
-
-### next-plugin-preact
-
-This example was [updated](https://github.com/vercel/next.js/pull/18588) to use [`next-plugin-preact`](https://github.com/preactjs/next-plugin-preact) and now requires minimal configuration, if you want to add preact without a plugin, or see how it works, head to the previous [`next.config.js`](https://github.com/vercel/next.js/blob/629884af7d3ced97b8c2ec7aebdfb1a3a5d808f0/examples/using-preact/next.config.js).
diff --git a/examples/using-preact/next-env.d.ts b/examples/using-preact/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/using-preact/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/using-preact/next.config.js b/examples/using-preact/next.config.js
deleted file mode 100644
index f0e665c2218ae..0000000000000
--- a/examples/using-preact/next.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-const withPreact = require('next-plugin-preact')
-
-/** @type {import('next').NextConfig} */
-const nextConfig = {
- /* regular next.js config options here */
-}
-
-module.exports = withPreact(nextConfig)
diff --git a/examples/using-preact/package.json b/examples/using-preact/package.json
deleted file mode 100644
index dc2b8b3f46da2..0000000000000
--- a/examples/using-preact/package.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "next": "latest",
- "next-plugin-preact": "latest",
- "preact": "^10.10.6",
- "preact-render-to-string": "^5.2.3",
- "react": "npm:@preact/compat@^17.1.1",
- "react-dom": "npm:@preact/compat@^17.1.1",
- "react-ssr-prepass": "npm:preact-ssr-prepass@1.2.0"
- },
- "devDependencies": {
- "@types/node": "18.7.15",
- "@types/react": "16.9.17",
- "typescript": "4.8.2"
- }
-}
diff --git a/examples/using-preact/pages/about.tsx b/examples/using-preact/pages/about.tsx
deleted file mode 100644
index 71c7703a7bd2a..0000000000000
--- a/examples/using-preact/pages/about.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function AboutPage() {
- return About us
-}
diff --git a/examples/using-preact/pages/index.tsx b/examples/using-preact/pages/index.tsx
deleted file mode 100644
index 19774c7bc51e4..0000000000000
--- a/examples/using-preact/pages/index.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import Link from 'next/link'
-
-export default function IndexPage() {
- return (
-
- Hello World.{' '}
-
-
- About
-
-
- SSR
-
-
- SSG
-
-
-
- )
-}
diff --git a/examples/using-preact/pages/ssg.tsx b/examples/using-preact/pages/ssg.tsx
deleted file mode 100644
index ef13cface3bb7..0000000000000
--- a/examples/using-preact/pages/ssg.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-import { InferGetStaticPropsType } from 'next'
-
-export function getStaticProps() {
- return {
- props: { framework: 'preact' },
- }
-}
-
-export default function SSGPage({
- framework,
-}: InferGetStaticPropsType) {
- return {framework} ssg example
-}
diff --git a/examples/using-preact/pages/ssr.tsx b/examples/using-preact/pages/ssr.tsx
deleted file mode 100644
index 24c86325aa727..0000000000000
--- a/examples/using-preact/pages/ssr.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-import { InferGetServerSidePropsType } from 'next'
-
-export function getServerSideProps() {
- return {
- props: { framework: 'preact' },
- }
-}
-
-export default function SSRPage({
- framework,
-}: InferGetServerSidePropsType) {
- return {framework} ssr example
-}
diff --git a/examples/using-preact/tsconfig.json b/examples/using-preact/tsconfig.json
deleted file mode 100644
index f83cb8071c2e4..0000000000000
--- a/examples/using-preact/tsconfig.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "incremental": true,
- "esModuleInterop": true,
- "moduleResolution": "node",
- "module": "esnext",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve",
- "jsxFactory": "h",
- "jsxFragmentFactory": "Fragment"
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/using-router/.gitignore b/examples/using-router/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/using-router/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/using-router/README.md b/examples/using-router/README.md
deleted file mode 100644
index f0c1ba373fdba..0000000000000
--- a/examples/using-router/README.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# Example app utilizing next/router for routing
-
-This example features:
-
-- An app linking pages using `next/router` instead of ` ` component.
-- Access the pathname using `next/router` and render it in a component
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/using-router)
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/using-router&project-name=using-router&repository-name=using-router)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example using-router using-router-app
-```
-
-```bash
-yarn create next-app --example using-router using-router-app
-```
-
-```bash
-pnpm create next-app --example using-router using-router-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
diff --git a/examples/using-router/components/CustomLink.tsx b/examples/using-router/components/CustomLink.tsx
deleted file mode 100644
index 6964c15ab58ba..0000000000000
--- a/examples/using-router/components/CustomLink.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-import { useRouter } from 'next/router'
-import { useEffect, ReactNode, HTMLAttributes } from 'react'
-
-type CustomLinkProps = {
- children: ReactNode
- href: string
- prefetch?: boolean
- replace?: boolean
- shallow?: boolean
-} & HTMLAttributes
-
-// typically you want to use `next/link` for this usecase
-// but this example shows how you can also access the router
-// and use it manually
-export default function CustomLink({
- children,
- href,
- prefetch = false,
- replace = false,
- shallow = false,
- ...props
-}: CustomLinkProps) {
- const router = useRouter()
-
- useEffect(() => {
- if (prefetch) {
- router.prefetch(href)
- }
- }, [router, href, prefetch])
-
- return (
- {
- event.preventDefault()
- if (replace) {
- router.replace(href, undefined, { shallow })
- } else {
- router.push(href, undefined, { shallow })
- }
- }}
- >
- {children}
-
- )
-}
diff --git a/examples/using-router/components/Header.tsx b/examples/using-router/components/Header.tsx
deleted file mode 100644
index 7525d7bb739b1..0000000000000
--- a/examples/using-router/components/Header.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import CustomLink from './CustomLink'
-
-export default function Header() {
- return (
-
-
- Home {' '}
-
- About
-
-
-
- )
-}
diff --git a/examples/using-router/next-env.d.ts b/examples/using-router/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/using-router/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/using-router/package.json b/examples/using-router/package.json
deleted file mode 100644
index 240a54bc75881..0000000000000
--- a/examples/using-router/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "next": "latest",
- "react": "latest",
- "react-dom": "latest",
- "typescript": "latest",
- "@types/react": "latest",
- "@types/node": "latest"
- }
-}
diff --git a/examples/using-router/pages/about.tsx b/examples/using-router/pages/about.tsx
deleted file mode 100644
index 0f43605f1b198..0000000000000
--- a/examples/using-router/pages/about.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import Header from '../components/Header'
-
-export default function AboutPage() {
- return (
- <>
-
- This is the about page.
- >
- )
-}
diff --git a/examples/using-router/pages/index.tsx b/examples/using-router/pages/index.tsx
deleted file mode 100644
index a1ac37ffab93c..0000000000000
--- a/examples/using-router/pages/index.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import Header from '../components/Header'
-
-export default function IndexPage() {
- return (
- <>
-
- HOME PAGE is here!
- >
- )
-}
diff --git a/examples/using-router/tsconfig.json b/examples/using-router/tsconfig.json
deleted file mode 100644
index 50bcb22f653d7..0000000000000
--- a/examples/using-router/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "incremental": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve"
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/with-aphrodite/.gitignore b/examples/with-aphrodite/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-aphrodite/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-aphrodite/README.md b/examples/with-aphrodite/README.md
deleted file mode 100644
index 77c9b0bdb74e8..0000000000000
--- a/examples/with-aphrodite/README.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# Example app with aphrodite
-
-This example features how to 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 [Aphrodite](https://github.com/Khan/aphrodite/).
-
-For this purpose we are extending the ` ` and injecting the server side rendered styles into the ``.
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-aphrodite)
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-aphrodite&project-name=with-aphrodite&repository-name=with-aphrodite)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example with-aphrodite with-aphrodite-app
-```
-
-```bash
-yarn create next-app --example with-aphrodite with-aphrodite-app
-```
-
-```bash
-pnpm create next-app --example with-aphrodite with-aphrodite-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
diff --git a/examples/with-aphrodite/package.json b/examples/with-aphrodite/package.json
deleted file mode 100644
index e91ec6820ea01..0000000000000
--- a/examples/with-aphrodite/package.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "aphrodite": "^2.3.1",
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- }
-}
diff --git a/examples/with-aphrodite/pages/_document.js b/examples/with-aphrodite/pages/_document.js
deleted file mode 100644
index dcaa569581dd9..0000000000000
--- a/examples/with-aphrodite/pages/_document.js
+++ /dev/null
@@ -1,43 +0,0 @@
-import Document, { Html, Head, Main, NextScript } from 'next/document'
-import { StyleSheetServer } from 'aphrodite'
-
-class MyDocument extends Document {
- static async getInitialProps({ renderPage }) {
- const { html, css } = StyleSheetServer.renderStatic(() => renderPage())
- const ids = css.renderedClassNames
- return { ...(await html), css, ids }
- }
-
- render() {
- /* Make sure to use data-aphrodite attribute in the style tag here
- so that aphrodite knows which style tag it's in control of when
- the client goes to render styles. If you don't you'll get a second
-
-
- )
-}
diff --git a/examples/with-apollo-neo4j-graphql/components/header.tsx b/examples/with-apollo-neo4j-graphql/components/header.tsx
deleted file mode 100644
index e6235dd9b1dcc..0000000000000
--- a/examples/with-apollo-neo4j-graphql/components/header.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-export default function Header({ title }: { title?: string | string[] }) {
- return (
-
- )
-}
diff --git a/examples/with-apollo-neo4j-graphql/movie-sample.md b/examples/with-apollo-neo4j-graphql/movie-sample.md
deleted file mode 100644
index 3ab2bef2fe1fe..0000000000000
--- a/examples/with-apollo-neo4j-graphql/movie-sample.md
+++ /dev/null
@@ -1,510 +0,0 @@
-```bash
-CREATE (TheMatrix:Movie {title:'The Matrix', released:1999, tagline:'Welcome to the Real World'})
-CREATE (Keanu:Person {name:'Keanu Reeves', born:1964})
-CREATE (Carrie:Person {name:'Carrie-Anne Moss', born:1967})
-CREATE (Laurence:Person {name:'Laurence Fishburne', born:1961})
-CREATE (Hugo:Person {name:'Hugo Weaving', born:1960})
-CREATE (LillyW:Person {name:'Lilly Wachowski', born:1967})
-CREATE (LanaW:Person {name:'Lana Wachowski', born:1965})
-CREATE (JoelS:Person {name:'Joel Silver', born:1952})
-CREATE
-(Keanu)-[:ACTED_IN {roles:['Neo']}]->(TheMatrix),
-(Carrie)-[:ACTED_IN {roles:['Trinity']}]->(TheMatrix),
-(Laurence)-[:ACTED_IN {roles:['Morpheus']}]->(TheMatrix),
-(Hugo)-[:ACTED_IN {roles:['Agent Smith']}]->(TheMatrix),
-(LillyW)-[:DIRECTED]->(TheMatrix),
-(LanaW)-[:DIRECTED]->(TheMatrix),
-(JoelS)-[:PRODUCED]->(TheMatrix)
-
-CREATE (Emil:Person {name:"Emil Eifrem", born:1978})
-CREATE (Emil)-[:ACTED_IN {roles:["Emil"]}]->(TheMatrix)
-
-CREATE (TheMatrixReloaded:Movie {title:'The Matrix Reloaded', released:2003, tagline:'Free your mind'})
-CREATE
-(Keanu)-[:ACTED_IN {roles:['Neo']}]->(TheMatrixReloaded),
-(Carrie)-[:ACTED_IN {roles:['Trinity']}]->(TheMatrixReloaded),
-(Laurence)-[:ACTED_IN {roles:['Morpheus']}]->(TheMatrixReloaded),
-(Hugo)-[:ACTED_IN {roles:['Agent Smith']}]->(TheMatrixReloaded),
-(LillyW)-[:DIRECTED]->(TheMatrixReloaded),
-(LanaW)-[:DIRECTED]->(TheMatrixReloaded),
-(JoelS)-[:PRODUCED]->(TheMatrixReloaded)
-
-CREATE (TheMatrixRevolutions:Movie {title:'The Matrix Revolutions', released:2003, tagline:'Everything that has a beginning has an end'})
-CREATE
-(Keanu)-[:ACTED_IN {roles:['Neo']}]->(TheMatrixRevolutions),
-(Carrie)-[:ACTED_IN {roles:['Trinity']}]->(TheMatrixRevolutions),
-(Laurence)-[:ACTED_IN {roles:['Morpheus']}]->(TheMatrixRevolutions),
-(Hugo)-[:ACTED_IN {roles:['Agent Smith']}]->(TheMatrixRevolutions),
-(LillyW)-[:DIRECTED]->(TheMatrixRevolutions),
-(LanaW)-[:DIRECTED]->(TheMatrixRevolutions),
-(JoelS)-[:PRODUCED]->(TheMatrixRevolutions)
-
-CREATE (TheDevilsAdvocate:Movie {title:"The Devil's Advocate", released:1997, tagline:'Evil has its winning ways'})
-CREATE (Charlize:Person {name:'Charlize Theron', born:1975})
-CREATE (Al:Person {name:'Al Pacino', born:1940})
-CREATE (Taylor:Person {name:'Taylor Hackford', born:1944})
-CREATE
-(Keanu)-[:ACTED_IN {roles:['Kevin Lomax']}]->(TheDevilsAdvocate),
-(Charlize)-[:ACTED_IN {roles:['Mary Ann Lomax']}]->(TheDevilsAdvocate),
-(Al)-[:ACTED_IN {roles:['John Milton']}]->(TheDevilsAdvocate),
-(Taylor)-[:DIRECTED]->(TheDevilsAdvocate)
-
-CREATE (AFewGoodMen:Movie {title:"A Few Good Men", released:1992, tagline:"In the heart of the nation's capital, in a courthouse of the U.S. government, one man will stop at nothing to keep his honor, and one will stop at nothing to find the truth."})
-CREATE (TomC:Person {name:'Tom Cruise', born:1962})
-CREATE (JackN:Person {name:'Jack Nicholson', born:1937})
-CREATE (DemiM:Person {name:'Demi Moore', born:1962})
-CREATE (KevinB:Person {name:'Kevin Bacon', born:1958})
-CREATE (KieferS:Person {name:'Kiefer Sutherland', born:1966})
-CREATE (NoahW:Person {name:'Noah Wyle', born:1971})
-CREATE (CubaG:Person {name:'Cuba Gooding Jr.', born:1968})
-CREATE (KevinP:Person {name:'Kevin Pollak', born:1957})
-CREATE (JTW:Person {name:'J.T. Walsh', born:1943})
-CREATE (JamesM:Person {name:'James Marshall', born:1967})
-CREATE (ChristopherG:Person {name:'Christopher Guest', born:1948})
-CREATE (RobR:Person {name:'Rob Reiner', born:1947})
-CREATE (AaronS:Person {name:'Aaron Sorkin', born:1961})
-CREATE
-(TomC)-[:ACTED_IN {roles:['Lt. Daniel Kaffee']}]->(AFewGoodMen),
-(JackN)-[:ACTED_IN {roles:['Col. Nathan R. Jessup']}]->(AFewGoodMen),
-(DemiM)-[:ACTED_IN {roles:['Lt. Cdr. JoAnne Galloway']}]->(AFewGoodMen),
-(KevinB)-[:ACTED_IN {roles:['Capt. Jack Ross']}]->(AFewGoodMen),
-(KieferS)-[:ACTED_IN {roles:['Lt. Jonathan Kendrick']}]->(AFewGoodMen),
-(NoahW)-[:ACTED_IN {roles:['Cpl. Jeffrey Barnes']}]->(AFewGoodMen),
-(CubaG)-[:ACTED_IN {roles:['Cpl. Carl Hammaker']}]->(AFewGoodMen),
-(KevinP)-[:ACTED_IN {roles:['Lt. Sam Weinberg']}]->(AFewGoodMen),
-(JTW)-[:ACTED_IN {roles:['Lt. Col. Matthew Andrew Markinson']}]->(AFewGoodMen),
-(JamesM)-[:ACTED_IN {roles:['Pfc. Louden Downey']}]->(AFewGoodMen),
-(ChristopherG)-[:ACTED_IN {roles:['Dr. Stone']}]->(AFewGoodMen),
-(AaronS)-[:ACTED_IN {roles:['Man in Bar']}]->(AFewGoodMen),
-(RobR)-[:DIRECTED]->(AFewGoodMen),
-(AaronS)-[:WROTE]->(AFewGoodMen)
-
-CREATE (TopGun:Movie {title:"Top Gun", released:1986, tagline:'I feel the need, the need for speed.'})
-CREATE (KellyM:Person {name:'Kelly McGillis', born:1957})
-CREATE (ValK:Person {name:'Val Kilmer', born:1959})
-CREATE (AnthonyE:Person {name:'Anthony Edwards', born:1962})
-CREATE (TomS:Person {name:'Tom Skerritt', born:1933})
-CREATE (MegR:Person {name:'Meg Ryan', born:1961})
-CREATE (TonyS:Person {name:'Tony Scott', born:1944})
-CREATE (JimC:Person {name:'Jim Cash', born:1941})
-CREATE
-(TomC)-[:ACTED_IN {roles:['Maverick']}]->(TopGun),
-(KellyM)-[:ACTED_IN {roles:['Charlie']}]->(TopGun),
-(ValK)-[:ACTED_IN {roles:['Iceman']}]->(TopGun),
-(AnthonyE)-[:ACTED_IN {roles:['Goose']}]->(TopGun),
-(TomS)-[:ACTED_IN {roles:['Viper']}]->(TopGun),
-(MegR)-[:ACTED_IN {roles:['Carole']}]->(TopGun),
-(TonyS)-[:DIRECTED]->(TopGun),
-(JimC)-[:WROTE]->(TopGun)
-
-CREATE (JerryMaguire:Movie {title:'Jerry Maguire', released:2000, tagline:'The rest of his life begins now.'})
-CREATE (ReneeZ:Person {name:'Renee Zellweger', born:1969})
-CREATE (KellyP:Person {name:'Kelly Preston', born:1962})
-CREATE (JerryO:Person {name:"Jerry O'Connell", born:1974})
-CREATE (JayM:Person {name:'Jay Mohr', born:1970})
-CREATE (BonnieH:Person {name:'Bonnie Hunt', born:1961})
-CREATE (ReginaK:Person {name:'Regina King', born:1971})
-CREATE (JonathanL:Person {name:'Jonathan Lipnicki', born:1996})
-CREATE (CameronC:Person {name:'Cameron Crowe', born:1957})
-CREATE
-(TomC)-[:ACTED_IN {roles:['Jerry Maguire']}]->(JerryMaguire),
-(CubaG)-[:ACTED_IN {roles:['Rod Tidwell']}]->(JerryMaguire),
-(ReneeZ)-[:ACTED_IN {roles:['Dorothy Boyd']}]->(JerryMaguire),
-(KellyP)-[:ACTED_IN {roles:['Avery Bishop']}]->(JerryMaguire),
-(JerryO)-[:ACTED_IN {roles:['Frank Cushman']}]->(JerryMaguire),
-(JayM)-[:ACTED_IN {roles:['Bob Sugar']}]->(JerryMaguire),
-(BonnieH)-[:ACTED_IN {roles:['Laurel Boyd']}]->(JerryMaguire),
-(ReginaK)-[:ACTED_IN {roles:['Marcee Tidwell']}]->(JerryMaguire),
-(JonathanL)-[:ACTED_IN {roles:['Ray Boyd']}]->(JerryMaguire),
-(CameronC)-[:DIRECTED]->(JerryMaguire),
-(CameronC)-[:PRODUCED]->(JerryMaguire),
-(CameronC)-[:WROTE]->(JerryMaguire)
-
-CREATE (StandByMe:Movie {title:"Stand By Me", released:1986, tagline:"For some, it's the last real taste of innocence, and the first real taste of life. But for everyone, it's the time that memories are made of."})
-CREATE (RiverP:Person {name:'River Phoenix', born:1970})
-CREATE (CoreyF:Person {name:'Corey Feldman', born:1971})
-CREATE (WilW:Person {name:'Wil Wheaton', born:1972})
-CREATE (JohnC:Person {name:'John Cusack', born:1966})
-CREATE (MarshallB:Person {name:'Marshall Bell', born:1942})
-CREATE
-(WilW)-[:ACTED_IN {roles:['Gordie Lachance']}]->(StandByMe),
-(RiverP)-[:ACTED_IN {roles:['Chris Chambers']}]->(StandByMe),
-(JerryO)-[:ACTED_IN {roles:['Vern Tessio']}]->(StandByMe),
-(CoreyF)-[:ACTED_IN {roles:['Teddy Duchamp']}]->(StandByMe),
-(JohnC)-[:ACTED_IN {roles:['Denny Lachance']}]->(StandByMe),
-(KieferS)-[:ACTED_IN {roles:['Ace Merrill']}]->(StandByMe),
-(MarshallB)-[:ACTED_IN {roles:['Mr. Lachance']}]->(StandByMe),
-(RobR)-[:DIRECTED]->(StandByMe)
-
-CREATE (AsGoodAsItGets:Movie {title:'As Good as It Gets', released:1997, tagline:'A comedy from the heart that goes for the throat.'})
-CREATE (HelenH:Person {name:'Helen Hunt', born:1963})
-CREATE (GregK:Person {name:'Greg Kinnear', born:1963})
-CREATE (JamesB:Person {name:'James L. Brooks', born:1940})
-CREATE
-(JackN)-[:ACTED_IN {roles:['Melvin Udall']}]->(AsGoodAsItGets),
-(HelenH)-[:ACTED_IN {roles:['Carol Connelly']}]->(AsGoodAsItGets),
-(GregK)-[:ACTED_IN {roles:['Simon Bishop']}]->(AsGoodAsItGets),
-(CubaG)-[:ACTED_IN {roles:['Frank Sachs']}]->(AsGoodAsItGets),
-(JamesB)-[:DIRECTED]->(AsGoodAsItGets)
-
-CREATE (WhatDreamsMayCome:Movie {title:'What Dreams May Come', released:1998, tagline:'After life there is more. The end is just the beginning.'})
-CREATE (AnnabellaS:Person {name:'Annabella Sciorra', born:1960})
-CREATE (MaxS:Person {name:'Max von Sydow', born:1929})
-CREATE (WernerH:Person {name:'Werner Herzog', born:1942})
-CREATE (Robin:Person {name:'Robin Williams', born:1951})
-CREATE (VincentW:Person {name:'Vincent Ward', born:1956})
-CREATE
-(Robin)-[:ACTED_IN {roles:['Chris Nielsen']}]->(WhatDreamsMayCome),
-(CubaG)-[:ACTED_IN {roles:['Albert Lewis']}]->(WhatDreamsMayCome),
-(AnnabellaS)-[:ACTED_IN {roles:['Annie Collins-Nielsen']}]->(WhatDreamsMayCome),
-(MaxS)-[:ACTED_IN {roles:['The Tracker']}]->(WhatDreamsMayCome),
-(WernerH)-[:ACTED_IN {roles:['The Face']}]->(WhatDreamsMayCome),
-(VincentW)-[:DIRECTED]->(WhatDreamsMayCome)
-
-CREATE (SnowFallingonCedars:Movie {title:'Snow Falling on Cedars', released:1999, tagline:'First loves last. Forever.'})
-CREATE (EthanH:Person {name:'Ethan Hawke', born:1970})
-CREATE (RickY:Person {name:'Rick Yune', born:1971})
-CREATE (JamesC:Person {name:'James Cromwell', born:1940})
-CREATE (ScottH:Person {name:'Scott Hicks', born:1953})
-CREATE
-(EthanH)-[:ACTED_IN {roles:['Ishmael Chambers']}]->(SnowFallingonCedars),
-(RickY)-[:ACTED_IN {roles:['Kazuo Miyamoto']}]->(SnowFallingonCedars),
-(MaxS)-[:ACTED_IN {roles:['Nels Gudmundsson']}]->(SnowFallingonCedars),
-(JamesC)-[:ACTED_IN {roles:['Judge Fielding']}]->(SnowFallingonCedars),
-(ScottH)-[:DIRECTED]->(SnowFallingonCedars)
-
-CREATE (YouveGotMail:Movie {title:"You've Got Mail", released:1998, tagline:'At odds in life... in love on-line.'})
-CREATE (ParkerP:Person {name:'Parker Posey', born:1968})
-CREATE (DaveC:Person {name:'Dave Chappelle', born:1973})
-CREATE (SteveZ:Person {name:'Steve Zahn', born:1967})
-CREATE (TomH:Person {name:'Tom Hanks', born:1956})
-CREATE (NoraE:Person {name:'Nora Ephron', born:1941})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Joe Fox']}]->(YouveGotMail),
-(MegR)-[:ACTED_IN {roles:['Kathleen Kelly']}]->(YouveGotMail),
-(GregK)-[:ACTED_IN {roles:['Frank Navasky']}]->(YouveGotMail),
-(ParkerP)-[:ACTED_IN {roles:['Patricia Eden']}]->(YouveGotMail),
-(DaveC)-[:ACTED_IN {roles:['Kevin Jackson']}]->(YouveGotMail),
-(SteveZ)-[:ACTED_IN {roles:['George Pappas']}]->(YouveGotMail),
-(NoraE)-[:DIRECTED]->(YouveGotMail)
-
-CREATE (SleeplessInSeattle:Movie {title:'Sleepless in Seattle', released:1993, tagline:'What if someone you never met, someone you never saw, someone you never knew was the only someone for you?'})
-CREATE (RitaW:Person {name:'Rita Wilson', born:1956})
-CREATE (BillPull:Person {name:'Bill Pullman', born:1953})
-CREATE (VictorG:Person {name:'Victor Garber', born:1949})
-CREATE (RosieO:Person {name:"Rosie O'Donnell", born:1962})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Sam Baldwin']}]->(SleeplessInSeattle),
-(MegR)-[:ACTED_IN {roles:['Annie Reed']}]->(SleeplessInSeattle),
-(RitaW)-[:ACTED_IN {roles:['Suzy']}]->(SleeplessInSeattle),
-(BillPull)-[:ACTED_IN {roles:['Walter']}]->(SleeplessInSeattle),
-(VictorG)-[:ACTED_IN {roles:['Greg']}]->(SleeplessInSeattle),
-(RosieO)-[:ACTED_IN {roles:['Becky']}]->(SleeplessInSeattle),
-(NoraE)-[:DIRECTED]->(SleeplessInSeattle)
-
-CREATE (JoeVersustheVolcano:Movie {title:'Joe Versus the Volcano', released:1990, tagline:'A story of love, lava and burning desire.'})
-CREATE (JohnS:Person {name:'John Patrick Stanley', born:1950})
-CREATE (Nathan:Person {name:'Nathan Lane', born:1956})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Joe Banks']}]->(JoeVersustheVolcano),
-(MegR)-[:ACTED_IN {roles:['DeDe', 'Angelica Graynamore', 'Patricia Graynamore']}]->(JoeVersustheVolcano),
-(Nathan)-[:ACTED_IN {roles:['Baw']}]->(JoeVersustheVolcano),
-(JohnS)-[:DIRECTED]->(JoeVersustheVolcano)
-
-CREATE (WhenHarryMetSally:Movie {title:'When Harry Met Sally', released:1998, tagline:'Can two friends sleep together and still love each other in the morning?'})
-CREATE (BillyC:Person {name:'Billy Crystal', born:1948})
-CREATE (CarrieF:Person {name:'Carrie Fisher', born:1956})
-CREATE (BrunoK:Person {name:'Bruno Kirby', born:1949})
-CREATE
-(BillyC)-[:ACTED_IN {roles:['Harry Burns']}]->(WhenHarryMetSally),
-(MegR)-[:ACTED_IN {roles:['Sally Albright']}]->(WhenHarryMetSally),
-(CarrieF)-[:ACTED_IN {roles:['Marie']}]->(WhenHarryMetSally),
-(BrunoK)-[:ACTED_IN {roles:['Jess']}]->(WhenHarryMetSally),
-(RobR)-[:DIRECTED]->(WhenHarryMetSally),
-(RobR)-[:PRODUCED]->(WhenHarryMetSally),
-(NoraE)-[:PRODUCED]->(WhenHarryMetSally),
-(NoraE)-[:WROTE]->(WhenHarryMetSally)
-
-CREATE (ThatThingYouDo:Movie {title:'That Thing You Do', released:1996, tagline:'In every life there comes a time when that thing you dream becomes that thing you do'})
-CREATE (LivT:Person {name:'Liv Tyler', born:1977})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Mr. White']}]->(ThatThingYouDo),
-(LivT)-[:ACTED_IN {roles:['Faye Dolan']}]->(ThatThingYouDo),
-(Charlize)-[:ACTED_IN {roles:['Tina']}]->(ThatThingYouDo),
-(TomH)-[:DIRECTED]->(ThatThingYouDo)
-
-CREATE (TheReplacements:Movie {title:'The Replacements', released:2000, tagline:'Pain heals, Chicks dig scars... Glory lasts forever'})
-CREATE (Brooke:Person {name:'Brooke Langton', born:1970})
-CREATE (Gene:Person {name:'Gene Hackman', born:1930})
-CREATE (Orlando:Person {name:'Orlando Jones', born:1968})
-CREATE (Howard:Person {name:'Howard Deutch', born:1950})
-CREATE
-(Keanu)-[:ACTED_IN {roles:['Shane Falco']}]->(TheReplacements),
-(Brooke)-[:ACTED_IN {roles:['Annabelle Farrell']}]->(TheReplacements),
-(Gene)-[:ACTED_IN {roles:['Jimmy McGinty']}]->(TheReplacements),
-(Orlando)-[:ACTED_IN {roles:['Clifford Franklin']}]->(TheReplacements),
-(Howard)-[:DIRECTED]->(TheReplacements)
-
-CREATE (RescueDawn:Movie {title:'RescueDawn', released:2006, tagline:"Based on the extraordinary true story of one man's fight for freedom"})
-CREATE (ChristianB:Person {name:'Christian Bale', born:1974})
-CREATE (ZachG:Person {name:'Zach Grenier', born:1954})
-CREATE
-(MarshallB)-[:ACTED_IN {roles:['Admiral']}]->(RescueDawn),
-(ChristianB)-[:ACTED_IN {roles:['Dieter Dengler']}]->(RescueDawn),
-(ZachG)-[:ACTED_IN {roles:['Squad Leader']}]->(RescueDawn),
-(SteveZ)-[:ACTED_IN {roles:['Duane']}]->(RescueDawn),
-(WernerH)-[:DIRECTED]->(RescueDawn)
-
-CREATE (TheBirdcage:Movie {title:'The Birdcage', released:1996, tagline:'Come as you are'})
-CREATE (MikeN:Person {name:'Mike Nichols', born:1931})
-CREATE
-(Robin)-[:ACTED_IN {roles:['Armand Goldman']}]->(TheBirdcage),
-(Nathan)-[:ACTED_IN {roles:['Albert Goldman']}]->(TheBirdcage),
-(Gene)-[:ACTED_IN {roles:['Sen. Kevin Keeley']}]->(TheBirdcage),
-(MikeN)-[:DIRECTED]->(TheBirdcage)
-
-CREATE (Unforgiven:Movie {title:'Unforgiven', released:1992, tagline:"It's a hell of a thing, killing a man"})
-CREATE (RichardH:Person {name:'Richard Harris', born:1930})
-CREATE (ClintE:Person {name:'Clint Eastwood', born:1930})
-CREATE
-(RichardH)-[:ACTED_IN {roles:['English Bob']}]->(Unforgiven),
-(ClintE)-[:ACTED_IN {roles:['Bill Munny']}]->(Unforgiven),
-(Gene)-[:ACTED_IN {roles:['Little Bill Daggett']}]->(Unforgiven),
-(ClintE)-[:DIRECTED]->(Unforgiven)
-
-CREATE (JohnnyMnemonic:Movie {title:'Johnny Mnemonic', released:1995, tagline:'The hottest data on earth. In the coolest head in town'})
-CREATE (Takeshi:Person {name:'Takeshi Kitano', born:1947})
-CREATE (Dina:Person {name:'Dina Meyer', born:1968})
-CREATE (IceT:Person {name:'Ice-T', born:1958})
-CREATE (RobertL:Person {name:'Robert Longo', born:1953})
-CREATE
-(Keanu)-[:ACTED_IN {roles:['Johnny Mnemonic']}]->(JohnnyMnemonic),
-(Takeshi)-[:ACTED_IN {roles:['Takahashi']}]->(JohnnyMnemonic),
-(Dina)-[:ACTED_IN {roles:['Jane']}]->(JohnnyMnemonic),
-(IceT)-[:ACTED_IN {roles:['J-Bone']}]->(JohnnyMnemonic),
-(RobertL)-[:DIRECTED]->(JohnnyMnemonic)
-
-CREATE (CloudAtlas:Movie {title:'Cloud Atlas', released:2012, tagline:'Everything is connected'})
-CREATE (HalleB:Person {name:'Halle Berry', born:1966})
-CREATE (JimB:Person {name:'Jim Broadbent', born:1949})
-CREATE (TomT:Person {name:'Tom Tykwer', born:1965})
-CREATE (DavidMitchell:Person {name:'David Mitchell', born:1969})
-CREATE (StefanArndt:Person {name:'Stefan Arndt', born:1961})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Zachry', 'Dr. Henry Goose', 'Isaac Sachs', 'Dermot Hoggins']}]->(CloudAtlas),
-(Hugo)-[:ACTED_IN {roles:['Bill Smoke', 'Haskell Moore', 'Tadeusz Kesselring', 'Nurse Noakes', 'Boardman Mephi', 'Old Georgie']}]->(CloudAtlas),
-(HalleB)-[:ACTED_IN {roles:['Luisa Rey', 'Jocasta Ayrs', 'Ovid', 'Meronym']}]->(CloudAtlas),
-(JimB)-[:ACTED_IN {roles:['Vyvyan Ayrs', 'Captain Molyneux', 'Timothy Cavendish']}]->(CloudAtlas),
-(TomT)-[:DIRECTED]->(CloudAtlas),
-(LillyW)-[:DIRECTED]->(CloudAtlas),
-(LanaW)-[:DIRECTED]->(CloudAtlas),
-(DavidMitchell)-[:WROTE]->(CloudAtlas),
-(StefanArndt)-[:PRODUCED]->(CloudAtlas)
-
-CREATE (TheDaVinciCode:Movie {title:'The Da Vinci Code', released:2006, tagline:'Break The Codes'})
-CREATE (IanM:Person {name:'Ian McKellen', born:1939})
-CREATE (AudreyT:Person {name:'Audrey Tautou', born:1976})
-CREATE (PaulB:Person {name:'Paul Bettany', born:1971})
-CREATE (RonH:Person {name:'Ron Howard', born:1954})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Dr. Robert Langdon']}]->(TheDaVinciCode),
-(IanM)-[:ACTED_IN {roles:['Sir Leight Teabing']}]->(TheDaVinciCode),
-(AudreyT)-[:ACTED_IN {roles:['Sophie Neveu']}]->(TheDaVinciCode),
-(PaulB)-[:ACTED_IN {roles:['Silas']}]->(TheDaVinciCode),
-(RonH)-[:DIRECTED]->(TheDaVinciCode)
-
-CREATE (VforVendetta:Movie {title:'V for Vendetta', released:2006, tagline:'Freedom! Forever!'})
-CREATE (NatalieP:Person {name:'Natalie Portman', born:1981})
-CREATE (StephenR:Person {name:'Stephen Rea', born:1946})
-CREATE (JohnH:Person {name:'John Hurt', born:1940})
-CREATE (BenM:Person {name: 'Ben Miles', born:1967})
-CREATE
-(Hugo)-[:ACTED_IN {roles:['V']}]->(VforVendetta),
-(NatalieP)-[:ACTED_IN {roles:['Evey Hammond']}]->(VforVendetta),
-(StephenR)-[:ACTED_IN {roles:['Eric Finch']}]->(VforVendetta),
-(JohnH)-[:ACTED_IN {roles:['High Chancellor Adam Sutler']}]->(VforVendetta),
-(BenM)-[:ACTED_IN {roles:['Dascomb']}]->(VforVendetta),
-(JamesM)-[:DIRECTED]->(VforVendetta),
-(LillyW)-[:PRODUCED]->(VforVendetta),
-(LanaW)-[:PRODUCED]->(VforVendetta),
-(JoelS)-[:PRODUCED]->(VforVendetta),
-(LillyW)-[:WROTE]->(VforVendetta),
-(LanaW)-[:WROTE]->(VforVendetta)
-
-CREATE (SpeedRacer:Movie {title:'Speed Racer', released:2008, tagline:'Speed has no limits'})
-CREATE (EmileH:Person {name:'Emile Hirsch', born:1985})
-CREATE (JohnG:Person {name:'John Goodman', born:1960})
-CREATE (SusanS:Person {name:'Susan Sarandon', born:1946})
-CREATE (MatthewF:Person {name:'Matthew Fox', born:1966})
-CREATE (ChristinaR:Person {name:'Christina Ricci', born:1980})
-CREATE (Rain:Person {name:'Rain', born:1982})
-CREATE
-(EmileH)-[:ACTED_IN {roles:['Speed Racer']}]->(SpeedRacer),
-(JohnG)-[:ACTED_IN {roles:['Pops']}]->(SpeedRacer),
-(SusanS)-[:ACTED_IN {roles:['Mom']}]->(SpeedRacer),
-(MatthewF)-[:ACTED_IN {roles:['Racer X']}]->(SpeedRacer),
-(ChristinaR)-[:ACTED_IN {roles:['Trixie']}]->(SpeedRacer),
-(Rain)-[:ACTED_IN {roles:['Taejo Togokahn']}]->(SpeedRacer),
-(BenM)-[:ACTED_IN {roles:['Cass Jones']}]->(SpeedRacer),
-(LillyW)-[:DIRECTED]->(SpeedRacer),
-(LanaW)-[:DIRECTED]->(SpeedRacer),
-(LillyW)-[:WROTE]->(SpeedRacer),
-(LanaW)-[:WROTE]->(SpeedRacer),
-(JoelS)-[:PRODUCED]->(SpeedRacer)
-
-CREATE (NinjaAssassin:Movie {title:'Ninja Assassin', released:2009, tagline:'Prepare to enter a secret world of assassins'})
-CREATE (NaomieH:Person {name:'Naomie Harris'})
-CREATE
-(Rain)-[:ACTED_IN {roles:['Raizo']}]->(NinjaAssassin),
-(NaomieH)-[:ACTED_IN {roles:['Mika Coretti']}]->(NinjaAssassin),
-(RickY)-[:ACTED_IN {roles:['Takeshi']}]->(NinjaAssassin),
-(BenM)-[:ACTED_IN {roles:['Ryan Maslow']}]->(NinjaAssassin),
-(JamesM)-[:DIRECTED]->(NinjaAssassin),
-(LillyW)-[:PRODUCED]->(NinjaAssassin),
-(LanaW)-[:PRODUCED]->(NinjaAssassin),
-(JoelS)-[:PRODUCED]->(NinjaAssassin)
-
-CREATE (TheGreenMile:Movie {title:'The Green Mile', released:1999, tagline:"Walk a mile you'll never forget."})
-CREATE (MichaelD:Person {name:'Michael Clarke Duncan', born:1957})
-CREATE (DavidM:Person {name:'David Morse', born:1953})
-CREATE (SamR:Person {name:'Sam Rockwell', born:1968})
-CREATE (GaryS:Person {name:'Gary Sinise', born:1955})
-CREATE (PatriciaC:Person {name:'Patricia Clarkson', born:1959})
-CREATE (FrankD:Person {name:'Frank Darabont', born:1959})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Paul Edgecomb']}]->(TheGreenMile),
-(MichaelD)-[:ACTED_IN {roles:['John Coffey']}]->(TheGreenMile),
-(DavidM)-[:ACTED_IN {roles:['Brutus "Brutal" Howell']}]->(TheGreenMile),
-(BonnieH)-[:ACTED_IN {roles:['Jan Edgecomb']}]->(TheGreenMile),
-(JamesC)-[:ACTED_IN {roles:['Warden Hal Moores']}]->(TheGreenMile),
-(SamR)-[:ACTED_IN {roles:['"Wild Bill" Wharton']}]->(TheGreenMile),
-(GaryS)-[:ACTED_IN {roles:['Burt Hammersmith']}]->(TheGreenMile),
-(PatriciaC)-[:ACTED_IN {roles:['Melinda Moores']}]->(TheGreenMile),
-(FrankD)-[:DIRECTED]->(TheGreenMile)
-
-CREATE (FrostNixon:Movie {title:'Frost/Nixon', released:2008, tagline:'400 million people were waiting for the truth.'})
-CREATE (FrankL:Person {name:'Frank Langella', born:1938})
-CREATE (MichaelS:Person {name:'Michael Sheen', born:1969})
-CREATE (OliverP:Person {name:'Oliver Platt', born:1960})
-CREATE
-(FrankL)-[:ACTED_IN {roles:['Richard Nixon']}]->(FrostNixon),
-(MichaelS)-[:ACTED_IN {roles:['David Frost']}]->(FrostNixon),
-(KevinB)-[:ACTED_IN {roles:['Jack Brennan']}]->(FrostNixon),
-(OliverP)-[:ACTED_IN {roles:['Bob Zelnick']}]->(FrostNixon),
-(SamR)-[:ACTED_IN {roles:['James Reston, Jr.']}]->(FrostNixon),
-(RonH)-[:DIRECTED]->(FrostNixon)
-
-CREATE (Hoffa:Movie {title:'Hoffa', released:1992, tagline:"He didn't want law. He wanted justice."})
-CREATE (DannyD:Person {name:'Danny DeVito', born:1944})
-CREATE (JohnR:Person {name:'John C. Reilly', born:1965})
-CREATE
-(JackN)-[:ACTED_IN {roles:['Hoffa']}]->(Hoffa),
-(DannyD)-[:ACTED_IN {roles:['Robert "Bobby" Ciaro']}]->(Hoffa),
-(JTW)-[:ACTED_IN {roles:['Frank Fitzsimmons']}]->(Hoffa),
-(JohnR)-[:ACTED_IN {roles:['Peter "Pete" Connelly']}]->(Hoffa),
-(DannyD)-[:DIRECTED]->(Hoffa)
-
-CREATE (Apollo13:Movie {title:'Apollo 13', released:1995, tagline:'Houston, we have a problem.'})
-CREATE (EdH:Person {name:'Ed Harris', born:1950})
-CREATE (BillPax:Person {name:'Bill Paxton', born:1955})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Jim Lovell']}]->(Apollo13),
-(KevinB)-[:ACTED_IN {roles:['Jack Swigert']}]->(Apollo13),
-(EdH)-[:ACTED_IN {roles:['Gene Kranz']}]->(Apollo13),
-(BillPax)-[:ACTED_IN {roles:['Fred Haise']}]->(Apollo13),
-(GaryS)-[:ACTED_IN {roles:['Ken Mattingly']}]->(Apollo13),
-(RonH)-[:DIRECTED]->(Apollo13)
-
-CREATE (Twister:Movie {title:'Twister', released:1996, tagline:"Don't Breathe. Don't Look Back."})
-CREATE (PhilipH:Person {name:'Philip Seymour Hoffman', born:1967})
-CREATE (JanB:Person {name:'Jan de Bont', born:1943})
-CREATE
-(BillPax)-[:ACTED_IN {roles:['Bill Harding']}]->(Twister),
-(HelenH)-[:ACTED_IN {roles:['Dr. Jo Harding']}]->(Twister),
-(ZachG)-[:ACTED_IN {roles:['Eddie']}]->(Twister),
-(PhilipH)-[:ACTED_IN {roles:['Dustin "Dusty" Davis']}]->(Twister),
-(JanB)-[:DIRECTED]->(Twister)
-
-CREATE (CastAway:Movie {title:'Cast Away', released:2000, tagline:'At the edge of the world, his journey begins.'})
-CREATE (RobertZ:Person {name:'Robert Zemeckis', born:1951})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Chuck Noland']}]->(CastAway),
-(HelenH)-[:ACTED_IN {roles:['Kelly Frears']}]->(CastAway),
-(RobertZ)-[:DIRECTED]->(CastAway)
-
-CREATE (OneFlewOvertheCuckoosNest:Movie {title:"One Flew Over the Cuckoo's Nest", released:1975, tagline:"If he's crazy, what does that make you?"})
-CREATE (MilosF:Person {name:'Milos Forman', born:1932})
-CREATE
-(JackN)-[:ACTED_IN {roles:['Randle McMurphy']}]->(OneFlewOvertheCuckoosNest),
-(DannyD)-[:ACTED_IN {roles:['Martini']}]->(OneFlewOvertheCuckoosNest),
-(MilosF)-[:DIRECTED]->(OneFlewOvertheCuckoosNest)
-
-CREATE (SomethingsGottaGive:Movie {title:"Something's Gotta Give", released:2003})
-CREATE (DianeK:Person {name:'Diane Keaton', born:1946})
-CREATE (NancyM:Person {name:'Nancy Meyers', born:1949})
-CREATE
-(JackN)-[:ACTED_IN {roles:['Harry Sanborn']}]->(SomethingsGottaGive),
-(DianeK)-[:ACTED_IN {roles:['Erica Barry']}]->(SomethingsGottaGive),
-(Keanu)-[:ACTED_IN {roles:['Julian Mercer']}]->(SomethingsGottaGive),
-(NancyM)-[:DIRECTED]->(SomethingsGottaGive),
-(NancyM)-[:PRODUCED]->(SomethingsGottaGive),
-(NancyM)-[:WROTE]->(SomethingsGottaGive)
-
-CREATE (BicentennialMan:Movie {title:'Bicentennial Man', released:1999, tagline:"One robot's 200 year journey to become an ordinary man."})
-CREATE (ChrisC:Person {name:'Chris Columbus', born:1958})
-CREATE
-(Robin)-[:ACTED_IN {roles:['Andrew Marin']}]->(BicentennialMan),
-(OliverP)-[:ACTED_IN {roles:['Rupert Burns']}]->(BicentennialMan),
-(ChrisC)-[:DIRECTED]->(BicentennialMan)
-
-CREATE (CharlieWilsonsWar:Movie {title:"Charlie Wilson's War", released:2007, tagline:"A stiff drink. A little mascara. A lot of nerve. Who said they couldn't bring down the Soviet empire."})
-CREATE (JuliaR:Person {name:'Julia Roberts', born:1967})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Rep. Charlie Wilson']}]->(CharlieWilsonsWar),
-(JuliaR)-[:ACTED_IN {roles:['Joanne Herring']}]->(CharlieWilsonsWar),
-(PhilipH)-[:ACTED_IN {roles:['Gust Avrakotos']}]->(CharlieWilsonsWar),
-(MikeN)-[:DIRECTED]->(CharlieWilsonsWar)
-
-CREATE (ThePolarExpress:Movie {title:'The Polar Express', released:2004, tagline:'This Holiday Season… Believe'})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Hero Boy', 'Father', 'Conductor', 'Hobo', 'Scrooge', 'Santa Claus']}]->(ThePolarExpress),
-(RobertZ)-[:DIRECTED]->(ThePolarExpress)
-
-CREATE (ALeagueofTheirOwn:Movie {title:'A League of Their Own', released:1992, tagline:'Once in a lifetime you get a chance to do something different.'})
-CREATE (Madonna:Person {name:'Madonna', born:1954})
-CREATE (GeenaD:Person {name:'Geena Davis', born:1956})
-CREATE (LoriP:Person {name:'Lori Petty', born:1963})
-CREATE (PennyM:Person {name:'Penny Marshall', born:1943})
-CREATE
-(TomH)-[:ACTED_IN {roles:['Jimmy Dugan']}]->(ALeagueofTheirOwn),
-(GeenaD)-[:ACTED_IN {roles:['Dottie Hinson']}]->(ALeagueofTheirOwn),
-(LoriP)-[:ACTED_IN {roles:['Kit Keller']}]->(ALeagueofTheirOwn),
-(RosieO)-[:ACTED_IN {roles:['Doris Murphy']}]->(ALeagueofTheirOwn),
-(Madonna)-[:ACTED_IN {roles:['"All the Way" Mae Mordabito']}]->(ALeagueofTheirOwn),
-(BillPax)-[:ACTED_IN {roles:['Bob Hinson']}]->(ALeagueofTheirOwn),
-(PennyM)-[:DIRECTED]->(ALeagueofTheirOwn)
-
-CREATE (PaulBlythe:Person {name:'Paul Blythe'})
-CREATE (AngelaScope:Person {name:'Angela Scope'})
-CREATE (JessicaThompson:Person {name:'Jessica Thompson'})
-CREATE (JamesThompson:Person {name:'James Thompson'})
-
-CREATE
-(JamesThompson)-[:FOLLOWS]->(JessicaThompson),
-(AngelaScope)-[:FOLLOWS]->(JessicaThompson),
-(PaulBlythe)-[:FOLLOWS]->(AngelaScope)
-
-CREATE
-(JessicaThompson)-[:REVIEWED {summary:'An amazing journey', rating:95}]->(CloudAtlas),
-(JessicaThompson)-[:REVIEWED {summary:'Silly, but fun', rating:65}]->(TheReplacements),
-(JamesThompson)-[:REVIEWED {summary:'The coolest football movie ever', rating:100}]->(TheReplacements),
-(AngelaScope)-[:REVIEWED {summary:'Pretty funny at times', rating:62}]->(TheReplacements),
-(JessicaThompson)-[:REVIEWED {summary:'Dark, but compelling', rating:85}]->(Unforgiven),
-(JessicaThompson)-[:REVIEWED {summary:"Slapstick redeemed only by the Robin Williams and Gene Hackman's stellar performances", rating:45}]->(TheBirdcage),
-(JessicaThompson)-[:REVIEWED {summary:'A solid romp', rating:68}]->(TheDaVinciCode),
-(JamesThompson)-[:REVIEWED {summary:'Fun, but a little far fetched', rating:65}]->(TheDaVinciCode),
-(JessicaThompson)-[:REVIEWED {summary:'You had me at Jerry', rating:92}]->(JerryMaguire)
-
-WITH TomH as a
-MATCH (a)-[:ACTED_IN]->(m)<-[:DIRECTED]-(d) RETURN a,m,d LIMIT 10;
-```
diff --git a/examples/with-apollo-neo4j-graphql/next-env.d.ts b/examples/with-apollo-neo4j-graphql/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/with-apollo-neo4j-graphql/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-apollo-neo4j-graphql/next.config.js b/examples/with-apollo-neo4j-graphql/next.config.js
deleted file mode 100644
index 8b71f62400168..0000000000000
--- a/examples/with-apollo-neo4j-graphql/next.config.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/** @type {import('next').NextConfig} */
-const nextConfig = {
- reactStrictMode: true,
- webpack: (config) => {
- // this will override the experiments
- config.experiments = { ...config.experiments, topLevelAwait: true }
- // this will just update topLevelAwait property of config.experiments
- // config.experiments.topLevelAwait = true
- return config
- },
-}
-
-module.exports = nextConfig
diff --git a/examples/with-apollo-neo4j-graphql/package.json b/examples/with-apollo-neo4j-graphql/package.json
deleted file mode 100644
index 4b5f277b43e25..0000000000000
--- a/examples/with-apollo-neo4j-graphql/package.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next dev",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "@apollo/client": "^3.7.3",
- "@apollo/server": "^4.3.0",
- "@as-integrations/next": "^1.2.0",
- "@neo4j/graphql": "^3.14.1",
- "deepmerge": "^4.2.2",
- "graphql": "^16.6.0",
- "neo4j-driver": "^5.3.0",
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- }
-}
diff --git a/examples/with-apollo-neo4j-graphql/pages/_app.tsx b/examples/with-apollo-neo4j-graphql/pages/_app.tsx
deleted file mode 100644
index 4d82196930e93..0000000000000
--- a/examples/with-apollo-neo4j-graphql/pages/_app.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-import '../styles/globals.css'
-import { ApolloProvider } from '@apollo/client'
-import { useApollo } from '../apollo/client'
-import type { AppProps } from 'next/app'
-
-export default function MyApp({ Component, pageProps }: AppProps) {
- const apolloClient = useApollo(pageProps.initialApolloState)
- return (
-
-
-
- )
-}
diff --git a/examples/with-apollo-neo4j-graphql/pages/actor/[name].tsx b/examples/with-apollo-neo4j-graphql/pages/actor/[name].tsx
deleted file mode 100644
index 5330f83756343..0000000000000
--- a/examples/with-apollo-neo4j-graphql/pages/actor/[name].tsx
+++ /dev/null
@@ -1,114 +0,0 @@
-import Head from 'next/head'
-import Link from 'next/link'
-import { useRouter } from 'next/router'
-import { gql, useQuery } from '@apollo/client'
-import Header from '../../components/header'
-import Footer from '../../components/footer'
-import { Actors } from '../../types'
-
-const GET_ACTOR = gql`
- query GetActor($actorName: String) {
- people(where: { name: $actorName }) {
- name
- born
- movies {
- title
- }
- }
- }
-`
-
-export default function Actor() {
- const router = useRouter()
- const { name } = router.query
- const { loading, error, data } = useQuery<{ people: Actors }>(GET_ACTOR, {
- variables: { actorName: name },
- })
-
- if (loading) return 'Loading...'
- if (error) return `Error! ${error.message}`
-
- return (
-
-
-
Next with Neo4j
-
-
-
-
-
-
-
-
-
Information
-
- Born:
- {data.people[0].born}
-
-
-
-
Movies
- {data.people[0].movies.map((movie) => (
-
- ))}
-
-
-
-
-
-
-
-
-
-
- )
-}
diff --git a/examples/with-apollo-neo4j-graphql/pages/api/graphql.ts b/examples/with-apollo-neo4j-graphql/pages/api/graphql.ts
deleted file mode 100644
index d22a0ea196068..0000000000000
--- a/examples/with-apollo-neo4j-graphql/pages/api/graphql.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { ApolloServer } from '@apollo/server'
-import { startServerAndCreateNextHandler } from '@as-integrations/next'
-import { neoSchema } from '../../apollo/schema'
-
-const server = async (): Promise => {
- const schema = await neoSchema.getSchema()
- return new ApolloServer({ schema })
-}
-
-export default startServerAndCreateNextHandler(await server())
diff --git a/examples/with-apollo-neo4j-graphql/pages/index.tsx b/examples/with-apollo-neo4j-graphql/pages/index.tsx
deleted file mode 100644
index 1842e3d44bbb9..0000000000000
--- a/examples/with-apollo-neo4j-graphql/pages/index.tsx
+++ /dev/null
@@ -1,159 +0,0 @@
-import Head from 'next/head'
-import Link from 'next/link'
-import { gql, useQuery } from '@apollo/client'
-import Header from '../components/header'
-import Footer from '../components/footer'
-import type { Movies } from '../types'
-
-const GET_MOVIES = gql`
- query GetMovies {
- movies {
- title
- tagline
- released
- actors {
- name
- }
- directors {
- name
- }
- }
- }
-`
-
-export default function Home() {
- const { loading, error, data } = useQuery<{ movies: Movies }>(GET_MOVIES)
-
- if (loading) return 'Loading...'
- if (error) return `Error! ${error.message}`
-
- return (
-
-
-
Next with Neo4j
-
-
-
-
-
-
-
-
- "Movies" Neo4j example dataset.
-
-
-
-
-
- #
- Movie Title
- Released
- Tagline
- Directed
- Actors
-
-
-
- {data.movies.map((movie, index) => (
-
- {index + 1}
-
-
- {movie.title}
-
-
- {movie.released}
- {movie.tagline}
-
-
- {movie.directors.map((director) => (
- {director.name}
- ))}
-
-
-
-
- {movie.actors.map((actor) => (
-
-
- {actor.name}
-
-
- ))}
-
-
-
- ))}
-
-
-
-
-
-
-
-
-
- )
-}
diff --git a/examples/with-apollo-neo4j-graphql/pages/movie/[title].tsx b/examples/with-apollo-neo4j-graphql/pages/movie/[title].tsx
deleted file mode 100644
index e1b0999b7e4f6..0000000000000
--- a/examples/with-apollo-neo4j-graphql/pages/movie/[title].tsx
+++ /dev/null
@@ -1,112 +0,0 @@
-import Head from 'next/head'
-import Link from 'next/link'
-import { useRouter } from 'next/router'
-import { gql, useQuery } from '@apollo/client'
-import Header from '../../components/header'
-import Footer from '../../components/footer'
-import type { Movies } from '../../types'
-
-const GET_MOVIE = gql`
- query GetMovie($movieTitle: String) {
- movies(where: { title: $movieTitle }) {
- title
- tagline
- released
- actors {
- name
- }
- directors {
- name
- }
- }
- }
-`
-
-export default function Movie() {
- const router = useRouter()
- const { title } = router.query
- const { loading, error, data } = useQuery<{ movies: Movies }>(GET_MOVIE, {
- variables: { movieTitle: title },
- })
-
- if (loading) return 'Loading...'
- if (error) return `Error! ${error.message}`
-
- return (
-
-
-
Next with Neo4j
-
-
-
-
-
-
-
-
-
Information
-
- Tagline:
- {data.movies[0].tagline}
-
-
- Released:
- {data.movies[0].released}
-
-
-
-
Actors
- {data.movies[0].actors.map((actor) => (
-
{actor.name}
- ))}
-
-
-
Directors
- {data.movies[0].directors.map((director) => (
-
{director.name}
- ))}
-
-
-
-
-
-
-
-
-
-
- )
-}
diff --git a/examples/with-apollo-neo4j-graphql/public/favicon.ico b/examples/with-apollo-neo4j-graphql/public/favicon.ico
deleted file mode 100644
index 4965832f2c9b0605eaa189b7c7fb11124d24e48a..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 15086
zcmeHOOH5Q(7(R0cc?bh2AT>N@1PWL!LLfZKyG5c!MTHoP7_p!sBz0k$?pjS;^lmgJ
zU6^i~bWuZYHL)9$wuvEKm~qo~(5=Lvx5&Hv;?X#m}i|`yaGY4gX+&b>tew;gcnRQA1kp
zBbm04SRuuE{Hn+&1wk%&g;?wja_Is#1gKoFlI7f`Gt}X*-nsMO30b_J@)EFNhzd1QM
zdH&qFb9PVqQOx@clvc#KAu}^GrN`q5oP(8>m4UOcp`k&xwzkTio*p?kI4BPtIwX%B
zJN69cGsm=x90<;Wmh-bs>43F}ro$}Of@8)4KHndLiR$nW?*{Rl72JPUqRr3ta6e#A
z%DTEbi9N}+xPtd1juj8;(CJt3r9NOgb>KTuK|z7!JB_KsFW3(pBN4oh&M&}Nb$Ee2
z$-arA6a)CdsPj`M#1DS>fqj#KF%0q?w50GN4YbmMZIoF{e1yTR=4ablqXHBB2!`wM
z1M1ke9+<);|AI;f=2^F1;G6Wfpql?1d5D4rMr?#f(=hkoH)U`6Gb)#xDLjoKjp)1;Js@2Iy5yk
zMXUqj+gyk1i0yLjWS|3sM2-1ECc;MAz<4t0P53%7se$$+5Ex`L5TQO_MMXXi04UDIU+3*7Ez&X|mj9cFYBXqM{M;mw_
zpw>azP*qjMyNSD4hh)XZt$gqf8f?eRSFX8VQ4Y+H3jAtvyTrXr`qHAD6`m;aYmH2zOhJC~_*AuT}
zvUxC38|JYN94i(05R)dVKgUQF$}#cxV7xZ4FULqFCNX*Forhgp*yr6;DsIk=ub0Hv
zpk2L{9Q&|uI^b<6@i(Y+iSxeO_n**4nRLc`P!3ld5jL=nZRw6;DEJ*1z6Pvg+eW|$lnnjO
zjd|8>6l{i~UxI244CGn2kK@cJ|#ecwgSyt&HKA2)z
zrOO{op^o*-
-
-
diff --git a/examples/with-apollo-neo4j-graphql/styles/globals.css b/examples/with-apollo-neo4j-graphql/styles/globals.css
deleted file mode 100644
index e5e2dcc23baf1..0000000000000
--- a/examples/with-apollo-neo4j-graphql/styles/globals.css
+++ /dev/null
@@ -1,16 +0,0 @@
-html,
-body {
- padding: 0;
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
- Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
-}
-
-a {
- color: inherit;
- text-decoration: none;
-}
-
-* {
- box-sizing: border-box;
-}
diff --git a/examples/with-apollo-neo4j-graphql/tsconfig.json b/examples/with-apollo-neo4j-graphql/tsconfig.json
deleted file mode 100644
index 1563f3e878573..0000000000000
--- a/examples/with-apollo-neo4j-graphql/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": false,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "incremental": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve"
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/with-apollo-neo4j-graphql/types/index.ts b/examples/with-apollo-neo4j-graphql/types/index.ts
deleted file mode 100644
index 30207a61dfdd0..0000000000000
--- a/examples/with-apollo-neo4j-graphql/types/index.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-interface Person {
- name: string
- born: number
- movies: Movies
-}
-
-interface Movie {
- title: string
- tagline: string
- released: number
- actors: Actors
- directors: Directors
-}
-
-export type Movies = Partial[]
-
-export type Actors = Partial[]
-
-export type Directors = Partial[]
diff --git a/examples/with-apollo-neo4j-graphql/util/neo4j.ts b/examples/with-apollo-neo4j-graphql/util/neo4j.ts
deleted file mode 100644
index db7a3f3d25cb7..0000000000000
--- a/examples/with-apollo-neo4j-graphql/util/neo4j.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import neo4j from 'neo4j-driver'
-import type { Driver } from 'neo4j-driver'
-
-let driver: Driver
-
-const defaultOptions = {
- uri: process.env.NEO4J_URI,
- username: process.env.NEO4J_USER,
- password: process.env.NEO4J_PASSWORD,
-}
-
-export default function getDriver() {
- const { uri, username, password } = defaultOptions
- if (!driver) {
- driver = neo4j.driver(uri, neo4j.auth.basic(username, password))
- }
-
- return driver
-}
diff --git a/examples/with-app-layout/.gitignore b/examples/with-app-layout/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-app-layout/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-app-layout/README.md b/examples/with-app-layout/README.md
deleted file mode 100644
index 857e0924d98cf..0000000000000
--- a/examples/with-app-layout/README.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# With `App` layout example
-
-Shows how to use `_app.tsx` to implement a global layout for all pages.
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-app-layout)
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-app-layout&project-name=with-app-layout&repository-name=with-app-layout)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example with-app-layout with-app-layout-app
-```
-
-```bash
-yarn create next-app --example with-app-layout with-app-layout-app
-```
-
-```bash
-pnpm create next-app --example with-app-layout with-app-layout-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
diff --git a/examples/with-app-layout/next-env.d.ts b/examples/with-app-layout/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/with-app-layout/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-app-layout/package.json b/examples/with-app-layout/package.json
deleted file mode 100644
index fca0b75a59c0d..0000000000000
--- a/examples/with-app-layout/package.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- },
- "devDependencies": {
- "@types/node": "^18.11.9",
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
- "typescript": "^4.8.4"
- }
-}
diff --git a/examples/with-app-layout/pages/_app.tsx b/examples/with-app-layout/pages/_app.tsx
deleted file mode 100644
index d949ab5504583..0000000000000
--- a/examples/with-app-layout/pages/_app.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-import type { AppProps } from 'next/app'
-
-interface LayoutProps {
- children: React.ReactNode
-}
-
-const Layout = ({ children }: LayoutProps) => (
- {children}
-)
-
-export default function App({ Component, pageProps }: AppProps) {
- return (
-
-
-
- )
-}
diff --git a/examples/with-app-layout/pages/index.tsx b/examples/with-app-layout/pages/index.tsx
deleted file mode 100644
index 888b53c750310..0000000000000
--- a/examples/with-app-layout/pages/index.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function Home() {
- return test
-}
diff --git a/examples/with-app-layout/tsconfig.json b/examples/with-app-layout/tsconfig.json
deleted file mode 100644
index b8d597880a1ae..0000000000000
--- a/examples/with-app-layout/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": false,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve",
- "incremental": true
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules"]
-}
diff --git a/examples/with-aws-amplify-typescript/.gitignore b/examples/with-aws-amplify-typescript/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-aws-amplify-typescript/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-aws-amplify-typescript/README.md b/examples/with-aws-amplify-typescript/README.md
deleted file mode 100644
index 822080f80ac52..0000000000000
--- a/examples/with-aws-amplify-typescript/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## Deprecated
-
-The main [`with-aws-amplify`](../with-aws-amplify) example has been refactored to use TypeScript so please visit that example instead.
diff --git a/examples/with-aws-amplify/.gitignore b/examples/with-aws-amplify/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-aws-amplify/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-aws-amplify/README.md b/examples/with-aws-amplify/README.md
deleted file mode 100644
index 45a8e636886d6..0000000000000
--- a/examples/with-aws-amplify/README.md
+++ /dev/null
@@ -1,230 +0,0 @@
-# AWS Amplify and TypeScript with Next.js
-
-[![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 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 :
-
-- `/` : A server-rendered route that uses `getServerSideProps` to load data from AppSync and renders it on the server (Code in [pages/index.tsx](src/pages/index.tsx))
-
-- `/todo/[id]` : A dynamic route that uses `getStaticPaths`, `getStaticProps` and the id from the provided context to load a single todo from AppSync and render it on the server. (Code in [pages/todo/[id].tsx](src/pages/todo/[id].tsx))
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example with-aws-amplify nextjs-aws-amplify-app
-# or
-yarn create next-app --example with-aws-amplify nextjs-aws-amplify-app
-# or
-pnpm create next-app --example with-aws-amplify nextjs-aws-amplify-app
-```
-
-### Initialize and deploy the Amplify project
-
-
- If you've never used amplify before
-
-#### Install Amplify
-
-1. [Sign up](https://aws.amazon.com/free/) for an AWS account
-2. Install the AWS Amplify cli:
-
-```sh
-npm install -g @aws-amplify/cli
-```
-
-[Read More](https://docs.amplify.aws/cli/)
-
-#### Configure Amplify
-
-1. Configure the Amplify cli
-
-```bash
-$ amplify configure
-
-#
-Follow these steps to set up access to your AWS account:
-
-Sign in to your AWS administrator account:
-https://console.aws.amazon.com/
-Press Enter to continue
-
-Specify the AWS Region
-? region:
-
-Specify the username of the new IAM user:
-? user name:
-
-Complete the user creation using the AWS console
-Press Enter to continue
-
-Enter the access key of the newly created user:
-? accessKeyId:
-
-? secretAccessKey:
-
-This would update/create the AWS Profile in your local machine
-? Profile Name:
-
-Successfully set up the new user.
-#
-```
-
-
-
-#### Initialize Amplify
-
-```bash
-$ amplify init
-
-#
-? Enter a name for the project
-
-Project information
-| Name:
-| Environment: dev
-| Default editor: Visual Studio Code
-| App type: javascript
-| Javascript framework: react
-| Source Directory Path: src
-| Distribution Directory Path: build
-| Build Command: npm run-script build
-| Start Command: npm run-script start
-
-? Initialize the project with the above configuration? Yes
-
-Using default provider awscloudformation
-? Select the authentication method you want to use: AWS profile
-
-or more information on AWS Profiles, see:
-https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html
-
-? Please choose the profile you want to use:
-
-Deployment completed.
-
-? Help improve Amplify CLI by sharing non sensitive configurations on failures (y/N): y/N
-
-Deployment bucket fetched.
-Initialized provider successfully.
-Initialized your environment successfully.
-
-Your project has been successfully initialized and connected to the cloud!
-#
-```
-
-#### Add the API
-
-```sh
-$ amplify add api
-#
-? Select from one of the below mentioned services: (Use arrow keys)
-❯ GraphQL
- REST
-
-? Here is the GraphQL API that we will create. Select a setting to edit or continue
- Name:
- Authorization modes: API key (default, expiration time: 7 days from now)
- Conflict detection (required for DataStore): Disabled
-❯ Continue
-
-
-? Choose a schema template: (Use arrow keys)
-❯ Single object with fields (e.g., “Todo” with ID, name, description)
- One-to-many relationship (e.g., “Blogs” with “Posts” and “Comments”)
- Blank Schema
-
-GraphQL schema compiled successfully.
-
-? Do you want to edit the schema now? (Y/n): n
-
-Successfully added resource locally
-#
-```
-
-#### Edit GraphQL Schema
-
-Open [`amplify/backend/api//schema.graphql`](amplify/backend/api//schema.graphql) and change it to the following:
-
-```
-type Todo
- @model
- @auth(
- rules: [
- { allow: owner } # Allow the creator of a todo to perform Create, Update, Delete operations.
- { allow: public, operations: [read] } # Allow public (guest users without an account) to Read todos.
- { allow: private, operations: [read] } # Allow private (other signed in users) to Read todos.
- ]
- ) {
- id: ID!
- name: String!
- description: String
-}
-
-```
-
-#### Deploy infrastructure
-
-```sh
-$ amplify push
-#
-? Are you sure you want to continue? Y
-Cognito UserPool configuration
-Using service: Cognito, provided by: awscloudformation
-
- The current configured provider is Amazon Cognito.
-
-? Do you want to use the default authentication and security configuration? (Use arrow keys)
-❯ Default configuration
- Default configuration with Social Provider (Federation)
- Manual configuration
- I want to learn more.
-
-Warning: you will not be able to edit these selections.
-
-? How do you want users to be able to sign in?
- Username
-❯ Email
- Phone Number
- Email or Phone Number
- I want to learn more.
-
-? Do you want to configure advanced settings?
-❯ No, I am done.
- Yes, I want to make some additional changes.
-
-GraphQL schema compiled successfully.
-
-? Do you want to generate code for your newly created GraphQL API: Yes
-
-? Choose the code generation language target:
- javascript
-❯ typescript
- flow
-
-? Enter the file name pattern of graphql queries, mutations and subscriptions: (src/graphql/**/*.ts): Enter
-
-? Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions: Yes
-
-? Enter maximum statement depth [increase from default if your schema is deeply nested] (2)
-
-? Enter the file name for the generated code (src/API.ts) : Enter
-
-Generated GraphQL operations successfully and saved at src/graphql
-
-Code generated successfully and saved in file src/API.ts
-#
-```
-
-### Install & Run
-
-```bash
-npm install
-npm run dev
-# or
-yarn
-yarn dev
-```
diff --git a/examples/with-aws-amplify/next-env.d.ts b/examples/with-aws-amplify/next-env.d.ts
deleted file mode 100644
index 4f11a03dc6cc3..0000000000000
--- a/examples/with-aws-amplify/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/with-aws-amplify/package.json b/examples/with-aws-amplify/package.json
deleted file mode 100644
index 68f008541d152..0000000000000
--- a/examples/with-aws-amplify/package.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "@aws-amplify/ui-react": "3.5.9",
- "aws-amplify": "4.3.39",
- "next": "latest",
- "react": "18.2.0",
- "react-dom": "18.2.0"
- },
- "devDependencies": {
- "@types/node": "18.11.5",
- "@types/react": "18.2.8",
- "@types/react-dom": "18.0.7",
- "typescript": "4.8.4"
- }
-}
diff --git a/examples/with-aws-amplify/public/favicon.ico b/examples/with-aws-amplify/public/favicon.ico
deleted file mode 100644
index 4965832f2c9b0605eaa189b7c7fb11124d24e48a..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 15086
zcmeHOOH5Q(7(R0cc?bh2AT>N@1PWL!LLfZKyG5c!MTHoP7_p!sBz0k$?pjS;^lmgJ
zU6^i~bWuZYHL)9$wuvEKm~qo~(5=Lvx5&Hv;?X#m}i|`yaGY4gX+&b>tew;gcnRQA1kp
zBbm04SRuuE{Hn+&1wk%&g;?wja_Is#1gKoFlI7f`Gt}X*-nsMO30b_J@)EFNhzd1QM
zdH&qFb9PVqQOx@clvc#KAu}^GrN`q5oP(8>m4UOcp`k&xwzkTio*p?kI4BPtIwX%B
zJN69cGsm=x90<;Wmh-bs>43F}ro$}Of@8)4KHndLiR$nW?*{Rl72JPUqRr3ta6e#A
z%DTEbi9N}+xPtd1juj8;(CJt3r9NOgb>KTuK|z7!JB_KsFW3(pBN4oh&M&}Nb$Ee2
z$-arA6a)CdsPj`M#1DS>fqj#KF%0q?w50GN4YbmMZIoF{e1yTR=4ablqXHBB2!`wM
z1M1ke9+<);|AI;f=2^F1;G6Wfpql?1d5D4rMr?#f(=hkoH)U`6Gb)#xDLjoKjp)1;Js@2Iy5yk
zMXUqj+gyk1i0yLjWS|3sM2-1ECc;MAz<4t0P53%7se$$+5Ex`L5TQO_MMXXi04UDIU+3*7Ez&X|mj9cFYBXqM{M;mw_
zpw>azP*qjMyNSD4hh)XZt$gqf8f?eRSFX8VQ4Y+H3jAtvyTrXr`qHAD6`m;aYmH2zOhJC~_*AuT}
zvUxC38|JYN94i(05R)dVKgUQF$}#cxV7xZ4FULqFCNX*Forhgp*yr6;DsIk=ub0Hv
zpk2L{9Q&|uI^b<6@i(Y+iSxeO_n**4nRLc`P!3ld5jL=nZRw6;DEJ*1z6Pvg+eW|$lnnjO
zjd|8>6l{i~UxI244CGn2kK@cJ|#ecwgSyt&HKA2)z
zrOO{op^o*-
-
-
\ No newline at end of file
diff --git a/examples/with-aws-amplify/src/pages/_app.tsx b/examples/with-aws-amplify/src/pages/_app.tsx
deleted file mode 100644
index edfaad68a7807..0000000000000
--- a/examples/with-aws-amplify/src/pages/_app.tsx
+++ /dev/null
@@ -1,6 +0,0 @@
-import type { AppProps } from 'next/app'
-import '../styles/globals.css'
-
-export default function MyApp({ Component, pageProps }: AppProps) {
- return
-}
diff --git a/examples/with-aws-amplify/src/pages/index.tsx b/examples/with-aws-amplify/src/pages/index.tsx
deleted file mode 100644
index 90802abe219df..0000000000000
--- a/examples/with-aws-amplify/src/pages/index.tsx
+++ /dev/null
@@ -1,133 +0,0 @@
-import { Authenticator } from '@aws-amplify/ui-react'
-import { Amplify, API, withSSRContext } from 'aws-amplify'
-import Head from 'next/head'
-import awsExports from '../aws-exports'
-import { createTodo } from '../graphql/mutations'
-import { listTodos } from '../graphql/queries'
-import {
- CreateTodoInput,
- CreateTodoMutation,
- ListTodosQuery,
- Todo,
-} from '../API'
-import { GRAPHQL_AUTH_MODE } from '@aws-amplify/api'
-import { useRouter } from 'next/router'
-import Image from 'next/image'
-import { GetServerSideProps } from 'next'
-import styles from '../styles/Home.module.css'
-
-Amplify.configure({ ...awsExports, ssr: true })
-
-export default function Home({ todos = [] }: { todos: Todo[] }) {
- const router = useRouter()
-
- async function handleCreateTodo(event) {
- event.preventDefault()
-
- const form = new FormData(event.target)
-
- try {
- const createInput: CreateTodoInput = {
- name: form.get('title').toString(),
- description: form.get('content').toString(),
- }
-
- const request = (await API.graphql({
- authMode: GRAPHQL_AUTH_MODE.AMAZON_COGNITO_USER_POOLS,
- query: createTodo,
- variables: {
- input: createInput,
- },
- })) as { data: CreateTodoMutation; errors: any[] }
-
- router.push(`/todo/${request.data.createTodo.id}`)
- } catch ({ errors }) {
- console.error(...errors)
- throw new Error(errors[0].message)
- }
- }
-
- return (
-
-
-
Amplify + Next.js
-
-
-
-
- Amplify + Next.js
-
-
- {todos.length}
- Todos
-
-
-
-
-
-
- )
-}
-
-export const getServerSideProps: GetServerSideProps = async ({ req }) => {
- const SSR = withSSRContext({ req })
-
- const response = (await SSR.API.graphql({ query: listTodos })) as {
- data: ListTodosQuery
- }
-
- return {
- props: {
- todos: response.data.listTodos.items,
- },
- }
-}
diff --git a/examples/with-aws-amplify/src/pages/todo/[id].tsx b/examples/with-aws-amplify/src/pages/todo/[id].tsx
deleted file mode 100644
index bc1eb793e054e..0000000000000
--- a/examples/with-aws-amplify/src/pages/todo/[id].tsx
+++ /dev/null
@@ -1,100 +0,0 @@
-import { Amplify, API, withSSRContext } from 'aws-amplify'
-import Head from 'next/head'
-import { useRouter } from 'next/router'
-import { DeleteTodoInput, GetTodoQuery, Todo, ListTodosQuery } from '../../API'
-import awsExports from '../../aws-exports'
-import { deleteTodo } from '../../graphql/mutations'
-import { getTodo, listTodos } from '../../graphql/queries'
-import { GetStaticProps, GetStaticPaths } from 'next'
-import { GRAPHQL_AUTH_MODE } from '@aws-amplify/api'
-import styles from '../../styles/Home.module.css'
-
-Amplify.configure({ ...awsExports, ssr: true })
-
-export default function TodoPage({ todo }: { todo: Todo }) {
- const router = useRouter()
-
- if (router.isFallback) {
- return (
-
-
Loading…
-
- )
- }
-
- async function handleDelete(): Promise {
- try {
- const deleteInput: DeleteTodoInput = {
- id: todo.id,
- }
-
- await API.graphql({
- authMode: GRAPHQL_AUTH_MODE.AMAZON_COGNITO_USER_POOLS,
- query: deleteTodo,
- variables: {
- input: deleteInput,
- },
- })
-
- router.push(`/`)
- } catch ({ errors }) {
- console.error(...errors)
- throw new Error(errors[0].message)
- }
- }
-
- return (
-
-
-
{todo.name} – Amplify + Next.js
-
-
-
-
- {todo.name}
- {todo.description}
-
-
-
-
- )
-}
-
-export const getStaticPaths: GetStaticPaths = async () => {
- const SSR = withSSRContext()
-
- const todosQuery = (await SSR.API.graphql({
- query: listTodos,
- authMode: GRAPHQL_AUTH_MODE.API_KEY,
- })) as { data: ListTodosQuery; errors: any[] }
-
- const paths = todosQuery.data.listTodos.items.map((todo: Todo) => ({
- params: { id: todo.id },
- }))
-
- return {
- fallback: true,
- paths,
- }
-}
-
-export const getStaticProps: GetStaticProps = async ({ params }) => {
- const SSR = withSSRContext()
-
- const response = (await SSR.API.graphql({
- query: getTodo,
- variables: {
- id: params.id,
- },
- })) as { data: GetTodoQuery }
-
- return {
- props: {
- todo: response.data.getTodo,
- },
- }
-}
diff --git a/examples/with-aws-amplify/src/styles/Home.module.css b/examples/with-aws-amplify/src/styles/Home.module.css
deleted file mode 100644
index 9fd73f489ba8f..0000000000000
--- a/examples/with-aws-amplify/src/styles/Home.module.css
+++ /dev/null
@@ -1,123 +0,0 @@
-.container {
- min-height: 100vh;
- padding: 0 0.5rem;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
-}
-
-.main {
- padding: 5rem 0;
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
-}
-
-.footer {
- width: 100%;
- height: 100px;
- border-top: 1px solid #eaeaea;
- display: flex;
- justify-content: center;
- align-items: center;
-}
-
-.footer img {
- margin-left: 0.5rem;
-}
-
-.footer a {
- display: flex;
- justify-content: center;
- align-items: center;
-}
-
-.title a {
- color: #0070f3;
- text-decoration: none;
-}
-
-.title a:hover,
-.title a:focus,
-.title a:active {
- text-decoration: underline;
-}
-
-.title {
- margin: 0;
- line-height: 1.15;
- font-size: 4rem;
-}
-
-.title,
-.description {
- text-align: center;
-}
-
-.description {
- line-height: 1.5;
- font-size: 1.5rem;
-}
-
-.code {
- background: #fafafa;
- border-radius: 5px;
- padding: 0.75rem;
- font-size: 1.1rem;
- font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
- Bitstream Vera Sans Mono, Courier New, monospace;
-}
-
-.grid {
- display: flex;
- direction: column;
- align-items: center;
- justify-content: center;
- flex-wrap: wrap;
- max-width: 800px;
- margin-top: 3rem;
-}
-
-.card {
- margin: 1rem;
- flex-basis: 45%;
- padding: 1.5rem;
- text-align: left;
- color: inherit;
- text-decoration: none;
- border: 1px solid #eaeaea;
- border-radius: 10px;
- transition: color 0.15s ease, border-color 0.15s ease;
-}
-
-.card:hover,
-.card:focus,
-.card:active {
- color: #0070f3;
- border-color: #0070f3;
-}
-
-.card h3 {
- margin: 0 0 1rem 0;
- font-size: 1.5rem;
-}
-
-.card p {
- margin: 0;
- font-size: 1.25rem;
- line-height: 1.5;
-}
-
-.logo {
- height: 1em;
-}
-
-@media (max-width: 600px) {
- .grid {
- width: 100%;
- flex-direction: column;
- }
-}
diff --git a/examples/with-aws-amplify/src/styles/globals.css b/examples/with-aws-amplify/src/styles/globals.css
deleted file mode 100644
index 30fb98d7fd090..0000000000000
--- a/examples/with-aws-amplify/src/styles/globals.css
+++ /dev/null
@@ -1,18 +0,0 @@
-@import '@aws-amplify/ui-react/styles.css';
-
-html,
-body {
- padding: 0;
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
- Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
-}
-
-a {
- color: inherit;
- text-decoration: none;
-}
-
-* {
- box-sizing: border-box;
-}
diff --git a/examples/with-aws-amplify/tsconfig.json b/examples/with-aws-amplify/tsconfig.json
deleted file mode 100644
index e1e1e26feec7c..0000000000000
--- a/examples/with-aws-amplify/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": false,
- "forceConsistentCasingInFileNames": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve",
- "incremental": true
- },
- "exclude": ["node_modules"],
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
-}
diff --git a/examples/with-chakra-ui-typescript/.gitignore b/examples/with-chakra-ui-typescript/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-chakra-ui-typescript/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-chakra-ui-typescript/README.md b/examples/with-chakra-ui-typescript/README.md
deleted file mode 100644
index f9c22dffe9521..0000000000000
--- a/examples/with-chakra-ui-typescript/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## Deprecated
-
-The main [`with-chakra-ui`](../with-chakra-ui) example has been refactored to use TypeScript, so this example is deprecated.
diff --git a/examples/with-cookie-auth/.gitignore b/examples/with-cookie-auth/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-cookie-auth/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-cookie-auth/README.md b/examples/with-cookie-auth/README.md
deleted file mode 100644
index 68952f384d689..0000000000000
--- a/examples/with-cookie-auth/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-This example has been deprecated and removed in favor of one of the following examples:
-
-- [auth0](https://github.com/vercel/next.js/tree/canary/examples/auth0)
-- [with-cookie-auth-fauna](https://github.com/vercel/next.js/tree/canary/examples/with-cookie-auth-fauna)
-- [with-passport](https://github.com/vercel/next.js/tree/canary/examples/with-passport)
-- [with-iron-session](https://github.com/vercel/next.js/tree/canary/examples/with-iron-session)
-- [with-next-auth](https://github.com/vercel/next.js/tree/canary/examples/with-next-auth)
diff --git a/examples/with-deta-base/.env.local.example b/examples/with-deta-base/.env.local.example
deleted file mode 100644
index 330c81f9aada2..0000000000000
--- a/examples/with-deta-base/.env.local.example
+++ /dev/null
@@ -1 +0,0 @@
-DETA_PROJECT_KEY=
diff --git a/examples/with-deta-base/.gitignore b/examples/with-deta-base/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-deta-base/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-deta-base/README.md b/examples/with-deta-base/README.md
deleted file mode 100644
index b303aa4405325..0000000000000
--- a/examples/with-deta-base/README.md
+++ /dev/null
@@ -1,79 +0,0 @@
-# Deta Base Example
-
-An example using [Deta Base](https://docs.deta.sh/docs/base/about) in a Next.js project.
-
-## Deploy your own
-
-Once you have access to [the environment variables you'll need](#step-2-setting-up-environment-variables), deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-deta-base&project-name=with-deta-base&repository-name=with-deta-base&env=DETA_PROJECT_KEY&envDescription=The%20Deta%20Project%20Key%2C%20found%20in%20the%20Deta%20dashboard&envLink=https://github.com/vercel/next.js/tree/canary/examples/with-deta-base%23configuration)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example with-deta-base with-deta-base-app
-```
-
-```bash
-yarn create next-app --example with-deta-base with-deta-base-app
-```
-
-```bash
-pnpm create next-app --example with-deta-base with-deta-base-app
-```
-
-## Configuration
-
-### Step 1. Create a Deta Account
-
-Create an account on [Deta](https://www.deta.sh/?ref=next.js). Save the default _Project Key_ which will be auto-generated on account creation.
-
-### Step 2. Setting Up Environment Variables
-
-Copy the `.env.local.example` file from this directory to `.env.local` (which will be ignored by Git):
-
-```bash
-cp .env.local.example .env.local
-```
-
-Then set each variable on `.env.local`:
-
-- `DETA_PROJECT_KEY` should be the default _Project Key_ that you saved from step 1.
-
-The resulting `env.local` file should look like this:
-
-```bash
-DETA_PROJECT_KEY=...
-```
-
-### Step 3. Run Next.js in development mode
-
-```bash
-npm install
-npm run dev
-
-# or
-
-yarn install
-yarn dev
-```
-
-Your todo app should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
-
-### Step 4. Deploy on Vercel
-
-You can deploy this app to the cloud with [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
-
-#### Deploy Your Local Project
-
-To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and [import to Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example).
-
-**Important**: When you import your project on Vercel, make sure to click on **Environment Variables** and set them to match your `.env.local` file.
-
-#### Deploy from Our Template
-
-Alternatively, you can deploy using our template by clicking on the Deploy button below.
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-deta-base&project-name=with-deta-base&repository-name=with-deta-base&env=DETA_PROJECT_KEY&envDescription=The%20Deta%20Project%20Key%2C%20found%20in%20the%20Deta%20dashboard&envLink=https://github.com/vercel/next.js/tree/canary/examples/with-deta-base%23configuration)
diff --git a/examples/with-deta-base/package.json b/examples/with-deta-base/package.json
deleted file mode 100644
index d29f555e766cb..0000000000000
--- a/examples/with-deta-base/package.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next dev",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "deta": "^1.0.1",
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- }
-}
diff --git a/examples/with-deta-base/pages/_app.js b/examples/with-deta-base/pages/_app.js
deleted file mode 100644
index 1e1cec92425c8..0000000000000
--- a/examples/with-deta-base/pages/_app.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import '../styles/globals.css'
-
-function MyApp({ Component, pageProps }) {
- return
-}
-
-export default MyApp
diff --git a/examples/with-deta-base/pages/_document.js b/examples/with-deta-base/pages/_document.js
deleted file mode 100644
index df17ebe600531..0000000000000
--- a/examples/with-deta-base/pages/_document.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import { Html, Head, Main, NextScript } from 'next/document'
-
-export default function Document() {
- return (
-
-
-
-
-
-
-
-
-
- )
-}
diff --git a/examples/with-deta-base/pages/api/todos/[tid].js b/examples/with-deta-base/pages/api/todos/[tid].js
deleted file mode 100644
index 67b70aec98565..0000000000000
--- a/examples/with-deta-base/pages/api/todos/[tid].js
+++ /dev/null
@@ -1,27 +0,0 @@
-import { Deta } from 'deta'
-
-const deta = Deta(process.env.DETA_PROJECT_KEY)
-
-const base = deta.Base('todos')
-
-const handler = async (req, res) => {
- let {
- body,
- method,
- query: { tid },
- } = req
- let respBody = {}
-
- if (method === 'PUT') {
- body = JSON.parse(body)
- respBody = await base.put(body)
- res.statusCode = 200
- } else if (method === 'DELETE') {
- respBody = await base.delete(tid)
- res.statusCode = 200
- }
-
- res.json(respBody)
-}
-
-export default handler
diff --git a/examples/with-deta-base/pages/api/todos/index.js b/examples/with-deta-base/pages/api/todos/index.js
deleted file mode 100644
index f5eac468a264c..0000000000000
--- a/examples/with-deta-base/pages/api/todos/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import { Deta } from 'deta'
-
-const deta = Deta(process.env.DETA_PROJECT_KEY)
-
-const base = deta.Base('todos')
-
-const handler = async (req, res) => {
- let { body, method } = req
- let respBody = {}
-
- if (method === 'GET') {
- const { items } = await base.fetch([])
- respBody = items
- res.statusCode = 200
- } else if (method === 'POST') {
- body = JSON.parse(body)
- body.isCompleted = false
- respBody = await base.put(body)
- res.statusCode = 201
- }
-
- res.json(respBody)
-}
-
-export default handler
diff --git a/examples/with-deta-base/pages/index.js b/examples/with-deta-base/pages/index.js
deleted file mode 100644
index 1ab3fa2fb577c..0000000000000
--- a/examples/with-deta-base/pages/index.js
+++ /dev/null
@@ -1,143 +0,0 @@
-import { useState, useEffect } from 'react'
-import Head from 'next/head'
-import styles from '../styles/Home.module.css'
-
-const ToDo = ({ content, isCompleted, onChange, onDelete }) => {
- const cards = ['card', 'card2', 'card3', 'card4', 'card5']
- return (
-
-
- {content}
-
-
-
-
- ✕
-
-
-
- )
-}
-
-export default function Home() {
- const [newContent, setNewContent] = useState('')
-
- const [toDos, setToDos] = useState([])
-
- const getToDos = async () => {
- const resp = await fetch('api/todos')
- const toDos = await resp.json()
- setToDos(toDos)
- }
-
- const createToDo = async () => {
- await fetch('api/todos', {
- method: 'post',
- body: JSON.stringify({ content: newContent }),
- })
- await getToDos()
- }
-
- const updateToDo = async (todo) => {
- let newBody = {
- ...todo,
- isCompleted: !todo.isCompleted,
- }
- await fetch(`api/todos/${todo.key}`, {
- method: 'put',
- body: JSON.stringify(newBody),
- })
-
- await getToDos()
- }
-
- const deleteToDo = async (tid) => {
- await fetch(`api/todos/${tid}`, { method: 'delete' })
- setTimeout(getToDos, 300)
- }
-
- useEffect(() => {
- getToDos()
- }, [])
-
- const completed = toDos.filter((todo) => todo.isCompleted)
- const notCompleted = toDos.filter((todo) => !todo.isCompleted)
- return (
-
-
-
deta + next.js
-
-
-
-
-
-
-
to dos
-
- setNewContent(e.target.value)}
- >
-
- ✛
-
-
-
-
- {notCompleted.map((todo, index) => (
- updateToDo(todo)}
- onDelete={() => deleteToDo(todo.key)}
- />
- ))}
-
-
-
-
-
-
- {completed.map((todo, index) => (
- updateToDo(todo)}
- onDelete={() => deleteToDo(todo.key)}
- />
- ))}
-
-
-
-
-
-
- )
-}
diff --git a/examples/with-deta-base/public/deta.svg b/examples/with-deta-base/public/deta.svg
deleted file mode 100644
index 3ecadda8dead3..0000000000000
--- a/examples/with-deta-base/public/deta.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/examples/with-deta-base/public/favicon.ico b/examples/with-deta-base/public/favicon.ico
deleted file mode 100644
index 4965832f2c9b0605eaa189b7c7fb11124d24e48a..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 15086
zcmeHOOH5Q(7(R0cc?bh2AT>N@1PWL!LLfZKyG5c!MTHoP7_p!sBz0k$?pjS;^lmgJ
zU6^i~bWuZYHL)9$wuvEKm~qo~(5=Lvx5&Hv;?X#m}i|`yaGY4gX+&b>tew;gcnRQA1kp
zBbm04SRuuE{Hn+&1wk%&g;?wja_Is#1gKoFlI7f`Gt}X*-nsMO30b_J@)EFNhzd1QM
zdH&qFb9PVqQOx@clvc#KAu}^GrN`q5oP(8>m4UOcp`k&xwzkTio*p?kI4BPtIwX%B
zJN69cGsm=x90<;Wmh-bs>43F}ro$}Of@8)4KHndLiR$nW?*{Rl72JPUqRr3ta6e#A
z%DTEbi9N}+xPtd1juj8;(CJt3r9NOgb>KTuK|z7!JB_KsFW3(pBN4oh&M&}Nb$Ee2
z$-arA6a)CdsPj`M#1DS>fqj#KF%0q?w50GN4YbmMZIoF{e1yTR=4ablqXHBB2!`wM
z1M1ke9+<);|AI;f=2^F1;G6Wfpql?1d5D4rMr?#f(=hkoH)U`6Gb)#xDLjoKjp)1;Js@2Iy5yk
zMXUqj+gyk1i0yLjWS|3sM2-1ECc;MAz<4t0P53%7se$$+5Ex`L5TQO_MMXXi04UDIU+3*7Ez&X|mj9cFYBXqM{M;mw_
zpw>azP*qjMyNSD4hh)XZt$gqf8f?eRSFX8VQ4Y+H3jAtvyTrXr`qHAD6`m;aYmH2zOhJC~_*AuT}
zvUxC38|JYN94i(05R)dVKgUQF$}#cxV7xZ4FULqFCNX*Forhgp*yr6;DsIk=ub0Hv
zpk2L{9Q&|uI^b<6@i(Y+iSxeO_n**4nRLc`P!3ld5jL=nZRw6;DEJ*1z6Pvg+eW|$lnnjO
zjd|8>6l{i~UxI244CGn2kK@cJ|#ecwgSyt&HKA2)z
zrOO{op^o*-
-
-
\ No newline at end of file
diff --git a/examples/with-deta-base/styles/Home.module.css b/examples/with-deta-base/styles/Home.module.css
deleted file mode 100644
index ca9ede8b8efe4..0000000000000
--- a/examples/with-deta-base/styles/Home.module.css
+++ /dev/null
@@ -1,249 +0,0 @@
-.container {
- min-height: 100vh;
- padding: 0 0.5rem;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
-}
-
-.main {
- padding: 1rem 0;
- width: 100%;
- flex: 1;
- height: calc(100vh - 100px);
- display: flex;
- flex-direction: row;
- justify-content: center;
-}
-
-.complete,
-.incomplete {
- display: flex;
- flex-direction: column;
- padding-left: 1.5rem;
- padding-right: 1.5rem;
- width: 50%;
-}
-
-.scrolly {
- display: flex;
- flex-direction: column;
- height: calc(100vh - 132px);
- overflow: scroll;
-}
-
-.firstRow {
- display: flex;
- align-items: center;
- height: 52px;
-}
-
-.reverseWrapper {
- display: flex;
- margin-left: auto;
- height: 100%;
- align-items: center;
-}
-
-.header {
- width: 100%;
- height: 50px;
- border-bottom: 1px solid #f1f1f1;
- display: flex;
- justify-content: flex-start;
- align-items: center;
-}
-
-.header h2 {
- padding-left: 24px;
-}
-
-.inpt {
- border: 1px solid #c5c4c7;
- border-radius: 2px;
- padding-left: 5px;
- padding-right: 5px;
- font-size: 16px;
- height: 32px;
- margin-right: 10px;
-}
-
-.inpt:focus,
-.inpt:active {
- border: 1px solid #2b66ff;
-}
-
-.addBtn,
-.delBtn {
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 32px;
- background-color: transparent;
- border: 1px solid transparent;
- color: #c5c4c7;
- border-radius: 2px;
- height: 32px;
- width: 32px;
-}
-
-.addBtn:hover,
-.addBtn:focus,
-.addBtn:active {
- color: #1cec73;
-}
-
-.delBtn:hover,
-.delBtn:focus,
-.delBtn:active {
- color: #ee6262;
-}
-
-.check {
- background-color: transparent;
- border: 1px solid #c5c4c7;
- border-radius: 2px;
- height: 20px;
- width: 20px;
- margin-right: 10px;
-}
-
-.footer {
- width: 100%;
- height: 50px;
- border-top: 1px solid #f1f1f1;
- display: flex;
- justify-content: center;
- align-items: center;
-}
-
-.footer img {
- margin-left: 0.5rem;
-}
-
-.footer a {
- display: flex;
- justify-content: center;
- align-items: center;
-}
-
-.title a {
- color: #2b66ff;
- text-decoration: none;
-}
-
-.title a:hover,
-.title a:focus,
-.title a:active {
- text-decoration: underline;
-}
-
-.title {
- margin: 0;
- line-height: 1.15;
- font-size: 2rem;
- padding-top: 10px;
- padding-bottom: 10px;
-}
-
-.title,
-.description {
- text-align: flex-start;
-}
-
-.description {
- line-height: 1.5;
- font-size: 1.5rem;
-}
-
-.code {
- background: #c5c4c7;
- border-radius: 5px;
- padding: 0.75rem;
- font-size: 1.1rem;
- font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
- Bitstream Vera Sans Mono, Courier New, monospace;
-}
-
-.card,
-.card2,
-.card3,
-.card4,
-.card5 {
- display: flex;
- color: #c5c4c7;
- font-size: 18px;
- font-weight: bold;
- margin-top: 1rem !important;
- margin-bottom: 1rem;
- height: 50px;
- align-items: center;
- text-align: left;
- text-decoration: none;
-}
-
-.card:hover,
-.card:focus,
-.card:active {
- color: #0070f3;
-}
-
-.card2:hover,
-.card2:focus,
-.card2:active {
- color: #ae00f3;
-}
-
-.card3:hover,
-.card3:focus,
-.card3:active {
- color: #f3003d;
-}
-
-.card4:hover,
-.card4:focus,
-.card4:active {
- color: #f39200;
-}
-
-.card4:hover,
-.card4:focus,
-.card4:active {
- color: #29f300;
-}
-
-.card5:hover,
-.card5:focus,
-.card5:active {
- color: #00f3cb;
-}
-
-.card,
-.card2,
-.card3,
-.card4,
-.card5 h3 {
- margin: 0 0 1rem 0;
- font-size: 1.5rem;
-}
-
-.text {
- display: flex;
- align-items: center;
- text-transform: lowercase;
- margin: 0;
- font-size: 1.5rem;
- line-height: 1.5;
-}
-
-.logo {
- height: 1em;
-}
-
-@media (max-width: 600px) {
- .main {
- width: 100%;
- flex-direction: column;
- }
-}
diff --git a/examples/with-deta-base/styles/globals.css b/examples/with-deta-base/styles/globals.css
deleted file mode 100644
index ee7434eb90566..0000000000000
--- a/examples/with-deta-base/styles/globals.css
+++ /dev/null
@@ -1,26 +0,0 @@
-html,
-body {
- padding: 0;
- margin: 0;
- font-family: 'Source Code Pro', Courier New, monospace;
-}
-
-a {
- color: #0070f3;
- text-decoration: none;
-}
-
-input,
-button {
- font-family: 'Source Code Pro', Arial, sans-serif;
-}
-
-a:hover,
-a:focus,
-a:active {
- text-decoration: underline;
-}
-
-* {
- box-sizing: border-box;
-}
diff --git a/examples/with-dotenv/.gitignore b/examples/with-dotenv/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-dotenv/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-dotenv/README.md b/examples/with-dotenv/README.md
deleted file mode 100644
index fc77544058508..0000000000000
--- a/examples/with-dotenv/README.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# `dotenv` Example
-
-Next.js automatically supports Environment Variable loading as of Next.js 9.4.
-You can [read more about it in the blog post](https://nextjs.org/blog/next-9-4#new-environment-variables-support).
-
-Visit [the documentation](https://nextjs.org/docs/basic-features/environment-variables) to learn how to use Environment Variables support in Next.js 9.4+ and the [Environment Variables Example](/examples/environment-variables) to see it on action.
diff --git a/examples/with-env-from-next-config-js/.gitignore b/examples/with-env-from-next-config-js/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-env-from-next-config-js/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-env-from-next-config-js/README.md b/examples/with-env-from-next-config-js/README.md
deleted file mode 100644
index 05fa4f1e52aff..0000000000000
--- a/examples/with-env-from-next-config-js/README.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# With env From next.config.js
-
-This example demonstrates setting parameters that will be used by your application and set at build time (not run time).
-More specifically, what that means, is that environmental variables are programmed into the special configuration file `next.config.js` and then
-returned to your react components when the program is built with `next build`.
-
-As the build process (`next build`) is proceeding, `next.config.js` is processed and passed in as a parameter is the variable `phase`.
-`phase` can have the values `PHASE_DEVELOPMENT_SERVER` or `PHASE_PRODUCTION_BUILD` (as defined in `next\constants`). Based on the variable
-`phase`, different environmental variables can be set for use in your react app. That is, if you reference `process.env.RESTURL_SPEAKERS`
-in your react app, whatever is returned by `next.config.js` as the variable `env`, (or `env.RESTURL_SPEAKERS`) will be accessible in your
-app as `process.env.RESTURL_SPEAKERS`.
-
-View the docs on [`next.config.js`](https://nextjs.org/docs/api-reference/next.config.js/introduction) for more information.
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-env-from-next-config-js)
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-env-from-next-config-js&project-name=with-env-from-next-config-js&repository-name=with-env-from-next-config-js)
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example with-env-from-next-config-js with-env-from-next-config-js-app
-```
-
-```bash
-yarn create next-app --example with-env-from-next-config-js with-env-from-next-config-js-app
-```
-
-```bash
-pnpm create next-app --example with-env-from-next-config-js with-env-from-next-config-js-app
-```
-
-Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
-
-> ## Special note
->
-> `next build` does a hard coded variable substitution into your JavaScript before the final bundle is created. This means
-> that if you change your environmental variables outside of your running app, such as in windows with `set` or linux with `setenv`
-> those changes will not be reflected in your running application until a build happens again (with `next build`).
-
-## Discussion regarding this example
-
-This example is not meant to be a reference standard for how to do development, staging and
-production builds with Next. This is just one possible scenario that could be used if you want the
-following behavior while you are doing development.
-
-- When your run `next dev` or `npm run dev`, you will always use the environmental variables assigned when `isDev` is true in the example.
-- When you run `next build` then `next start`, assuming you set externally the environmental variable STAGING to anything but 1, you will get the results assuming `isProd` is true.
-- When your run `next build` or `npm run build` in production, if the environmental variable `STAGING` is set to `1`, `isStaging` will be set and you will get those values returned.
-
-You can read more about this feature in this blog post Next.js 5.1: Faster Page Resolution, Environment Config and More (under Environment Config).
diff --git a/examples/with-env-from-next-config-js/next.config.js b/examples/with-env-from-next-config-js/next.config.js
deleted file mode 100644
index e1278444e215a..0000000000000
--- a/examples/with-env-from-next-config-js/next.config.js
+++ /dev/null
@@ -1,39 +0,0 @@
-const {
- PHASE_DEVELOPMENT_SERVER,
- PHASE_PRODUCTION_BUILD,
-} = require('next/constants')
-
-// This uses phases as outlined here: https://nextjs.org/docs/#custom-configuration
-module.exports = (phase) => {
- // when started in development mode `next dev` or `npm run dev` regardless of the value of STAGING environment variable
- const isDev = phase === PHASE_DEVELOPMENT_SERVER
- // when `next build` or `npm run build` is used
- const isProd = phase === PHASE_PRODUCTION_BUILD && process.env.STAGING !== '1'
- // when `next build` or `npm run build` is used
- const isStaging =
- phase === PHASE_PRODUCTION_BUILD && process.env.STAGING === '1'
-
- console.log(`isDev:${isDev} isProd:${isProd} isStaging:${isStaging}`)
-
- const env = {
- RESTURL_SPEAKERS: (() => {
- if (isDev) return 'http://localhost:4000/speakers'
- if (isProd) {
- return 'https://www.siliconvalley-codecamp.com/rest/speakers/ps'
- }
- if (isStaging) return 'http://localhost:11639'
- return 'RESTURL_SPEAKERS:not (isDev,isProd && !isStaging,isProd && isStaging)'
- })(),
- RESTURL_SESSIONS: (() => {
- if (isDev) return 'http://localhost:4000/sessions'
- if (isProd) return 'https://www.siliconvalley-codecamp.com/rest/sessions'
- if (isStaging) return 'http://localhost:11639'
- return 'RESTURL_SESSIONS:not (isDev,isProd && !isStaging,isProd && isStaging)'
- })(),
- }
-
- // next.config.js object
- return {
- env,
- }
-}
diff --git a/examples/with-env-from-next-config-js/package.json b/examples/with-env-from-next-config-js/package.json
deleted file mode 100644
index bf29745bfe271..0000000000000
--- a/examples/with-env-from-next-config-js/package.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- }
-}
diff --git a/examples/with-env-from-next-config-js/pages/index.js b/examples/with-env-from-next-config-js/pages/index.js
deleted file mode 100644
index 5276f644760f8..0000000000000
--- a/examples/with-env-from-next-config-js/pages/index.js
+++ /dev/null
@@ -1,9 +0,0 @@
-export default function Home() {
- return (
-
- RESTURL_SPEAKERS {process.env.RESTURL_SPEAKERS}
-
- RESTURL_SESSIONS {process.env.RESTURL_SESSIONS}
-
- )
-}
diff --git a/examples/with-expo/.gitignore b/examples/with-expo/.gitignore
deleted file mode 100644
index fd3dbb571a12a..0000000000000
--- a/examples/with-expo/.gitignore
+++ /dev/null
@@ -1,36 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# local env files
-.env*.local
-
-# vercel
-.vercel
-
-# typescript
-*.tsbuildinfo
-next-env.d.ts
diff --git a/examples/with-expo/App.js b/examples/with-expo/App.js
deleted file mode 100644
index 3bb8520edfd9e..0000000000000
--- a/examples/with-expo/App.js
+++ /dev/null
@@ -1,3 +0,0 @@
-// Re-export the root component from the Next.js website
-// as the root component for the native React app.
-export { default } from './pages/index'
diff --git a/examples/with-expo/README.md b/examples/with-expo/README.md
deleted file mode 100644
index 297d306837edb..0000000000000
--- a/examples/with-expo/README.md
+++ /dev/null
@@ -1,84 +0,0 @@
-# With Expo
-
-[![supports iOS](https://img.shields.io/badge/iOS-4630EB.svg?style=flat-square&logo=APPLE&labelColor=999999&logoColor=fff)](https://itunes.apple.com/app/apple-store/id982107779)
-[![supports Android](https://img.shields.io/badge/Android-4630EB.svg?style=flat-square&logo=ANDROID&labelColor=A4C639&logoColor=fff)](https://play.google.com/store/apps/details?id=host.exp.exponent&referrer=www)
-[![supports web](https://img.shields.io/badge/web-4630EB.svg?style=flat-square&logo=GOOGLE-CHROME&labelColor=4285F4&logoColor=fff)](https://docs.expo.io/workflow/web/)
-
-This is a starter project for creating universal React apps with Next.js and Expo.
-
-> 💡 For the most updated info, see the [Expo + Next.js Docs](https://docs.expo.io/guides/using-nextjs/)!
-
-![iOS, Android, and web running with Expo and Next.js](./public/demo.png)
-
-- Next.js cannot be used for SSR in your native app.
-- The native bundle is built using the [Metro bundler](https://facebook.github.io/metro/) and may not have the same level of optimization as the web bundle which is compiled using the Next.js Webpack configuration.
-- Expo transpiles `react-native-web` packages by default to enable the use of `react-native` in a browser or Node.js environment.
-- All [Expo packages](https://docs.expo.io/versions/latest/) work in the browser. If you experience issues using them in a Node environment, please report them here: [Expo issues](https://github.com/expo/expo/issues).
-- Most community `react-native-*` packages do not support web, please refer to [reactnative.directory](https://reactnative.directory/?web=true) for a list of web compatible packages.
-- Eject the `pages/_document` component by running `yarn next-expo customize`.
-- To use fonts and images, see [the Expo docs](https://docs.expo.io/guides/using-nextjs/#image-support).
-
-## Deploy your own
-
-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) (web only):
-
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-expo&project-name=with-expo&repository-name=with-expo)
-
-Deploy the native app to the App store and Play store using [Expo deployment](https://docs.expo.io/distribution/app-stores/).
-
-## How to use
-
-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
-
-```bash
-npx create-next-app --example with-expo with-expo-app
-```
-
-```bash
-yarn create next-app --example with-expo with-expo-app
-```
-
-```bash
-pnpm create next-app --example with-expo with-expo-app
-```
-
-### Running web
-
-> 🚨 Using default Expo web with Next.js is not supported.
-
-- Start the Next.js project with `yarn dev` (`yarn next dev`).
-
-Deploy the web app to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
-
-### Running native
-
-- Install the Expo CLI `npm i -g expo-cli`.
-- Start the Metro bundler with `yarn ios` or `yarn android` -- This runs `expo start` with the Expo CLI.
-- You can run the mobile app using the [Expo client app](https://expo.io/tools), or by running `yarn eject` and building the project manually (this requires a macbook for iOS).
-
-Deploy the native app to the App store and Play store using [Expo deployment](https://docs.expo.io/distribution/app-stores/).
-
-## Troubleshooting
-
-You may find that certain packages like `@ui-kitten/components` do not work in the browser. This is because they need to be transpiled by Next.js, you can fix this by doing the following:
-
-- Install the following:
-
-```sh
-yarn add -D next-compose-plugins next-transpile-modules
-```
-
-- Modify the Next.js config `next.config.js`:
-
-```js
-const { withExpo } = require('@expo/next-adapter')
-const withPlugins = require('next-compose-plugins')
-const withTM = require('next-transpile-modules')([
- // Add the name of your package here...
- '@ui-kitten/components',
-])
-
-module.exports = withPlugins([withTM, [withExpo, { projectRoot: __dirname }]], {
- // ...
-})
-```
diff --git a/examples/with-expo/babel.config.js b/examples/with-expo/babel.config.js
deleted file mode 100644
index ca41054898c37..0000000000000
--- a/examples/with-expo/babel.config.js
+++ /dev/null
@@ -1,4 +0,0 @@
-// @generated: @expo/next-adapter@2.1.5
-// Learn more: https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/guides/using-nextjs.md#shared-steps
-
-module.exports = { presets: ['@expo/next-adapter/babel'] }
diff --git a/examples/with-expo/next.config.js b/examples/with-expo/next.config.js
deleted file mode 100644
index 206d1ccb9005c..0000000000000
--- a/examples/with-expo/next.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// @generated: @expo/next-adapter@2.1.5
-// Learn more: https://github.com/expo/expo/blob/master/docs/pages/guides/using-nextjs.md
-
-const { withExpo } = require('@expo/next-adapter')
-
-module.exports = withExpo({
- projectRoot: __dirname,
-})
diff --git a/examples/with-expo/package.json b/examples/with-expo/package.json
deleted file mode 100644
index 4cf20877bcd9a..0000000000000
--- a/examples/with-expo/package.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "next",
- "build": "next build",
- "start": "next start",
- "android": "expo start --android",
- "ios": "expo start --ios",
- "web": "next",
- "eject-next": "next-expo customize",
- "eject": "expo eject"
- },
- "dependencies": {
- "expo": "~37.0.3",
- "next": "latest",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
- "react-native-web": "~0.19.7"
- },
- "devDependencies": {
- "@expo/next-adapter": "2.1.5"
- }
-}
diff --git a/examples/with-expo/pages/_document.js b/examples/with-expo/pages/_document.js
deleted file mode 100644
index a9f6745f04b44..0000000000000
--- a/examples/with-expo/pages/_document.js
+++ /dev/null
@@ -1,2 +0,0 @@
-// @generated: @expo/next-adapter@2.1.5
-export { default } from '@expo/next-adapter/document'
diff --git a/examples/with-expo/pages/index.js b/examples/with-expo/pages/index.js
deleted file mode 100644
index 90b9d18c7086f..0000000000000
--- a/examples/with-expo/pages/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-// @generated: @expo/next-adapter@2.1.5
-import { StyleSheet, Text, View } from 'react-native'
-
-const styles = StyleSheet.create({
- container: {
- flex: 1,
- justifyContent: 'center',
- alignItems: 'center',
- },
- text: {
- fontSize: 16,
- },
-})
-
-export default function App() {
- return (
-
- Welcome to Expo + Next.js 👋
-
- )
-}
diff --git a/examples/with-expo/public/demo.png b/examples/with-expo/public/demo.png
deleted file mode 100644
index ed9170bec103a581c918bedb4afd02db18e91f88..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 128647
zcmagGWmsHI6D^9ny9L+a?!i5{24~Q~U?EtrKyY_=w*Z4faCb;>g1fux-Fd(B+F&L|s=8{eRfMUj$f2WN7`
zOK5p49UCEj$CH`!73I!=W$`3b51?dJ*ieI$#^#{(V0{1nvH<6!HAZeg{+Hcjrf|V*
zXcaYaJZv?!{QT5VYQehWT4$@rYTfBsgXzDbf9r%jS4(76Lk
z{bKWp4a(<_%=fRazcQM%_qhLwJJ>p1*3xUSmT6$eeAw%M-1B+5?Y2xY8W8Kenh>tB
z8Yf|7W7~ZqSke2(DFB3TjABf;xGj308^
z0GhGSCuxX~CneFzTU=ZmE?ktxf4>?hht%SM<~h_lj$H|Xm;C&hsU?A6XlSU0RlEOJ
zoE@zk8VT;anSOhYgZyWDruM=@X(nc7*gBr0E5XOTwYU2OUF*vS1BaYkKiQ}T%h9!U
zw_kbr`7rci=aklTf_2k>{&@6EHm$lLvY2$hkYOOIUN$&u?R2M@jNb_d`*lW!6hHs1
zraToj#Hh>hffAyamG0ba;9uiR5T^7j;Oqz6Sm=EvS@zh9nr?Jl`!IDc$1T^TdK8-C
zbv4fa^sd)#n^5dzC*|X0f&aQFd&fPf(`)NuB1^b8Pb$Q8rPZ~@^@vZell)x}X`cPx
z+gJnk6w)mjLi8UP?}X0J^2l9U44nxN1)SEQD)k#s5HR-7+#^4m`gGd=ZG3g5_0oK)
z%7GIz^lk73ck@SV9IERQMU7X>$U(Y!;z0G^=8e5h8dHqFF>xmw%MM1rGn=dYG*zlj
zHFM&$8d)fJ+FNTOK03@u~?0(QSmEIWPmV3XKrq6C)sU}7G3M#$T2kX
z1TLMDxH+EE9X|UdI5`TRdh$X#xJmGr_Sm$XoN77Jrn3bHaz2~YPwc!GcR9RHaW|P?~bMERs!8qYR=X<>D
z<|>JgO|?HuT){B1GWFZ?*$&W0qUKPMw~sSQpj&{M0CV-*#IMcU+1~C7#im*Rf%#!Q
zJI$2Zf?xZJ{jheW#k}NHrGP&*DGA;v#TZU3>k%>;;cZD0Ni0mT>V2hb9E6;V{cYm9
z8ZA!Z`fzr1askQJn$N#7;2DOulhP!LciqJYun=2M&z4qDKT6U8zw1~kr?)}M*PSHY
z%O}-rk+d_h>nW+jv(C3F0(|_k9PdkHv0zi#@h6*~`VES#%*>j|ygzmbZ5xwWc%?my
z?8JzwoFv!qd$HvF^EaI4}Gh{l!VD94t+{(86STEfa
zH83Zjep^@frTz1n>T6>;o>ApB2VWZ)#f~l;f?bDAZ3$)r@k!D~qMKM}gWi!-SLOtBh)u%)cX9g{|7vlLw+m2fYSxaC%99
z64s?Fn>X5!lDgqh2BV|b34(O$`sKABf6GlLxV{gHB_-|Ssq61@xfb4$=4!+u&LBA&
zBd}NFB@r@bj{5A#gOJ^OLZ^co1ljoYb+DG7gmkR<&rms*XTf6OBFt8bE9s5HK_J|n
zY{5(Zq|g%?NlYx->VDm%=-{4l1bvN?5T^l-M}dH1wjP~x>
zpw2UN5e9aTw7ZLq3JwE?)4@gOA-<4fVk#@vP6LbeB4dg^aGWGECn=}FHV-L!vx1^k2EQZu_0c?Lqy66j>%O+9
z(_fx?pp&JB^V`3UQfI5}X3zH*-kUoTKM=aR{9zxiFBdw#4b!FEM|!Boy0ojauf$Rb
zTUlqbFsh}n8I4%`R33p78WhsoD<(xQ0`>Luh|WJ9%~w~u?N3RFdfz*#`E3=%d?1;*
zdAdEh`pcdLeK?X-0rK4)&P_uv34hy8P&K_dob?^-j}L3s565mkrh-Y4z$?AC^fvt5
znDFho6taiRb>P_fg0SX&g>J1^m)-8zexuW1?!M~Dkm-Fn{QO9M><(w_eIXO3r`;i9
z89~5$-8SGOtxqn_KPVVB2o`8!g-Hw6HhOkZPzdvVjS+h-9e_f_AX8IPQhI0^8Btv8
zZb(_MXnamJZQL16x$30K1fnKC*hJX%P%B-Ne}<9KW+IjIo6BMNTA`rp52wRTHx;Aw
zfzYtKiy(z)+&Vgex_%9$q|~T?FYz&1N-G*G8mv0((8d3~kov%IAU+Tu
z3@54o|1SFfyNv2sIv1hABQqj33aio|UWmZPhdpHs{GOAvyEu;cE+`HjBm_9Z&&Y|9
z($GaDDsB$JFjp!kWp;MtV8c1E;u}h6Ya38lg5E@u!B?5L;(LtBT%eb=lRl##W$}E6(aGq5E)k
z1w21fdshoLo`sf)Re4^)2z)K&u${H}fq?FTFqtDJc0doy!$qi*l%(4)Rj)=uQW8FXUUXV03=ucaA{qP!RA{HcDhfeDh58Rj*}!@56gWxP?RejR
zEIG#ni`(zGH%6oomyt;7g4}qZ`
z%$l9V)jr8GDtlX31IY(f+2EKePO4u+!`*tACAqS$tXw{BqM^hRY-h0vV$`rrTYKvlAver3@4W3QR~Q<|
z6Ll<4<^qx?7Y1$|nX7EP4T<5^#03)AxXTY$#WSj6FW2zn8B2qIsKyJZwfOnWoE%tV
z6dSbiiS>(2h5D(<0yb%7{>o~_*mWMo+7Q8r6e#^7k76}aVmryyK)lmW;!?FBpsMNi
ztZyryiu_2FZlG0kv2V;2Z-(;2MIoq{iIc*WI4lx^T+&5DoNB0-I#2ecyRo49A%;HBrV~g7C*d8{^UZ|8*!YA~M(re$P!yUp)`(Z+(8+Nj~
z!ictc}w7jdkyBas2poG`?v$P5OJwnHWRbEG@_XCRFuUlOolgMFlRpWJWb$C2`J^R6h=gn+IG){a1
z(n`Ba*=Vu{hGx^z~sP2z_8t3E2YbCP;>&&ixTf&JR7-I((iw>`g?a5&BmKlOO$-qZkjlq`QLS7GPXFU7M`x&2`AL0E?^^r%svB
z*N!IX8ZTyWDt>EzLn2GnFf_~@)!RHsV%Gg)wfM{3vB4iAYhhI^xfP5qE_18dek_C-
zqh1j{BIeab?nLEsL1E^XI^F#$fSIW4VfMGmr!gBn2-tFfS#NOnQFZ4;RE(OJm5V~;TpOiW4(Sr_
z);e=5^K{sl57~UOBz%_T+DYl@lm{
z_$w5W>lY|j^NN^a-A@N%75o8#%k*>ui_eDth1in#T{Lk@}n9ij=atBI&FD`dp|5h
zY+9P8theGExj4gXH&+S?e13+(&xzp7YW27PB^}WFdT$TKy{|AnN(2I6Z&T;%W5q}&
z)oTk-v00)OoBT-Yi&Q=Vyr$J|o-N4~lVy$LI&M;fO{*c{J@xwBhtAyfrgwjv2DO|`
zS5dCm@b%hl@p&AU1vWd`Vbb632gOWx$I=YzaBR<_gz~Yq>L%M2XL6LXb0XFF$9GG0
z$_8d|%X$1HVLk(y0V$;_&)2a5YYb{D)KZBdL&-jH**jrZeW@{m*H{!zQWqtBZMt#U
zP^3CDW