Add robots.txt file + update Next version. (#984)

This commit is contained in:
Lee Robinson 2023-04-24 10:53:56 -04:00 committed by GitHub
parent 7cdecd322b
commit c2b96d6e2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 58 additions and 43 deletions

15
app/robots.ts Normal file
View File

@ -0,0 +1,15 @@
const baseUrl = process.env.NEXT_PUBLIC_VERCEL_URL
? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`
: 'http://localhost:3000';
export default function robots() {
return {
rules: [
{
userAgent: '*'
}
],
sitemap: `${baseUrl}/sitemap.xml`,
host: baseUrl
};
}

View File

@ -27,7 +27,7 @@
"clsx": "^1.2.1",
"framer-motion": "^8.4.0",
"is-empty-iterable": "^3.0.0",
"next": "13.3.1-canary.18",
"next": "13.3.1",
"react": "18.2.0",
"react-cookie": "^4.1.1",
"react-dom": "18.2.0"
@ -41,7 +41,7 @@
"@vercel/git-hooks": "^1.0.0",
"autoprefixer": "^10.4.13",
"eslint": "^8.35.0",
"eslint-config-next": "^13.3.0",
"eslint-config-next": "^13.3.1",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-unicorn": "^45.0.2",
"lint-staged": "^13.1.1",

82
pnpm-lock.yaml generated
View File

@ -12,13 +12,13 @@ specifiers:
autoprefixer: ^10.4.13
clsx: ^1.2.1
eslint: ^8.35.0
eslint-config-next: ^13.3.0
eslint-config-next: ^13.3.1
eslint-config-prettier: ^8.6.0
eslint-plugin-unicorn: ^45.0.2
framer-motion: ^8.4.0
is-empty-iterable: ^3.0.0
lint-staged: ^13.1.1
next: 13.3.1-canary.18
next: 13.3.1
postcss: ^8.4.21
prettier: ^2.8.4
prettier-plugin-tailwindcss: ^0.2.2
@ -34,7 +34,7 @@ dependencies:
clsx: 1.2.1
framer-motion: 8.5.5_biqbaboplfbrettd7655fr4n2y
is-empty-iterable: 3.0.0
next: 13.3.1-canary.18_biqbaboplfbrettd7655fr4n2y
next: 13.3.1_biqbaboplfbrettd7655fr4n2y
react: 18.2.0
react-cookie: 4.1.1_react@18.2.0
react-dom: 18.2.0_react@18.2.0
@ -48,7 +48,7 @@ devDependencies:
'@vercel/git-hooks': 1.0.0
autoprefixer: 10.4.14_postcss@8.4.22
eslint: 8.38.0
eslint-config-next: 13.3.0_ze6bmax3gcsfve3yrzu6npguhe
eslint-config-next: 13.3.1_ze6bmax3gcsfve3yrzu6npguhe
eslint-config-prettier: 8.8.0_eslint@8.38.0
eslint-plugin-unicorn: 45.0.2_eslint@8.38.0
lint-staged: 13.2.1
@ -251,18 +251,18 @@ packages:
tslib: 2.5.0
dev: false
/@next/env/13.3.1-canary.18:
resolution: {integrity: sha512-4dvOWOm71s/FsQkJBkLK/OS5rt9iGZr8V0MZUxbWWT1M9ZjgpGKuzn5ltEpjJbnsDAlA8b3KPPJD4QQnz1AdzA==}
/@next/env/13.3.1:
resolution: {integrity: sha512-EDtCoedIZC7JlUQ3uaQpSc4aVmyhbLHmQVALg7pFfQgOTjgSnn7mKtA0DiCMkYvvsx6aFb5octGMtWrOtGXW9A==}
dev: false
/@next/eslint-plugin-next/13.3.0:
resolution: {integrity: sha512-wuGN5qSEjSgcq9fVkH0Y/qIPFjnZtW3ZPwfjJOn7l/rrf6y8J24h/lo61kwqunTyzZJm/ETGfGVU9PUs8cnzEA==}
/@next/eslint-plugin-next/13.3.1:
resolution: {integrity: sha512-Hpd74UrYGF+bq9bBSRDXRsRfaWkPpcwjhvachy3sr/R/5fY6feC0T0s047pUthyqcaeNsqKOY1nUGQQJNm4WyA==}
dependencies:
glob: 7.1.7
dev: true
/@next/swc-darwin-arm64/13.3.1-canary.18:
resolution: {integrity: sha512-6V6w9HIFRuvAJXwAvk+2Nio3ar+nunfBtl3H/XRcclejcKimWGBEcY1dgdkZNvmQhxrlSOD3ZTo6k15KQpfXsA==}
/@next/swc-darwin-arm64/13.3.1:
resolution: {integrity: sha512-UXPtriEc/pBP8luSLSCZBcbzPeVv+SSjs9cH/KygTbhmACye8/OOXRZO13Z2Wq1G0gLmEAIHQAOuF+vafPd2lw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@ -270,8 +270,8 @@ packages:
dev: false
optional: true
/@next/swc-darwin-x64/13.3.1-canary.18:
resolution: {integrity: sha512-VC908PuVURjbJg9gUgVwz4HjT8T7NRyc3wzOKwTyUuC/XTBJtLYJusMujpH6Tt823VAL+LLW102sD/0acLtNAg==}
/@next/swc-darwin-x64/13.3.1:
resolution: {integrity: sha512-lT36yYxosCfLtplFzJWgo0hrPu6/do8+msgM7oQkPeohDNdhjtjFUgOOwdSnPublLR6Mo2Ym4P/wl5OANuD2bw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@ -279,8 +279,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-gnu/13.3.1-canary.18:
resolution: {integrity: sha512-urLr8FwNNuPELSe3Cr4N6wNsXLKn8Q5MiUBtFD6ApAISERh5mZzhDuMkFof2ftuiJ1BPciEyPJWtA1RQ1F+NNQ==}
/@next/swc-linux-arm64-gnu/13.3.1:
resolution: {integrity: sha512-wRb76nLWJhonH8s3kxC/1tFguEkeOPayIwe9mkaz1G/yeS3OrjeyKMJsb4+Kdg0zbTo53bNCOl59NNtDM7yyyw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -288,8 +288,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-musl/13.3.1-canary.18:
resolution: {integrity: sha512-8r8oquyO0BRvl45FhMUquibNt9b4QD5rIi2VNetgb4xLujEGEJf/9UIqTKH9yjwzhSUjy7sdI8ZfYG+q0CxUnw==}
/@next/swc-linux-arm64-musl/13.3.1:
resolution: {integrity: sha512-qz3BzjJRZ16Iq/jrp+pjiYOc0jTjHlfmxQmZk9x/+5uhRP6/eWQSTAPVJ33BMo6oK5O5N4644OgTAbzXzorecg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -297,8 +297,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-gnu/13.3.1-canary.18:
resolution: {integrity: sha512-dZ0a4SYBH90wMxeqqRNRFUSpv8+NKwiawDWJmdLUHH28Izy5k5hVKMhthF2Kg0hn6aN6eeq5SYvjE0boxqbXWQ==}
/@next/swc-linux-x64-gnu/13.3.1:
resolution: {integrity: sha512-6mgkLmwlyWlomQmpl21I3hxgqE5INoW4owTlcLpNsd1V4wP+J46BlI/5zV5KWWbzjfncIqzXoeGs5Eg+1GHODA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -306,8 +306,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-musl/13.3.1-canary.18:
resolution: {integrity: sha512-CgrbJfhLy7WpL8QZHblIJTWkYP6G9TcusQhoSRlmKFvbNYGC2ptn+agmzSXVF6fgJ2ED8FwFOzCLRE9Bt+7vSg==}
/@next/swc-linux-x64-musl/13.3.1:
resolution: {integrity: sha512-uqm5sielhQmKJM+qayIhgZv1KlS5pqTdQ99b+Z7hMWryXS96qE0DftTmMZowBcUL6x7s2vSXyH5wPtO1ON7LBg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -315,8 +315,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-arm64-msvc/13.3.1-canary.18:
resolution: {integrity: sha512-aTj4ttfRe9yqvQorE1nXd5iZFq9hh1eoQ47ZUK0fAieuGPGjZgB2vanxGaS8dsG20gp2cyHI6ywR+OANeLhXnA==}
/@next/swc-win32-arm64-msvc/13.3.1:
resolution: {integrity: sha512-WomIiTj/v3LevltlibNQKmvrOymNRYL+a0dp5R73IwPWN5FvXWwSELN/kiNALig/+T3luc4qHNTyvMCp9L6U5Q==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@ -324,8 +324,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-ia32-msvc/13.3.1-canary.18:
resolution: {integrity: sha512-eWRiagP3lpTfGGlr0GTL0FKAXSL7yDCRe5+rGPtSEdQhAkU/4VbfqmWZuvGpaOxg0M+WQKNYpgSeeuGKOuaLuA==}
/@next/swc-win32-ia32-msvc/13.3.1:
resolution: {integrity: sha512-M+PoH+0+q658wRUbs285RIaSTYnGBSTdweH/0CdzDgA6Q4rBM0sQs4DHmO3BPP0ltCO/vViIoyG7ks66XmCA5g==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@ -333,8 +333,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-x64-msvc/13.3.1-canary.18:
resolution: {integrity: sha512-D0ZBSRSmcTpHLzWL5ROvCTija6ZTuKvg3Bdg5NRlzvqk1Hbl1lcr7QkrN/KFv1R63F0QaWwc9ppz4T8T83CcNw==}
/@next/swc-win32-x64-msvc/13.3.1:
resolution: {integrity: sha512-Sl1F4Vp5Z1rNXWZYqJwMuWRRol4bqOB6+/d7KqkgQ4AcafKPN1PZmpkCoxv4UFHtFNIB7EotnuIhtXu3zScicQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@ -1188,8 +1188,8 @@ packages:
engines: {node: '>=10'}
dev: true
/eslint-config-next/13.3.0_ze6bmax3gcsfve3yrzu6npguhe:
resolution: {integrity: sha512-6YEwmFBX0VjBd3ODGW9df0Is0FLaRFdMN8eAahQG9CN6LjQ28J8AFr19ngxqMSg7Qv6Uca/3VeeBosJh1bzu0w==}
/eslint-config-next/13.3.1_ze6bmax3gcsfve3yrzu6npguhe:
resolution: {integrity: sha512-DieA5djybeE3Q0IqnDXihmhgRSp44x1ywWBBpVRA9pSx+m5Icj8hFclx7ffXlAvb9MMLN6cgj/hqJ4lka/QmvA==}
peerDependencies:
eslint: ^7.23.0 || ^8.0.0
typescript: '>=3.3.1'
@ -1197,7 +1197,7 @@ packages:
typescript:
optional: true
dependencies:
'@next/eslint-plugin-next': 13.3.0
'@next/eslint-plugin-next': 13.3.1
'@rushstack/eslint-patch': 1.2.0
'@typescript-eslint/parser': 5.59.0_ze6bmax3gcsfve3yrzu6npguhe
eslint: 8.38.0
@ -2330,8 +2330,8 @@ packages:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true
/next/13.3.1-canary.18_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-5RgBd5GVbf9LnoRPue2Xqk7VVwfoxGvo+NPk5E5/zhDG1D8P4k5KWc0wD/ek64vWR2jL0KojZVOpsDQSjfUhiw==}
/next/13.3.1_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-eByWRxPzKHs2oQz1yE41LX35umhz86ZSZ+mYyXBqn2IBi2hyUqxBA88avywdr4uyH+hCJczegGsDGWbzQA5Rqw==}
engines: {node: '>=14.18.0'}
hasBin: true
peerDependencies:
@ -2351,7 +2351,7 @@ packages:
sass:
optional: true
dependencies:
'@next/env': 13.3.1-canary.18
'@next/env': 13.3.1
'@swc/helpers': 0.5.0
busboy: 1.6.0
caniuse-lite: 1.0.30001480
@ -2360,15 +2360,15 @@ packages:
react-dom: 18.2.0_react@18.2.0
styled-jsx: 5.1.1_react@18.2.0
optionalDependencies:
'@next/swc-darwin-arm64': 13.3.1-canary.18
'@next/swc-darwin-x64': 13.3.1-canary.18
'@next/swc-linux-arm64-gnu': 13.3.1-canary.18
'@next/swc-linux-arm64-musl': 13.3.1-canary.18
'@next/swc-linux-x64-gnu': 13.3.1-canary.18
'@next/swc-linux-x64-musl': 13.3.1-canary.18
'@next/swc-win32-arm64-msvc': 13.3.1-canary.18
'@next/swc-win32-ia32-msvc': 13.3.1-canary.18
'@next/swc-win32-x64-msvc': 13.3.1-canary.18
'@next/swc-darwin-arm64': 13.3.1
'@next/swc-darwin-x64': 13.3.1
'@next/swc-linux-arm64-gnu': 13.3.1
'@next/swc-linux-arm64-musl': 13.3.1
'@next/swc-linux-x64-gnu': 13.3.1
'@next/swc-linux-x64-musl': 13.3.1
'@next/swc-win32-arm64-msvc': 13.3.1
'@next/swc-win32-ia32-msvc': 13.3.1
'@next/swc-win32-x64-msvc': 13.3.1
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros