@antelopejs/rethinkdb 0.0.1 → 0.1.0
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 +16 -6
- package/package.json +20 -5
package/README.md
CHANGED
|
@@ -8,17 +8,27 @@
|
|
|
8
8
|
|
|
9
9
|
A complete RethinkDB client module that implements the RethinkDB and Database interfaces for AntelopeJS.
|
|
10
10
|
|
|
11
|
-
For detailed documentation on the RethinkDB interfaces, please refer to:
|
|
12
|
-
|
|
13
|
-
- [RethinkDB Interface](https://github.com/AntelopeJS/interface-rethinkdb)
|
|
14
|
-
- [Database Interface](https://github.com/AntelopeJS/interface-database)
|
|
15
|
-
|
|
16
11
|
## Installation
|
|
17
12
|
|
|
18
13
|
```bash
|
|
19
14
|
ajs project modules add @antelopejs/rethinkdb
|
|
20
15
|
```
|
|
21
16
|
|
|
17
|
+
## Interfaces
|
|
18
|
+
|
|
19
|
+
This module implements two key interfaces:
|
|
20
|
+
|
|
21
|
+
- **RethinkDB Interface**: Provides direct RethinkDB operations and connection management
|
|
22
|
+
- **Database Interface**: Offers a standardized database abstraction layer
|
|
23
|
+
|
|
24
|
+
Both interfaces can be used independently or together depending on your application's needs. The interfaces are installed separately to maintain modularity and minimize dependencies.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
| Name | Install command | |
|
|
28
|
+
| ------------- | --------------------------------------- | ------------------------------------------------------------------ |
|
|
29
|
+
| RethinkDB | `ajs module imports add rethinkdb` | [Documentation](https://github.com/AntelopeJS/interface-rethinkdb) |
|
|
30
|
+
| Database | `ajs module imports add database` | [Documentation](https://github.com/AntelopeJS/interface-database) |
|
|
31
|
+
|
|
22
32
|
## Overview
|
|
23
33
|
|
|
24
34
|
The AntelopeJS RethinkDB module provides functionality for interacting with RethinkDB:
|
|
@@ -73,4 +83,4 @@ The module supports two connection methods:
|
|
|
73
83
|
|
|
74
84
|
## License
|
|
75
85
|
|
|
76
|
-
Apache
|
|
86
|
+
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/rethinkdb",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "RethinkDB module that implements the Database interface of antelopejs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antelopejs",
|
|
@@ -23,13 +23,16 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"packageManager": "pnpm@10.6.5",
|
|
25
25
|
"scripts": {
|
|
26
|
-
"dev": "ajs project run -w -p playground",
|
|
27
26
|
"build": "tsc",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
27
|
+
"dev:prepare": "cd playground && ajs module imports update",
|
|
28
|
+
"dev": "ajs project run -w -p playground",
|
|
30
29
|
"format": "prettier --write .",
|
|
30
|
+
"generate": "ajs module exports generate",
|
|
31
31
|
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
|
32
32
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
33
|
+
"prepack": "pnpm run build",
|
|
34
|
+
"prepare": "ajs module imports update",
|
|
35
|
+
"release": "pnpm run lint && pnpm run test && pnpm run prepack && release-it",
|
|
33
36
|
"test": "echo \"No test specified\""
|
|
34
37
|
},
|
|
35
38
|
"antelopeJs": {
|
|
@@ -38,7 +41,19 @@
|
|
|
38
41
|
"core@beta",
|
|
39
42
|
"database@beta"
|
|
40
43
|
],
|
|
41
|
-
"importsOptional": []
|
|
44
|
+
"importsOptional": [],
|
|
45
|
+
"defaultConfig": {
|
|
46
|
+
"pool": {
|
|
47
|
+
"pool": true,
|
|
48
|
+
"cursor": false,
|
|
49
|
+
"silent": true,
|
|
50
|
+
"user": "admin",
|
|
51
|
+
"password": "",
|
|
52
|
+
"discovery": true,
|
|
53
|
+
"host": "127.0.0.1",
|
|
54
|
+
"port": "28015"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
42
57
|
},
|
|
43
58
|
"dependencies": {
|
|
44
59
|
"reflect-metadata": "^0.2.2",
|