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:
@@ -140,6 +140,7 @@
|
||||
"@opentelemetry/sdk-trace-node": "^2.0.0",
|
||||
"@swc/core": "1.5.7",
|
||||
"awilix": "^8.0.1",
|
||||
"posthog-node": "^4.17.1",
|
||||
"react-dom": "^18.0.0",
|
||||
"yalc": "1.0.0-pre.53"
|
||||
},
|
||||
@@ -159,6 +160,9 @@
|
||||
"@swc/core": {
|
||||
"optional": true
|
||||
},
|
||||
"posthog-node": {
|
||||
"optional": true
|
||||
},
|
||||
"react-dom": {
|
||||
"optional": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user