Skip to content

Commit

Permalink
Merge pull request #104 from GugaGongadze/feature/dvr-527-add-a-sitem…
Browse files Browse the repository at this point in the history
…apxml-to-our-website

feat: generate sitemap.xml
  • Loading branch information
ivancernja committed Aug 24, 2023
2 parents 28a8d07 + 33826fa commit c99a249
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 54 deletions.
5 changes: 5 additions & 0 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: process.env.SITE_URL || 'https://example.com',
generateRobotsTxt: true,
}
108 changes: 55 additions & 53 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,57 @@
{
"name": "shuttle",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@auth0/nextjs-auth0": "^2.0.1",
"@mapbox/rehype-prism": "^0.8.0",
"@splidejs/react-splide": "^0.7.12",
"@splidejs/splide-extension-grid": "^0.4.1",
"@types/node": "18.11.11",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
"@vercel/analytics": "^1.0.1",
"axios": "^1.2.1",
"clsx": "^1.2.1",
"eslint": "8.29.0",
"eslint-config-next": "13.0.6",
"fathom-client": "^3.5.0",
"fs": "^0.0.1-security",
"gray-matter": "^4.0.3",
"markdown-toc": "^1.2.0",
"next": "13.0.6",
"next-mdx-remote": "^4.2.0",
"next-seo": "^5.15.0",
"prism-themes": "^1.9.0",
"react": "18.2.0",
"react-cookie-consent": "^8.0.1",
"react-countdown": "^2.3.5",
"react-dom": "18.2.0",
"react-scrollchor": "^7.0.2",
"react-syntax-highlighter": "^15.5.0",
"react-twitter-embed": "^4.0.4",
"react-use": "^17.4.0",
"rehype-slug": "^5.1.0",
"remark-gfm": "^3.0.1",
"sharp": "^0.31.2",
"typescript": "4.9.3"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.8",
"@types/mapbox__rehype-prism": "^0.8.0",
"@types/react-syntax-highlighter": "^15.5.6",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.19",
"prettier": "^2.8.0",
"prettier-plugin-tailwindcss": "^0.2.0",
"tailwindcss": "^3.2.4"
}
"name": "shuttle",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"postbuild": "next-sitemap",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@auth0/nextjs-auth0": "^2.0.1",
"@mapbox/rehype-prism": "^0.8.0",
"@splidejs/react-splide": "^0.7.12",
"@splidejs/splide-extension-grid": "^0.4.1",
"@types/node": "18.11.11",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
"@vercel/analytics": "^1.0.1",
"axios": "^1.2.1",
"clsx": "^1.2.1",
"eslint": "8.29.0",
"eslint-config-next": "13.0.6",
"fathom-client": "^3.5.0",
"fs": "^0.0.1-security",
"gray-matter": "^4.0.3",
"markdown-toc": "^1.2.0",
"next": "13.0.6",
"next-mdx-remote": "^4.2.0",
"next-seo": "^5.15.0",
"next-sitemap": "^4.2.2",
"prism-themes": "^1.9.0",
"react": "18.2.0",
"react-cookie-consent": "^8.0.1",
"react-countdown": "^2.3.5",
"react-dom": "18.2.0",
"react-scrollchor": "^7.0.2",
"react-syntax-highlighter": "^15.5.0",
"react-twitter-embed": "^4.0.4",
"react-use": "^17.4.0",
"rehype-slug": "^5.1.0",
"remark-gfm": "^3.0.1",
"sharp": "^0.31.2",
"typescript": "4.9.3"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.8",
"@types/mapbox__rehype-prism": "^0.8.0",
"@types/react-syntax-highlighter": "^15.5.6",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.19",
"prettier": "^2.8.0",
"prettier-plugin-tailwindcss": "^0.2.0",
"tailwindcss": "^3.2.4"
}
}
22 changes: 21 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
dependencies:
regenerator-runtime "^0.13.11"

"@corex/deepmerge@^4.0.43":
version "4.0.43"
resolved "https://registry.yarnpkg.com/@corex/deepmerge/-/deepmerge-4.0.43.tgz#9bd42559ebb41cc5a7fb7cfeea5f231c20977dca"
integrity sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ==

"@eslint/eslintrc@^1.3.3":
version "1.4.1"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e"
Expand Down Expand Up @@ -153,6 +158,11 @@
resolved "https://registry.yarnpkg.com/@next/env/-/env-13.0.6.tgz#3fcab11ffbe95bff127827d9f7f3139bc5e6adff"
integrity sha512-yceT6DCHKqPRS1cAm8DHvDvK74DLIkDQdm5iV+GnIts8h0QbdHvkUIkdOvQoOODgpr6018skbmSQp12z5OWIQQ==

"@next/env@^13.4.3":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/env/-/env-13.4.19.tgz#46905b4e6f62da825b040343cbc233144e9578d3"
integrity sha512-FsAT5x0jF2kkhNkKkukhsyYOrRqtSxrEhfliniIq0bwWbuXLgyt3Gv0Ml+b91XwjwArmuP7NxCiGd++GGKdNMQ==

"@next/[email protected]":
version "13.0.6"
resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.0.6.tgz#4d73774ede50183c5ae5bab01ec4a7dd2d11fed5"
Expand Down Expand Up @@ -4072,7 +4082,7 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
dependencies:
brace-expansion "^1.1.7"

minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.6:
minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.6, minimist@^1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
Expand Down Expand Up @@ -4212,6 +4222,16 @@ next-seo@^5.15.0:
resolved "https://registry.yarnpkg.com/next-seo/-/next-seo-5.15.0.tgz#b1a90508599774982909ea44803323c6fb7b50f4"
integrity sha512-LGbcY91yDKGMb7YI+28n3g+RuChUkt6pXNpa8FkfKkEmNiJkeRDEXTnnjVtwT9FmMhG6NH8qwHTelGrlYm9rgg==

next-sitemap@^4.2.2:
version "4.2.2"
resolved "https://registry.yarnpkg.com/next-sitemap/-/next-sitemap-4.2.2.tgz#2336c4e2c1086842ed0f2d3f80e7fb8b8a4e0da1"
integrity sha512-cz5PyFibUNSJSXOY5mllq5TW0OH6SGG+8GJ9fR9pl1Thu4rvkDye+0N0790h+9kQihDStuVw2xfwC3qihDkflA==
dependencies:
"@corex/deepmerge" "^4.0.43"
"@next/env" "^13.4.3"
fast-glob "^3.2.12"
minimist "^1.2.8"

[email protected]:
version "13.0.6"
resolved "https://registry.yarnpkg.com/next/-/next-13.0.6.tgz#f9a2e9e2df9ad60e1b6b716488c9ad501a383621"
Expand Down

0 comments on commit c99a249

Please sign in to comment.