@authcircuit/bus
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@authcircuit/bus

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.

Purpose

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.

Features

  • 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

Usage

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');

Contributing

Contributions to this package are welcome. Please submit pull requests or issues to the repository, and we will review them promptly.

License

This package is licensed under the MIT License.

Dependencies (3)

Dev Dependencies (8)

Package Sidebar

Install

npm i @authcircuit/bus

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

20 kB

Total Files

30

Last publish

Collaborators

  • jyotirmay