From f9ed21243161b9fa7fc819ec49638f4bde6499ff Mon Sep 17 00:00:00 2001 From: Thibaut Patel Date: Wed, 23 Mar 2022 11:22:36 +0100 Subject: [PATCH] Added the missing requires to the `stripe` package refs https://github.com/TryGhost/Team/issues/1437 - This enables this package to declare the version of all its dependencies - It avoids using a different `@tryghost/domain-events` version, which ends up creating a new underlying EventEmitter than the one used with the other packages in this monorepo. - The long term fix to avoid to have multiple EventEmitters is to make domain-events an injected dependency, so that it's only a dependency of Ghost core. --- ghost/stripe/package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ghost/stripe/package.json b/ghost/stripe/package.json index 0132606f49..7520d81dc8 100644 --- a/ghost/stripe/package.json +++ b/ghost/stripe/package.json @@ -27,8 +27,12 @@ }, "dependencies": { "@tryghost/debug": "^0.1.4", + "@tryghost/domain-events": "^0.1.9", "@tryghost/errors": "1.2.5", + "@tryghost/logging": "^2.0.5", + "@tryghost/member-events": "^0.4.1", "leaky-bucket": "^2.2.0", + "lodash": "^4.17.21", "stripe": "^8.174.0" } }