Bump dependencies & support next 14 for docs

- Renamed _app.js to mdx (for Next 14)
- Lint next config file & package.json
pull/820/head
QuentiumYT 4 months ago
parent d5945f9ee7
commit 6db38ad769

@ -1,9 +1,9 @@
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.jsx'
})
theme: 'nextra-theme-docs',
themeConfig: './theme.config.jsx'
})
module.exports = withNextra()
module.exports = withNextra()
// If you have other Next.js configurations, you can pass them as the parameter:
// module.exports = withNextra({ /* other next.js config */ })
// If you have other Next.js configurations, you can pass them as the parameter:
// module.exports = withNextra({ /* other next.js config */ })

1944
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -1,17 +1,17 @@
{
"scripts":{
"dev": "next dev",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"license": "MIT",
"license": "MIT",
"dependencies": {
"@vercel/analytics": "^1.0.2",
"@vercel/analytics": "^1.1.1",
"docsgpt": "^0.2.4",
"next": "^13.5.1",
"nextra": "^2.12.3",
"nextra-theme-docs": "^2.12.3",
"next": "^14.0.4",
"nextra": "^2.13.2",
"nextra-theme-docs": "^2.13.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}
}

Loading…
Cancel
Save