Skip to content

Commit

Permalink
fix /blog/rss.xml, /conf/speak, /sitemap.xml (#1689)
Browse files Browse the repository at this point in the history
* fix

* fix

* fix build

* more

* fixxx

* fix sitemap
  • Loading branch information
dimaMachina authored Apr 4, 2024
1 parent 18a83e3 commit 4aaa500
Show file tree
Hide file tree
Showing 5 changed files with 334 additions and 203 deletions.
3 changes: 2 additions & 1 deletion next-sitemap.config.cjs → next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* eslint-env node */

/** @type {import('next-sitemap').IConfig} */
module.exports = {
export default {
siteUrl: process.env.SITE_URL || "https://graphql.org",
generateIndexSitemap: false,
output: "export", // Set static output here
}
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"format": "pnpm format:check --write",
"format:check": "prettier --cache --check \"**/*.{js,jsx,ts,tsx,cjs,mjs,json,yml,yaml,md}\"",
"lint": "eslint --ignore-path .gitignore .",
"postbuild": "next-sitemap --config next-sitemap.config.cjs",
"postbuild": "next-sitemap",
"start": "next start",
"test": "echo \"no tests\" && exit 1"
},
Expand All @@ -20,7 +20,6 @@
"@heroicons/react": "^2.0.18",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-radio-group": "^1.1.3",
"@svgr/webpack": "^8.0.1",
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
"@tailwindcss/typography": "^0.5.10",
"autoprefixer": "^10.4.17",
Expand All @@ -31,6 +30,7 @@
"fast-glob": "^3.3.2",
"graphql": "16.8.1",
"gray-matter": "^4.0.3",
"hast-util-to-string": "3.0.0",
"iframe-resizer-react": "^1.1.0",
"leaflet": "^1.9.4",
"markdown-to-jsx": "^7.4.0",
Expand All @@ -46,25 +46,27 @@
"p-limit": "^4.0.0",
"parser-front-matter": "1.6.4",
"postcss": "^8.4.33",
"prettier-plugin-pkg": "^0.18.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-medium-image-zoom": "5.1.8",
"rss": "1.2.2",
"server-only": "0.0.1",
"server-only-context": "^0.1.0",
"string-similarity": "^4.0.4",
"string-strip-html": "^13.4.5",
"tailwindcss": "^3.4.1",
"timeago.js": "4.0.2",
"tsx": "^4.7.0",
"unified": "11.0.4",
"unist-util-visit": "^5.0.0",
"use-query-params": "^2.2.1"
},
"devDependencies": {
"@graphql-eslint/eslint-plugin": "4.0.0-alpha.0",
"@svgr/webpack": "^8.0.1",
"@types/codemirror": "5.60.7",
"@types/hast": "3.0.4",
"@types/node": "^20.11.30",
"@types/react": "^18.2.73",
"@types/rss": "0.0.32",
"@types/string-similarity": "^4.0.2",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
Expand All @@ -73,9 +75,11 @@
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-tailwindcss": "3.15.1",
"prettier": "3.2.5",
"prettier-plugin-pkg": "^0.18.1",
"remark-frontmatter": "5.0.0",
"remark-lint-first-heading-level": "3.1.2",
"remark-lint-heading-increment": "3.1.2",
"tsx": "^4.7.0",
"typescript": "^5.4.3"
},
"pnpm": {
Expand Down
Loading

0 comments on commit 4aaa500

Please sign in to comment.