fix: mark posthog-node as a peer dependency (#12539)

Since the runtime of the `@medusajs/analytics-posthog` relies on `posthog-node` package. It should be either installed as a dependency or a peerDependency that will be satisfied by the user project.

In this PR, I have added it as a peer dependency
This commit is contained in:
Harminder Virk
2025-05-20 14:51:51 +00:00
committed by GitHub
parent 41054a3419
commit d9fdabe96d
4 changed files with 16 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
---
"@medusajs/medusa": patch
"@medusajs/analytics-posthog": patch
---
fix: mark posthog-node as a peer dependency