Skip to content
Merged
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
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

14 changes: 14 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import path from "node:path";
import { fileURLToPath } from "node:url";

import { defineConfig } from "eslint/config";

import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const flatCompat = new FlatCompat({ baseDirectory: __dirname });

export default defineConfig([
...flatCompat.extends("eslint-config-next/core-web-vitals"),
]);
13,651 changes: 8,925 additions & 4,726 deletions package-lock.json

Large diffs are not rendered by default.

51 changes: 25 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,39 @@
"build": "next build",
"start": "next start",
"format": "prettier -w .",
"lint": "next lint"
"lint": "eslint ."
},
"dependencies": {
"@heroicons/react": "^2.1.5",
"@next/third-parties": "^14.2.15",
"@heroicons/react": "^2.2.0",
"@nextui-org/react": "^2.4.6",
"@vercel/analytics": "^1.3.1",
"axios": "^1.7.5",
"framer-motion": "^10.18.0",
"@next/third-parties": "^15.5.6",
"@vercel/analytics": "^1.5.0",
"axios": "^1.12.2",
"framer-motion": "^12.23.24",
"he": "^1.2.0",
"mongoose": "^8.8.3",
"next": "^14.2.15",
"nodemailer": "^6.9.14",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"mongoose": "^8.19.1",
"next": "^15.5.6",
"nodemailer": "^7.0.9",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-ga4": "^2.1.0",
"react-icons": "^5.2.1",
"react-icons": "^5.5.0",
"react-responsive-carousel": "^3.2.23",
"react-responsive-masonry": "^2.3.0",
"react-syntax-highlighter": "^15.5.0",
"react-responsive-masonry": "^2.7.1",
"react-syntax-highlighter": "^15.6.6",
"react-type-animation": "^3.2.0",
"use-debounce": "^10.0.3"
"use-debounce": "^10.0.6"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "22.13.4",
"@types/react": "^18.3.3",
"autoprefixer": "^10.4.20",
"eslint": "^8.47.0",
"eslint-config-next": "^13.4.16",
"eslint-config-prettier": "^9.1.0",
"pnpm": "^9.7.1",
"postcss": "^8.4.41",
"prettier": "^3.3.3",
"tailwindcss": "^3.4.9"
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/node": "24.8.1",
"@types/react": "^19.2.2",
"autoprefixer": "^10.4.21",
"eslint": "^9.38.0",
"eslint-config-next": "^15.5.6",
"eslint-config-prettier": "^10.1.8",
"postcss": "^8.5.6",
"prettier": "^3.6.2",
"tailwindcss": "^3.4.17"
}
}
3 changes: 3 additions & 0 deletions src/app/robots.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { MetadataRoute } from "next";

export const dynamic = "force-static";
export const revalidate = false;

export default function robots(): MetadataRoute.Robots {
return {
rules: {
Expand Down
3 changes: 3 additions & 0 deletions src/app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { MetadataRoute } from "next";

export const dynamic = "force-static";
export const revalidate = false;

export default function sitemap(): MetadataRoute.Sitemap {
return [
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const Searchbar = ({
<Button
id="clear"
isIconOnly
onClick={() => setQuery("")}
onPress={() => setQuery("")}
className="absolute right-3 top-1/2 h-[18px] w-[18px] -translate-y-1/2 text-zinc-500 peer-focus:text-zinc-900 dark:peer-focus:text-zinc-100"
>
<XMarkIcon />
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
],
"paths": {
"@/*": ["./src/*"]
}
},
"target": "ES2017"
},
"include": [
"next-env.d.ts",
Expand Down
Loading