From b615645952969ad614b019b7b38b9e494f2cd828 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 24 Jul 2024 17:07:41 +0300 Subject: [PATCH] docs: fix package names of event bus modules (#8262) * docs: fix package names of event bus modules * fix in config --- .../resources/app/architectural-modules/event/local/page.mdx | 2 +- .../resources/app/architectural-modules/event/redis/page.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/apps/resources/app/architectural-modules/event/local/page.mdx b/www/apps/resources/app/architectural-modules/event/local/page.mdx index 091c85fa3c..59642fa60d 100644 --- a/www/apps/resources/app/architectural-modules/event/local/page.mdx +++ b/www/apps/resources/app/architectural-modules/event/local/page.mdx @@ -23,7 +23,7 @@ The Local Event Bus Module is installed by default in your application. To install Local Event Bus Module, run the following command in the directory of your Medusa application: ```bash npm2yarn -npm install @medusajs/event-local@preview +npm install @medusajs/event-bus-local@preview ``` Next, add the module into the `modules` property of the exported object in `medusa-config.js`: diff --git a/www/apps/resources/app/architectural-modules/event/redis/page.mdx b/www/apps/resources/app/architectural-modules/event/redis/page.mdx index a2544fa51e..dab64a38fd 100644 --- a/www/apps/resources/app/architectural-modules/event/redis/page.mdx +++ b/www/apps/resources/app/architectural-modules/event/redis/page.mdx @@ -25,7 +25,7 @@ In production, it's recommended to use this module. To install Redis Event Bus Module, run the following command in the directory of your Medusa application: ```bash npm2yarn -npm install @medusajs/event-redis@preview +npm install @medusajs/event-bus-redis@preview ``` Next, add the module into the `modules` property of the exported object in `medusa-config.js`: @@ -43,7 +43,7 @@ module.exports = defineConfig({ // ... modules: { [Modules.EVENT_BUS]: { - resolve: "@medusajs/event-redis", + resolve: "@medusajs/event-bus-redis", options: { redisUrl: process.env.EVENTS_REDIS_URL, },