mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-06 05:47:52 +01:00
chore: add MDX and typography support
Co-Authored-By: G <butaeff@gmail.com>
This commit is contained in:
1 parent
82adf7ca2d
commit
a0383baa2b
3 files changed
+7904
-724
No files matched your search
+10
-1
@@ -1,3 +1,11 @@
|
||||
const withMDX = require('@next/mdx')({
|
||||
extension: /\.mdx?$/,
|
||||
options: {
|
||||
remarkPlugins: [],
|
||||
rehypePlugins: [],
|
||||
},
|
||||
});
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
@@ -6,6 +14,7 @@ const nextConfig = {
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
module.exports = withMDX(nextConfig);
|
||||
Generated
+7863
-709
File diff suppressed because it is too large.
Load diff
+31
-14
@@ -1,25 +1,42 @@
|
||||
{
|
||||
"name": "botsmann",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vercel dev",
|
||||
"deploy": "vercel deploy --prod",
|
||||
"start": "node server.js"
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.4.7",
|
||||
"express": "^4.21.2",
|
||||
"express-rate-limit": "^7.5.0",
|
||||
"@mdx-js/loader": "^3.1.0",
|
||||
"@mdx-js/react": "^3.1.0",
|
||||
"@next/mdx": "^15.1.6",
|
||||
"@tailwindcss/forms": "^0.5.7",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"autoprefixer": "^10.4.17",
|
||||
"mongodb": "^6.12.0",
|
||||
"mongoose": "^8.9.3",
|
||||
"next": "^14.0.4",
|
||||
"nodemailer": "^6.9.16",
|
||||
"nodemon": "^3.1.9",
|
||||
"xss": "^1.0.15"
|
||||
"postcss": "^8.4.35",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-hook-form": "^7.54.2",
|
||||
"tailwindcss": "^3.4.1"
|
||||
},
|
||||
"main": "start-server.js",
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"description": ""
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "^6.6.3",
|
||||
"@testing-library/react": "^16.2.0",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/lru-cache": "^7.10.9",
|
||||
"@types/node": "^20.10.5",
|
||||
"@types/react": "^18.2.45",
|
||||
"@types/react-dom": "^18.2.0",
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"ts-jest": "^29.2.5",
|
||||
"typescript": "^5.3.3"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user