docs: fix package names of event bus modules (#8262)

* docs: fix package names of event bus modules

* fix in config
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-07-24 17:07:41 +03:00
1 parent ccc99b48a0
commit b615645952
2 files changed
+3 -3

No files matched your search

@@ -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: To install Local Event Bus Module, run the following command in the directory of your Medusa application:
```bash npm2yarn ```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`: Next, add the module into the `modules` property of the exported object in `medusa-config.js`:
@@ -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: To install Redis Event Bus Module, run the following command in the directory of your Medusa application:
```bash npm2yarn ```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`: 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: {
[Modules.EVENT_BUS]: { [Modules.EVENT_BUS]: {
resolve: "@medusajs/event-redis", resolve: "@medusajs/event-bus-redis",
options: { options: {
redisUrl: process.env.EVENTS_REDIS_URL, redisUrl: process.env.EVENTS_REDIS_URL,
}, },