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

This file was deleted.

13 changes: 13 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { defineConfig, globalIgnores } from "eslint/config";
import nextVitals from "eslint-config-next/core-web-vitals";

export default defineConfig([
...nextVitals,
globalIgnores([
".next/**",
".data/**",
"out/**",
"build/**",
"next-env.d.ts",
]),
]);
46 changes: 46 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[env]
_.file = ".env"

[tools]
node = "lts"
pnpm = "latest"

[tasks."db:up"]
description = "Start the Postgres container"
run = "docker compose up db -d"

[tasks."db:down"]
description = "Stop the Postgres container"
run = "docker compose down"

[tasks."db:logs"]
description = "Tail Postgres container logs"
run = "docker compose logs db -f"

[tasks.migrate]
description = "Run Prisma migrations"
run = "pnpm prisma migrate deploy"
depends = ["db:up"]

[tasks.seed]
description = "Seed the database"
run = "pnpm prisma db seed"
depends = ["migrate"]

[tasks.generate]
description = "Generate Prisma client"
run = "pnpm prisma generate"

[tasks.setup]
description = "Full dev setup: start DB, migrate, and seed"
depends = ["seed", "generate"]

[tasks.dev]
description = "Start the Next.js dev server (DB must be up)"
run = "pnpm dev"
depends = ["migrate", "generate"]

[tasks.studio]
description = "Open Prisma Studio"
run = "pnpm prisma studio"
depends = ["db:up"]
10 changes: 8 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ const nextConfig = {
];
},
images: {
domains: ['res.cloudinary.com'],
}
remotePatterns: [
{
protocol: "https",
hostname: "res.cloudinary.com",
pathname: "/**",
},
],
},
};

module.exports = nextConfig;
125 changes: 68 additions & 57 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,74 +12,85 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "eslint ."
},
"prisma": {
"seed": "./node_modules/.bin/ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"pnpm": {
"overrides": {
"braces": "3.0.3",
"cross-spawn": "7.0.5",
"diff": "4.0.4",
"glob": "10.5.0",
"mdast-util-to-hast": "13.2.1",
"minimatch": "9.0.7",
"nanoid": "3.3.8"
}
},
"dependencies": {
"@auth/prisma-adapter": "^2.0.0",
"@fullcalendar/core": "^6.1.11",
"@fullcalendar/daygrid": "^6.1.11",
"@fullcalendar/list": "^6.1.11",
"@fullcalendar/react": "^6.1.11",
"@hookform/resolvers": "^3.3.4",
"@icons-pack/react-simple-icons": "^9.4.1",
"@internationalized/date": "^3.5.2",
"@prisma/client": "^5.13.0",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.12.7",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"autoprefixer": "10.4.19",
"class-variance-authority": "^0.7.0",
"@auth/prisma-adapter": "2.11.1",
"@fullcalendar/core": "^6.1.20",
"@fullcalendar/daygrid": "^6.1.20",
"@fullcalendar/list": "^6.1.20",
"@fullcalendar/react": "^6.1.20",
"@hookform/resolvers": "^3.10.0",
"@icons-pack/react-simple-icons": "13.13.0",
"@internationalized/date": "^3.12.0",
"@prisma/client": "6.19.2",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-hover-card": "^1.1.15",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-navigation-menu": "^1.2.14",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.8",
"@tailwindcss/typography": "^0.5.19",
"autoprefixer": "10.4.27",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"eslint": "^9.1.1",
"eslint-config-next": "^14.2.3",
"framer-motion": "^11.1.7",
"lossless-json": "^4.0.1",
"lucide-react": "^0.376.0",
"next": "14.2.3",
"next-auth": "5.0.0-beta.17",
"next-cloudinary": "^6.16.0",
"next-themes": "^0.3.0",
"nextjs-toploader": "^1.6.12",
"postcss": "8.4.38",
"prisma": "^5.13.0",
"react": "18.3.1",
"react-aria": "^3.32.1",
"framer-motion": "^11.18.2",
"lossless-json": "^4.3.0",
"lucide-react": "^0.577.0",
"next": "16.2.0",
"next-auth": "5.0.0-beta.30",
"next-cloudinary": "6.17.5",
"next-themes": "0.4.6",
"nextjs-toploader": "3.9.17",
"postcss": "8.5.8",
"prisma": "6.19.2",
"react": "19.2.4",
"react-aria": "^3.47.0",
"react-day-picker": "^8.10.1",
"react-dom": "18.3.1",
"react-hook-form": "^7.51.3",
"react-markdown": "^9.0.1",
"react-remove-scroll-bar": "^2.3.6",
"react-stately": "^3.30.1",
"react-dom": "19.2.4",
"react-hook-form": "^7.71.2",
"react-markdown": "^9.1.0",
"react-remove-scroll-bar": "^2.3.8",
"react-stately": "^3.45.0",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.0",
"sharp": "^0.33.3",
"sonner": "^1.4.41",
"tailwind-merge": "^2.3.0",
"tailwindcss": "3.4.3",
"remark-gfm": "^4.0.1",
"sharp": "^0.34.5",
"sonner": "^1.7.4",
"tailwind-merge": "^2.6.1",
"tailwindcss": "3.4.19",
"tailwindcss-animate": "^1.0.7",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"zod": "^3.23.4"
"zod": "^3.25.76"
},
"devDependencies": {
"prettier": "^3.3.1",
"prettier-plugin-tailwindcss": "^0.6.1"
"@types/node": "25.5.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"eslint": "9.39.4",
"eslint-config-next": "16.2.0",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"typescript": "5.9.3"
}
}
Loading