The @authcircuit/bus package serves as the central hub for the @authcircuit/core package, inspired by the concept of a data bus. It provides a shared database schema and migration files, enabling seamless development of plugins and maintenance of the entire project.
The primary goal of this package is to decouple the database schema and migration files from the core package, allowing for greater flexibility and modularity. By depending on this package, developers can easily create plugins that interact with the core package's database, without having to worry about schema inconsistencies or migration conflicts.
- Shared database schema for the @authcircuit/core package
- Migration files for easy database versioning and updates
- Enables development of plugins that interact with the core package's database
- Simplifies maintenance of the entire project by providing a single source of truth for the database schema
To use this package, simply install it as a dependency in your project:
npm install @authcircuit/bus
Then, import the package in your plugin or application code:
const { dbSchema, migrations } = require('@authcircuit/bus');
Contributions to this package are welcome. Please submit pull requests or issues to the repository, and we will review them promptly.
This package is licensed under the MIT License.