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
5 changes: 0 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,3 @@ BETTER_AUTH_SECRET=
# Email
# Not required, but needed for functions like sending password reset emails.
SENDGRID_API_KEY=

# Analytics
# Not required, but nice to have if you're hosting an instance with many users.
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=
24 changes: 1 addition & 23 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,7 @@ const config = {
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
output: "standalone",
transpilePackages: ["next-mdx-remote"],
async rewrites() {
if (!process.env.NEXT_PUBLIC_POSTHOG_HOST) return [];

return [
{
source: "/ingest/static/:path*",
destination: "https://us-assets.i.posthog.com/static/:path*",
},
{
source: "/ingest/:path*",
destination: `${process.env.NEXT_PUBLIC_POSTHOG_HOST}/:path*`,
},
{
source: "/ingest/decide",
destination: `${process.env.NEXT_PUBLIC_POSTHOG_HOST}/decide`,
},
];
},
// This is required to support PostHog trailing slash API requests
skipTrailingSlashRedirect: true,
experimental: {
reactCompiler: true,
},
reactCompiler: true,
};

const isProd = process.env.NODE_ENV === "production";
Expand Down
111 changes: 55 additions & 56 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "pnpm schema:migrate && next dev --turbopack",
"dev:email": "email dev --port 4000",
"dev:email": "email dev --dir ./src/emails --port 4000",
"build": "next build --turbopack && pnpm schema:migrate && node --import=tsx ./src/server/scripts/addIdsToFeedItems.ts",
"build:atomic": "next build --turbopack",
"schema:generate": "drizzle-kit generate",
Expand All @@ -20,109 +20,108 @@
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@formkit/auto-animate": "^0.8.2",
"@libsql/client": "0.15.12",
"@libsql/linux-x64-musl": "0.5.17",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/mdx": "15.5.0",
"@paralleldrive/cuid2": "^2.2.2",
"@formkit/auto-animate": "^0.9.0",
"@libsql/client": "0.15.15",
"@libsql/linux-x64-musl": "0.5.22",
"@mdx-js/loader": "^3.1.1",
"@mdx-js/react": "^3.1.1",
"@next/mdx": "16.0.1",
"@paralleldrive/cuid2": "^3.0.4",
"@planetscale/database": "^1.19.0",
"@radix-ui/react-accordion": "^1.2.12",
"@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-icons": "^1.3.2",
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-radio-group": "^1.3.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slider": "^1.3.6",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-toggle-group": "^1.1.11",
"@radix-ui/react-tooltip": "^1.2.8",
"@react-email/components": "^0.5.1",
"@sendgrid/mail": "^8.1.5",
"@react-email/components": "^1.0.0",
"@sendgrid/mail": "^8.1.6",
"@t3-oss/env-nextjs": "^0.13.8",
"@tabler/icons-react": "^3.34.1",
"@tanstack/query-async-storage-persister": "^5.85.5",
"@tanstack/react-query": "^5.85.5",
"@tanstack/react-query-persist-client": "^5.85.5",
"@tabler/icons-react": "^3.35.0",
"@tanstack/query-async-storage-persister": "^5.90.9",
"@tanstack/react-query": "^5.90.7",
"@tanstack/react-query-persist-client": "^5.90.9",
"@tanstack/react-table": "^8.21.3",
"@trpc/client": "11.5.0",
"@trpc/next": "11.5.0",
"@trpc/server": "11.5.0",
"@trpc/tanstack-react-query": "11.5.0",
"@trpc/client": "11.7.1",
"@trpc/next": "11.7.1",
"@trpc/server": "11.7.1",
"@trpc/tanstack-react-query": "11.7.1",
"@types/mdx": "^2.0.13",
"babel-plugin-react-compiler": "19.1.0-rc.2",
"better-auth": "^1.3.7",
"better-auth": "^1.3.34",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"dayjs": "^1.11.13",
"drizzle-orm": "^0.44.4",
"dayjs": "^1.11.19",
"drizzle-orm": "^0.44.7",
"drizzle-zod": "^0.8.3",
"embla-carousel-react": "^8.6.0",
"fast-xml-parser": "^5.2.5",
"fast-xml-parser": "^5.3.1",
"jimp": "^1.6.0",
"jotai": "^2.13.1",
"jotai": "^2.15.1",
"jotai-optics": "^0.4.0",
"lucide-react": "^0.541.0",
"next": "15.5.0",
"lucide-react": "^0.553.0",
"next": "16.0.1",
"next-mdx-remote": "^5.0.0",
"next-pwa": "^5.6.0",
"next-themes": "^0.4.6",
"posthog-js": "^1.260.2",
"posthog-node": "^5.7.0",
"react": "19.1.1",
"react-dom": "19.1.1",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-fast-marquee": "^1.6.5",
"react-resizable-panels": "^3.0.5",
"react-resizable-panels": "^3.0.6",
"react-youtube": "^10.1.0",
"recharts": "^3.1.2",
"recharts": "^3.3.0",
"rehype-parse": "^9.0.1",
"rehype-sanitize": "^6.0.0",
"rehype-stringify": "^10.0.1",
"rss-parser": "^3.13.0",
"server-only": "^0.0.1",
"sonner": "^2.0.7",
"superjson": "^2.2.2",
"superjson": "^2.2.5",
"tailwind-merge": "^3.3.1",
"tailwindcss-animate": "^1.0.7",
"unified": "^11.0.5",
"vaul": "^1.1.2",
"zod": "^4.1.1",
"zod": "^4.1.12",
"zustand": "^5.0.8"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.12",
"@tailwindcss/typography": "^0.5.16",
"@react-email/preview-server": "5.0.1",
"@tailwindcss/postcss": "^4.1.17",
"@tailwindcss/typography": "^0.5.19",
"@total-typescript/ts-reset": "^0.6.1",
"@types/eslint": "^9.6.1",
"@types/next-pwa": "^5.6.9",
"@types/node": "^24.3.0",
"@types/react": "19.1.11",
"@types/react-dom": "19.1.7",
"@typescript-eslint/eslint-plugin": "^8.40.0",
"@typescript-eslint/parser": "^8.40.0",
"better-sqlite3": "^12.2.0",
"dotenv": "^17.2.1",
"drizzle-kit": "^0.31.4",
"eslint": "^9.34.0",
"eslint-config-next": "15.5.0",
"mysql2": "^3.14.3",
"@types/node": "^24.10.0",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"@typescript-eslint/eslint-plugin": "^8.46.3",
"@typescript-eslint/parser": "^8.46.3",
"better-sqlite3": "^12.4.1",
"dotenv": "^17.2.3",
"drizzle-kit": "^0.31.6",
"eslint": "^9.39.1",
"eslint-config-next": "16.0.1",
"mysql2": "^3.15.3",
"postcss": "^8.5.6",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"react-email": "^4.2.8",
"tailwindcss": "^4.1.12",
"prettier-plugin-tailwindcss": "^0.7.1",
"react-email": "^5.0.1",
"tailwindcss": "^4.1.17",
"ts-node": "^10.9.2",
"tsx": "^4.20.5",
"typescript": "^5.9.2"
"tsx": "^4.20.6",
"typescript": "^5.9.3"
},
"ct3aMetadata": {
"initVersion": "7.25.2"
Expand All @@ -133,8 +132,8 @@
"packageManager": "[email protected]",
"pnpm": {
"overrides": {
"@types/react": "19.1.1",
"@types/react-dom": "19.1.2"
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2"
}
}
}
Loading