Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion next.config.js → next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
module.exports = {
import createMDX from "@next/mdx";

/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
turbopack: {},
async redirects() {
return [
...["/linkedin", "/li"].map((source) => ({
Expand Down Expand Up @@ -69,3 +74,12 @@ module.exports = {
],
},
};

const withMDX = createMDX({
options: {
remarkPlugins: [],
rehypePlugins: [],
},
});

export default withMDX(nextConfig);
28 changes: 15 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,51 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"dev": "next dev -p 2137",
"build": "next build",
"postbuild": "next-sitemap --config next-sitemap.config.js",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/mdx": "15.3.0",
"@radix-ui/react-tooltip": "^1.1.7",
"@vercel/analytics": "^1.4.1",
"@vercel/speed-insights": "^1.1.0",
"cheerio": "^1.0.0-rc.10",
"clsx": "^1.1.1",
"eslint-config-next": "^15.1.6",
"date-fns": "^4.1.0",
"eslint-config-next": "15.3.0",
"gray-matter": "^4.0.3",
"jotai": "^2.9.2",
"next": "15.1.6",
"next": "15.3.0",
"next-mdx-remote": "^5.0.0",
"next-themes": "^0.4.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-loading-skeleton": "^3.0.1",
"react-parallax-tilt": "^1.5.83",
"react-use": "^17.4.2",
"react-use-lanyard": "^0.3.2",
"reading-time": "^1.5.0",
"sass": "^1.45.0",
"sharp": "^0.33.5"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.24.0",
"@types/mdx": "^2.0.13",
"@types/node": "^17.0.13",
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"@types/react": "19.1.2",
"@types/react-dom": "19.1.2",
"eslint": "9.24.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-import-helpers": "^2.0.1",
"eslint-plugin-prettier": "^5.2.3",
"next-sitemap": "^1.6.203",
"prettier": "3.4.2",
"typescript": "^4.5.4"
},
"pnpm": {
"overrides": {
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3"
}
}
}
Loading