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
2024-07-24 17:07:41 +03:00
committed by GitHub
parent ccc99b48a0
commit b615645952
2 changed files with 3 additions and 3 deletions

View File

@@ -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`:

View File

@@ -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,
},