Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ The repository is organized as a monorepo with the following packages:
`npm init @fedify`.
- *packages/koa/*: Koa integration (@fedify/koa) for Fedify.
- *packages/lint/*: Linting utilities (@fedify/lint) for Fedify.
- *packages/mysql/*: MySQL/MariaDB drivers (@fedify/mysql) for Fedify.
Comment thread
dahlia marked this conversation as resolved.
- *packages/postgres/*: PostgreSQL drivers (@fedify/postgres) for Fedify.
- *packages/redis/*: Redis drivers (@fedify/redis) for Fedify.
- *packages/relay/*: ActivityPub relay support (@fedify/relay) for Fedify.
Expand Down
25 changes: 25 additions & 0 deletions packages/init/src/json/mq.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,31 @@
"POSTGRES_URL": "postgres://postgres@localhost:5432/postgres"
}
},
"mysql": {
"label": "MySQL/MariaDB",
"packageManagers": [
"deno",
"bun",
"npm",
"yarn",
"pnpm"
],
"dependencies": {
"npm:mysql2": "^3.18.0"
},
"imports": {
"@fedify/mysql": {
"MysqlMessageQueue": "MysqlMessageQueue"
},
"mysql2/promise": {
"default": "mysql"
}
},
"object": "new MysqlMessageQueue(mysql.createPool(process.env.MYSQL_URL))",
"env": {
"MYSQL_URL": "mysql://root@localhost/fedify"
}
},
Comment thread
dahlia marked this conversation as resolved.
"amqp": {
"label": "AMQP (e.g., RabbitMQ)",
"packageManagers": [
Expand Down
Loading