[WEB-5399] chore: update dependencies and improve PostHog integration (#8097)

- Updated PostHog React package to version 1.4.0 and posthog-js to version 1.255.1.
- Refactored PostHogProvider to include hydration state management for improved event tracking.
- Cleaned up version references in pnpm-lock.yaml for react-router and next-themes.
This commit is contained in:
Prateek Shourya 2025-11-11 19:27:49 +05:30 committed by GitHub
parent 6ba15545d9
commit f8a9a1576d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 60 additions and 91 deletions

View file

@ -17,9 +17,9 @@
"fix:format": "prettier --write \"**/*.{ts,tsx,md,json,css,scss}\""
},
"dependencies": {
"@atlaskit/pragmatic-drag-and-drop": "catalog:",
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "catalog:",
"@atlaskit/pragmatic-drag-and-drop-hitbox": "catalog:",
"@atlaskit/pragmatic-drag-and-drop": "catalog:",
"@bprogress/core": "catalog:",
"@headlessui/react": "^1.7.19",
"@intercom/messenger-js-sdk": "^0.0.12",
@ -34,6 +34,7 @@
"@plane/ui": "workspace:*",
"@plane/utils": "workspace:*",
"@popperjs/core": "^2.11.8",
"@posthog/react": "^1.4.0",
"@react-pdf/renderer": "^3.4.5",
"@react-router/node": "^7.9.3",
"@tanstack/react-table": "^8.21.3",
@ -48,11 +49,12 @@
"isbot": "^5.1.31",
"lodash-es": "catalog:",
"lucide-react": "catalog:",
"mobx": "catalog:",
"mobx-react": "catalog:",
"mobx-utils": "catalog:",
"mobx": "catalog:",
"next-themes": "^0.2.1",
"posthog-js": "^1.131.3",
"posthog-js": "^1.255.1",
"react": "catalog:",
"react-color": "^2.19.3",
"react-dom": "catalog:",
"react-dropzone": "^14.2.3",
@ -63,9 +65,8 @@
"react-masonry-component": "^6.3.0",
"react-pdf-html": "^2.1.2",
"react-popper": "^2.3.0",
"react-router-dom": "^7.9.1",
"react-router": "^7.9.1",
"react": "catalog:",
"react-router-dom": "^7.9.1",
"recharts": "^2.12.7",
"serve": "14.2.5",
"smooth-scroll-into-view-if-needed": "^2.0.2",
@ -81,12 +82,12 @@
"@react-router/dev": "^7.9.1",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-color": "^3.0.6",
"@types/react-dom": "catalog:",
"@types/react": "catalog:",
"prettier": "^3.2.5",
"typescript": "catalog:",
"vite-tsconfig-paths": "^5.1.4",
"vite": "catalog:"
"vite": "catalog:",
"vite-tsconfig-paths": "^5.1.4"
}
}