@antelopejs/redis 1.1.1 → 1.1.2-next.84.g2449977
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -13
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
<a href="https://github.com/AntelopeJS/antelopejs"><img data-illustration src="./.github/readme/strip.svg" width="100%" alt="PROVIDER · REDIS: part of AntelopeJS, hexagonal architecture beyond your own code. A glowing button reads Star AntelopeJS."></a>
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<a href="https://interfaces.antelopejs.com/docs/redis/introduction"><img data-illustration alt="Documentation" src="https://img.shields.io/badge/Docs-18181B?style=for-the-badge&color=000000"></a>
|
|
4
|
+
|
|
5
|
+
# `@antelopejs/redis`
|
|
6
|
+
|
|
7
|
+
<a href="https://www.npmjs.com/package/@antelopejs/redis"><img data-illustration alt="npm" src="https://img.shields.io/npm/v/@antelopejs/redis?style=for-the-badge&labelColor=000000&color=000000"></a> <a href="./LICENSE"><img data-illustration alt="License" src="https://img.shields.io/npm/l/@antelopejs/redis?style=for-the-badge&labelColor=000000&color=000000"></a> <a href="https://discord.gg/g4pFt6eXqu"><img data-illustration alt="Discord" src="https://img.shields.io/badge/Discord-18181B?logo=discord&style=for-the-badge&color=000000"></a> <a href="https://interfaces.antelopejs.com/docs/redis/introduction"><img data-illustration alt="Documentation" src="https://img.shields.io/badge/Docs-18181B?style=for-the-badge&color=000000"></a> <a href="https://github.com/AntelopeJS/antelopejs"><img data-illustration alt="Star AntelopeJS" src="https://img.shields.io/github/stars/AntelopeJS/antelopejs?label=Star%20AntelopeJS&style=for-the-badge&labelColor=000000&color=000000&logo=github"></a>
|
|
8
|
+
|
|
9
|
+
**The Redis module of AntelopeJS. It connects one shared ioredis client and serves it to the Redis and Redis Scheduler interfaces.**
|
|
10
|
+
|
|
11
|
+
[Documentation](https://interfaces.antelopejs.com/docs/redis/introduction) · [Interfaces](#interfaces) · [All interfaces and providers](https://github.com/AntelopeJS/antelopejs#ecosystem)
|
|
12
|
+
|
|
8
13
|
</div>
|
|
9
14
|
|
|
10
15
|
The Redis module of AntelopeJS. It connects one shared [`ioredis`](https://github.com/redis/ioredis) client and serves it to the Redis and Redis Scheduler interfaces.
|
|
11
16
|
|
|
12
|
-
Part of [AntelopeJS](https://github.com/AntelopeJS/antelopejs), the TypeScript framework where modules depend on contracts and the application chooses the provider. Built by the team behind [AntelopeJS DMS](https://github.com/AntelopeJS/dms).
|
|
13
|
-
|
|
14
17
|
## Interfaces
|
|
15
18
|
|
|
16
19
|
| Interface | Documentation |
|
|
@@ -40,7 +43,7 @@ export default defineConfig({
|
|
|
40
43
|
source: {
|
|
41
44
|
type: "package",
|
|
42
45
|
package: "@antelopejs/redis",
|
|
43
|
-
version: "
|
|
46
|
+
version: "~1.1.1",
|
|
44
47
|
},
|
|
45
48
|
config: {
|
|
46
49
|
url: "redis://localhost:6379",
|
|
@@ -91,11 +94,11 @@ const greeting = await client.get("greeting");
|
|
|
91
94
|
|
|
92
95
|
<!-- antelopejs-docs-compat:start -->
|
|
93
96
|
|
|
94
|
-
| Package | Supported
|
|
95
|
-
| --------------------------------------- |
|
|
96
|
-
| `@antelopejs/interface-core` | `>=0.
|
|
97
|
-
| `@antelopejs/interface-redis` | `>=0.0.
|
|
98
|
-
| `@antelopejs/interface-redis-scheduler` | `>=0.0.
|
|
97
|
+
| Package | Supported | Tested with |
|
|
98
|
+
| --------------------------------------- | ----------------- | ----------- |
|
|
99
|
+
| `@antelopejs/interface-core` | `>=0.5.1 <0.6.0` | `0.5.1` |
|
|
100
|
+
| `@antelopejs/interface-redis` | `>=0.0.10 <0.1.0` | `0.0.10` |
|
|
101
|
+
| `@antelopejs/interface-redis-scheduler` | `>=0.0.12 <0.1.0` | `0.0.12` |
|
|
99
102
|
|
|
100
103
|
<!-- antelopejs-docs-compat:end -->
|
|
101
104
|
|
|
@@ -114,6 +117,24 @@ pnpm test # build, then ajs module test with ioredis-mock
|
|
|
114
117
|
|
|
115
118
|
The tests need no Redis server. Read the [contribution guidelines](CONTRIBUTING.md) before you open a pull request.
|
|
116
119
|
|
|
120
|
+
## Part of AntelopeJS
|
|
121
|
+
|
|
122
|
+
This package belongs to [AntelopeJS](https://github.com/AntelopeJS/antelopejs), the TypeScript framework where modules depend on contracts and the application chooses the provider. The open-source back office [AntelopeJS DMS](https://github.com/AntelopeJS/dms) is built on it.
|
|
123
|
+
|
|
124
|
+
<!-- antelopejs-framework-modules:start -->
|
|
125
|
+
|
|
126
|
+
| Area | Contracts | Providers |
|
|
127
|
+
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
128
|
+
| API | [`interface-api`](https://github.com/AntelopeJS/interface-api) · [`interface-api-util`](https://github.com/AntelopeJS/interface-api-util) · [`interface-data-api`](https://github.com/AntelopeJS/interface-data-api) | [`api`](https://github.com/AntelopeJS/api) |
|
|
129
|
+
| Auth | [`interface-auth`](https://github.com/AntelopeJS/interface-auth) | [`auth-jwt`](https://github.com/AntelopeJS/auth-jwt) |
|
|
130
|
+
| Database | [`interface-database`](https://github.com/AntelopeJS/interface-database) · [`interface-database-decorators`](https://github.com/AntelopeJS/interface-database-decorators) · [`interface-database-catalog`](https://github.com/AntelopeJS/interface-database-catalog) · [`interface-mongodb`](https://github.com/AntelopeJS/interface-mongodb) · [`interface-rethinkdb`](https://github.com/AntelopeJS/interface-rethinkdb) | [`postgres`](https://github.com/AntelopeJS/postgres) · [`mysql`](https://github.com/AntelopeJS/mysql) · [`mongodb`](https://github.com/AntelopeJS/mongodb) · [`rethinkdb`](https://github.com/AntelopeJS/rethinkdb) |
|
|
131
|
+
| Redis | [`interface-redis`](https://github.com/AntelopeJS/interface-redis) · [`interface-redis-scheduler`](https://github.com/AntelopeJS/interface-redis-scheduler) | **`redis`** |
|
|
132
|
+
| Email | [`interface-email`](https://github.com/AntelopeJS/interface-email) | [`nodemailer`](https://github.com/AntelopeJS/nodemailer) · [`brevo`](https://github.com/AntelopeJS/brevo) |
|
|
133
|
+
| File storage | [`interface-file-storage`](https://github.com/AntelopeJS/interface-file-storage) | [`file-storage-local`](https://github.com/AntelopeJS/file-storage-local) · [`file-storage-s3`](https://github.com/AntelopeJS/file-storage-s3) |
|
|
134
|
+
| Payments | [`interface-payment`](https://github.com/AntelopeJS/interface-payment) · [`interface-subscriptions`](https://github.com/AntelopeJS/interface-subscriptions) · [`interface-stripe`](https://github.com/AntelopeJS/interface-stripe) | [`stripe`](https://github.com/AntelopeJS/stripe) · [`mollie`](https://github.com/AntelopeJS/mollie) · [`checkout-com`](https://github.com/AntelopeJS/checkout-com) · [`payment-subscriptions`](https://github.com/AntelopeJS/payment-subscriptions) |
|
|
135
|
+
|
|
136
|
+
<!-- antelopejs-framework-modules:end -->
|
|
137
|
+
|
|
117
138
|
## License
|
|
118
139
|
|
|
119
140
|
[Apache-2.0](LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/redis",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2-next.84.g2449977",
|
|
4
4
|
"description": "Redis module for AntelopeJS, implementing the Redis and Redis Scheduler interfaces with ioredis",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antelopejs",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"suppressions:update": "antelopejs-suppressions --update"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@antelopejs/interface-core": ">=0.
|
|
51
|
-
"@antelopejs/interface-redis": ">=0.0.
|
|
52
|
-
"@antelopejs/interface-redis-scheduler": ">=0.0.
|
|
50
|
+
"@antelopejs/interface-core": ">=0.5.1 <0.6.0",
|
|
51
|
+
"@antelopejs/interface-redis": ">=0.0.10 <0.1.0",
|
|
52
|
+
"@antelopejs/interface-redis-scheduler": ">=0.0.12 <0.1.0",
|
|
53
53
|
"ioredis": "^5.10.1",
|
|
54
54
|
"ioredis-mock": "^8.13.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@antelopejs/core": "
|
|
58
|
-
"@antelopejs/tooling-configs": "
|
|
57
|
+
"@antelopejs/core": "~1.23.3",
|
|
58
|
+
"@antelopejs/tooling-configs": ">=0.8.0 <0.9.0",
|
|
59
59
|
"@types/chai": "^4.3.20",
|
|
60
60
|
"@types/ioredis-mock": "^8.2.7",
|
|
61
61
|
"@types/mocha": "^10.0.10",
|