From 62e1bcba66b1786fbe7d556efa7cb6b4ad023e9b Mon Sep 17 00:00:00 2001 From: Konstantin Rybakov Date: Mon, 19 Aug 2024 18:57:46 +0300 Subject: [PATCH] add posthog --- app/providers.tsx | 20 ++++++++++++++++++++ bun.lockb | Bin 124022 -> 126580 bytes package.json | 9 +++++---- tsconfig.json | 1 - 4 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 app/providers.tsx diff --git a/app/providers.tsx b/app/providers.tsx new file mode 100644 index 0000000..a6684f2 --- /dev/null +++ b/app/providers.tsx @@ -0,0 +1,20 @@ +'use client' + +import posthog from 'posthog-js' +import { PostHogProvider } from 'posthog-js/react' +import type { PropsWithChildren } from 'react' + +if (!process.env.NEXT_PUBLIC_POSTHOG_KEY) { + throw new Error('NEXT_PUBLIC_POSTHOG_KEY env variable is not set') +} + +if (typeof window !== 'undefined') { + posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, { + api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST, + person_profiles: 'identified_only', + }) +} + +export function CSPostHogProvider({ children }: PropsWithChildren) { + return {children} +} diff --git a/bun.lockb b/bun.lockb index eae0f4ca765acb1253c0f5916be09f570724118e..c4a91bc049680cc73453e521d70148eefd74ffd8 100755 GIT binary patch delta 23913 zcmeHvcUY81*Z$7J3X4HO5m^KQ3n~iI7eyAZU|B&$1wm0kQL%x71skhLY|&Uo9kIpU zV(+~-Y|&W3o|sq?V=Rdpqki{!it^@FKi}{A{qwu7_qn+D%sF%B%*>fH^E^AxGJhVk zd3x1mvR{oYx1uv*TIJnpm>2kGRO1=pWiR+GFWCl4w5DXe>iAyGqO$twv)9J_occXd6gNg4VazXv%}G1uX^IB|AGkyNgCs8$9V{ zWoG9mkog?bBP62csS+=m3GEV$e#V{nN8Edk;+4 zMA$+H`9Yx6psJu$agWsO%t3uMnnAEe6&2dZ`B@p=a;XQ0!8<|z2P!1}`=Hc;8w$nn`@T6BCN@RE%DCKWe^wl0N z0Z;Ni>HWK>2Wm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QJ8`ZSvhAC3C8OgU52Z zX{2YV#6H4qE{0Lp6rJZXchBm5wGE~(9|sNlqCo{2+bI6{MF9pI_Z6#PFvR$jTGfYQ zab3%qRb?8+$JVTVn;eE-t@B-3&WOI^9+fpd&$fR{jMXzSbY+=_@d3AYm!-P3Uo`Yc zSMUjzMNU4eR^<34d%1$>a0j}tf6dy7Pj0j3 YqS9@)OWfZJ%MN!~^`dTfn77^k13-YLiU0rr diff --git a/package.json b/package.json index 231b370..996fc8f 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@radix-ui/react-toggle-group": "^1.1.0", "@radix-ui/react-visually-hidden": "^1.1.0", "@tanstack/react-table": "^8.20.1", - "ai": "^3.3.5", + "ai": "^3.3.11", "bson": "^6.8.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", @@ -43,12 +43,13 @@ "next": "14.2.5", "next-auth": "^5.0.0-beta.20", "next-themes": "^0.3.0", + "posthog-js": "^1.156.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-hotkeys-hook": "^4.5.0", "server-only": "^0.0.1", "sonner": "^1.5.0", - "tailwind-merge": "^2.4.0", + "tailwind-merge": "^2.5.2", "tailwindcss-animate": "^1.0.7", "title-case": "^4.3.1", "zod": "^3.23.8" @@ -56,12 +57,12 @@ "devDependencies": { "@biomejs/biome": "^1.8.3", "@types/bun": "^1.1.6", - "@types/node": "^20.14.15", + "@types/node": "^20.16.1", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "postcss": "^8.4.41", "prisma": "^5.18.0", - "tailwindcss": "^3.4.9", + "tailwindcss": "^3.4.10", "typescript": "^5.5.4" } } diff --git a/tsconfig.json b/tsconfig.json index 832e20b..dd1c98d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,6 @@ // --- "noUnusedLocals": true, "noUnusedParameters": true, - "noPropertyAccessFromIndexSignature": true, // --- "esModuleInterop": true, "resolveJsonModule": true,