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
16 changes: 8 additions & 8 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,28 @@
"cmdk": "1.1.1",
"cva": "1.0.0-beta.4",
"embla-carousel-react": "8.6.0",
"fumadocs-core": "15.8.5",
"fumadocs-mdx": "12.0.3",
"fumadocs-ui": "15.8.5",
"fumadocs-core": "16.0.5",
"fumadocs-mdx": "13.0.2",
"fumadocs-ui": "16.0.5",
"hast-util-to-jsx-runtime": "2.3.6",
"input-otp": "1.4.2",
"lucide-react": "0.546.0",
"next": "15.5.4",
"lucide-react": "0.548.0",
"next": "16.0.1",
"next-themes": "0.4.6",
"radix-ui": "1.4.3",
"react": "19.2.0",
"react-day-picker": "9.11.1",
"react-dom": "19.2.0",
"react-resizable-panels": "3.0.6",
"shiki": "3.13.0",
"shiki": "3.14.0",
"sonner": "2.0.7",
"vaul": "1.1.2"
},
"devDependencies": {
"@nelsonlaidev/eslint-config": "2.3.0",
"@nelsonlaidev/eslint-config": "2.3.1",
"@tailwindcss/postcss": "4.1.16",
"@types/mdx": "2.0.13",
"@types/node": "24.9.1",
"@types/node": "24.9.2",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"consola": "3.4.2",
Expand Down
5 changes: 1 addition & 4 deletions apps/web/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ if (env.CLOUDFLARE_R2_PUBLIC_URL) {
const config: NextConfig = {
productionBrowserSourceMaps: true,

eslint: {
ignoreDuringBuilds: !!process.env.CI
},
typescript: {
ignoreBuildErrors: !!process.env.CI
},
Expand Down Expand Up @@ -138,4 +135,4 @@ const config: NextConfig = {
}
}

export default withPostHog(withContentCollections(withNextIntl(withBundleAnalyzer(config))))
export default withContentCollections(withNextIntl(withBundleAnalyzer(withPostHog(config))))
50 changes: 25 additions & 25 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Nelson Lai <[email protected]> (https://github.com/nelsonlaidev/)",
"type": "module",
"scripts": {
"analyze": "cross-env ANALYZE=true pnpm with-env next build",
"analyze": "cross-env ANALYZE=true pnpm with-env next build --webpack",
"build": "pnpm with-env next build --turbo",
"build:mdx": "content-collections build",
"clean": "rm -rf .next .turbo .content-collections test-results playwright-report",
Expand All @@ -28,60 +28,60 @@
]
},
"dependencies": {
"@aws-sdk/client-s3": "3.914.0",
"@aws-sdk/s3-request-presigner": "3.914.0",
"@aws-sdk/client-s3": "3.919.0",
"@aws-sdk/s3-request-presigner": "3.919.0",
"@fastify/deepmerge": "3.1.0",
"@hookform/resolvers": "5.2.2",
"@icons-pack/react-simple-icons": "13.8.0",
"@number-flow/react": "0.5.10",
"@octokit/rest": "22.0.0",
"@orpc/client": "1.10.0",
"@orpc/server": "1.10.0",
"@orpc/tanstack-query": "1.10.0",
"@paralleldrive/cuid2": "3.1.0",
"@posthog/nextjs-config": "1.3.6",
"@orpc/client": "1.10.2",
"@orpc/server": "1.10.2",
"@orpc/tanstack-query": "1.10.2",
"@paralleldrive/cuid2": "3.0.4",
"@posthog/nextjs-config": "1.3.8",
"@repo/db": "workspace:*",
"@repo/email": "workspace:*",
"@repo/env": "workspace:*",
"@repo/i18n": "workspace:*",
"@repo/ui": "workspace:*",
"@shikijs/rehype": "3.13.0",
"@shikijs/transformers": "3.13.0",
"@shikijs/rehype": "3.14.0",
"@shikijs/transformers": "3.14.0",
"@tanstack/react-query": "5.90.5",
"@tanstack/react-query-devtools": "5.90.2",
"@tanstack/react-table": "8.21.3",
"@vercel/speed-insights": "1.2.0",
"better-auth": "1.3.29",
"better-auth": "1.3.34",
"bowser": "2.12.1",
"canvas-confetti": "1.9.3",
"canvas-confetti": "1.9.4",
"cobe": "0.6.5",
"cva": "1.0.0-beta.4",
"dayjs": "1.11.18",
"drizzle-zod": "0.8.3",
"fast-xml-parser": "5.3.0",
"github-slugger": "2.0.0",
"jose": "6.1.0",
"lucide-react": "0.546.0",
"markdown-to-jsx": "7.7.16",
"lucide-react": "0.548.0",
"markdown-to-jsx": "8.0.0",
"motion": "12.23.24",
"next": "15.5.4",
"next": "16.0.1",
"next-intl": "4.4.0",
"next-themes": "0.4.6",
"nuqs": "2.7.2",
"postgres": "3.4.7",
"posthog-js": "1.280.0",
"posthog-node": "5.10.3",
"posthog-js": "1.281.0",
"posthog-node": "5.10.4",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-hook-form": "7.65.0",
"react-intersection-observer": "9.16.0",
"react-intersection-observer": "10.0.0",
"react-medium-image-zoom": "5.4.0",
"remark": "15.0.1",
"remark-gfm": "4.0.1",
"resend": "6.2.2",
"resend": "6.3.0",
"rss": "1.2.2",
"server-only": "0.0.1",
"shiki": "3.13.0",
"shiki": "3.14.0",
"sonner": "2.0.7",
"tinycolor2": "1.6.0",
"unified": "11.0.5",
Expand All @@ -97,24 +97,24 @@
"@content-collections/core": "0.11.1",
"@content-collections/mdx": "0.2.2",
"@content-collections/next": "0.2.8",
"@nelsonlaidev/eslint-config": "2.3.0",
"@nelsonlaidev/eslint-config": "2.3.1",
"@nelsonlaidev/typescript-config": "1.0.0",
"@next/bundle-analyzer": "15.5.4",
"@next/bundle-analyzer": "16.0.1",
"@repo/kv": "workspace:*",
"@tailwindcss/postcss": "4.1.16",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.0",
"@types/canvas-confetti": "1.9.0",
"@types/hast": "3.0.4",
"@types/mdast": "4.0.4",
"@types/node": "24.9.1",
"@types/node": "24.9.2",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"@types/rss": "0.0.32",
"@types/spotify-api": "0.0.25",
"@types/tinycolor2": "1.4.6",
"@vitejs/plugin-react": "5.0.4",
"discord-api-types": "0.38.30",
"@vitejs/plugin-react": "5.1.0",
"discord-api-types": "0.38.31",
"postcss-load-config": "6.0.1",
"schema-dts": "1.1.5",
"tailwindcss": "4.1.16"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/lib/posthog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const getPostHogServer = () => {
}

export const withPostHog = (nextConfig: NextConfig): NextConfig => {
if (!env.POSTHOG_API_KEY || !env.POSTHOG_ENV_ID || !env.NEXT_PUBLIC_POSTHOG_KEY) {
if (!env.POSTHOG_API_KEY || !env.POSTHOG_ENV_ID || !env.NEXT_PUBLIC_POSTHOG_HOST) {
return nextConfig
}

Expand Down
4 changes: 1 addition & 3 deletions apps/web/src/middleware.ts → apps/web/src/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { i18nMiddleware } from '@repo/i18n/middleware'

const IS_PREVIEW = env.VERCEL_ENV === 'preview'

const middleware = (request: NextRequest) => {
export const proxy = (request: NextRequest) => {
const csp = `
default-src 'none';
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.nelsonlai.dev https://*.posthog.com https://va.vercel-scripts.com ${IS_PREVIEW ? 'https://vercel.live' : ''};
Expand Down Expand Up @@ -47,5 +47,3 @@ export const config = {
'/((?!api|rpc|_next/static|_next/image|_vercel|_ph|favicon|android-chrome|apple-touch-icon|fonts|images|videos|favicon.ico|sitemap.xml|robots.txt|site.webmanifest).*)'
]
}

export default middleware
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,29 +55,29 @@
"@cspell/dict-redis": "1.0.7",
"@dotenvx/dotenvx": "1.51.0",
"@lingual/i18n-check": "0.8.12",
"@nelsonlaidev/eslint-config": "2.3.0",
"@nelsonlaidev/eslint-config": "2.3.1",
"@nelsonlaidev/prettier-config": "0.1.0",
"@nelsonlaidev/typescript-config": "1.0.0",
"@playwright/test": "1.56.1",
"@types/node": "24.9.1",
"@vitest/coverage-v8": "4.0.2",
"@vitest/ui": "4.0.2",
"@types/node": "24.9.2",
"@vitest/coverage-v8": "4.0.4",
"@vitest/ui": "4.0.4",
"cross-env": "10.1.0",
"cspell": "9.2.2",
"czg": "1.12.0",
"eslint": "9.38.0",
"jsdom": "27.0.1",
"knip": "5.66.2",
"lefthook": "2.0.0",
"knip": "5.66.4",
"lefthook": "2.0.2",
"lint-staged": "16.2.6",
"prettier": "3.6.2",
"prettier-plugin-packagejson": "2.5.19",
"tsx": "4.20.6",
"turbo": "2.5.8",
"typescript": "5.9.3",
"vitest": "4.0.2"
"vitest": "4.0.4"
},
"packageManager": "pnpm@10.19.0",
"packageManager": "pnpm@10.20.0",
"engines": {
"node": ">=22"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
]
},
"dependencies": {
"@paralleldrive/cuid2": "3.1.0",
"@paralleldrive/cuid2": "3.0.4",
"@repo/env": "workspace:*",
"drizzle-orm": "0.44.6"
"drizzle-orm": "0.44.7"
},
"devDependencies": {
"@nelsonlaidev/eslint-config": "2.3.0",
"@nelsonlaidev/eslint-config": "2.3.1",
"@nelsonlaidev/typescript-config": "1.0.0",
"@types/node": "24.9.1",
"@types/node": "24.9.2",
"consola": "3.4.2",
"drizzle-kit": "0.31.5",
"drizzle-kit": "0.31.6",
"execa": "9.6.0",
"postgres": "3.4.7"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"react-dom": "19.2.0"
},
"devDependencies": {
"@nelsonlaidev/eslint-config": "2.3.0",
"@nelsonlaidev/eslint-config": "2.3.1",
"@nelsonlaidev/typescript-config": "1.0.0",
"@react-email/preview-server": "4.3.1",
"@types/node": "24.9.1",
"@react-email/preview-server": "4.3.2",
"@types/node": "24.9.2",
"@types/react": "19.2.2",
"react-email": "4.3.1",
"react-email": "4.3.2",
"tailwindcss": "4.1.16"
}
}
2 changes: 1 addition & 1 deletion packages/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"zod": "4.1.12"
},
"devDependencies": {
"@nelsonlaidev/eslint-config": "2.3.0",
"@nelsonlaidev/eslint-config": "2.3.1",
"@nelsonlaidev/typescript-config": "1.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
]
},
"devDependencies": {
"@nelsonlaidev/eslint-config": "2.3.0",
"@nelsonlaidev/eslint-config": "2.3.1",
"@nelsonlaidev/typescript-config": "1.0.0",
"@types/react": "19.2.2",
"next": "15.5.4",
"next": "16.0.1",
"next-intl": "4.4.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/kv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"consola": "3.4.2"
},
"devDependencies": {
"@nelsonlaidev/eslint-config": "2.3.0",
"@nelsonlaidev/eslint-config": "2.3.1",
"@nelsonlaidev/typescript-config": "1.0.0",
"@repo/env": "workspace:*"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"clsx": "2.1.1",
"cmdk": "1.1.1",
"cva": "1.0.0-beta.4",
"lucide-react": "0.546.0",
"lucide-react": "0.548.0",
"merge-refs": "2.0.0",
"next-themes": "0.4.6",
"radix-ui": "1.4.3",
Expand All @@ -40,12 +40,12 @@
"vaul": "1.1.2"
},
"devDependencies": {
"@nelsonlaidev/eslint-config": "2.3.0",
"@nelsonlaidev/eslint-config": "2.3.1",
"@nelsonlaidev/typescript-config": "1.0.0",
"@tailwindcss/typography": "0.5.19",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"next": "15.5.4",
"next": "16.0.1",
"react": "19.2.0",
"react-dom": "19.2.0",
"tailwindcss": "4.1.16",
Expand Down
Loading