## What Harmonize and clean-up yarn test commands convention. ## Why Current strategy to filter integration tests from unit tests was cumbersome to maintain. Also, some packages declared `test:unit` which ended up being an alias to `test`. ## How * Remove all occurrences of `test:unit` * Rename all `test` commands under `/integration-tests/**/package.json` to `test:integration` * In the root `package.json`, rewrite `test:integration` command to run `turbo run test:integration` * In the root `package.json`, remove filtering on the `test` command * Introduce a new `test:integration` task in the Turborepo config.
@medusajs/event-bus-local
Documentation | Website
An open source composable commerce engine built for developers.
Overview
Local Event Bus module for Medusa. When installed, the events system of Medusa is powered by the Node EventEmitter. This module installed by default in new (> v1.8.0) Medusa projects.
The Node EventEmitter is limited to a single process environment. We generally recommend using the @medusajs/event-bus-redis module in a production environment.
Getting started
Install the module:
yarn add @medusajs/event-bus-local
You don't need to add the module to your project configuration as it is the default one. Medusa will try to use it, if no other event buses are installed.
module.exports = {
// ...
modules: [ ... ],
// ...
}
Configuration
The module comes with no configuration options.