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:
@@ -34,7 +34,8 @@
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@medusajs/framework": "2.8.2"
|
||||
"@medusajs/framework": "2.8.2",
|
||||
"posthog-node": "^4.17.1"
|
||||
},
|
||||
"keywords": [
|
||||
"medusa-plugin",
|
||||
|
||||
Reference in New Issue
Block a user