anchordb-angular 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/README.md +18 -1
  2. package/package.json +18 -3
package/README.md CHANGED
@@ -53,5 +53,22 @@ Providers are therefore plain objects that your app passes to its own `NgModule`
53
53
 
54
54
  ## Status
55
55
 
56
- **0.1.0.** The Capacitor adapter is typechecked but **not executed** — it needs a device. The
56
+ **0.2.1.** The Capacitor adapter is typechecked but **not executed** — it needs a device. The
57
57
  IndexedDB adapter is covered by the shared storage conformance suite. MIT.
58
+
59
+ ## The AnchorDB family
60
+
61
+ Five packages. **Only `anchordb` is required** — the rest exist so that an offline-only app never
62
+ has to download Express, and an Express server never has to download React.
63
+
64
+ | Package | What it is | Runs where |
65
+ | --- | --- | --- |
66
+ | [`anchordb`](https://www.npmjs.com/package/anchordb) | The database — schema, models, queries, aggregation, optional sync | phone · browser · Node |
67
+ | [`anchordb-react`](https://www.npmjs.com/package/anchordb-react) | React and React Native hooks | the device |
68
+ | **`anchordb-angular`** *(this package)* | Angular / Ionic module, DI and RxJS observables | the device |
69
+ | [`anchordb-sync-server`](https://www.npmjs.com/package/anchordb-sync-server) | Server half of sync — Express, NestJS, Next.js | your backend |
70
+ | [`anchordb-relay`](https://www.npmjs.com/package/anchordb-relay) | Dev relay for the Anchor Lens inspector | your laptop |
71
+
72
+ Each one needs a different third-party framework as a peer dependency, and npm resolves those per
73
+ package rather than per import — which is why they are not one package. Full reasoning and API
74
+ reference: [github.com/knnadeera/anchordb](https://github.com/knnadeera/anchordb).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anchordb-angular",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -32,7 +32,7 @@
32
32
  "prepublishOnly": "npm run typecheck && npm run build"
33
33
  },
34
34
  "dependencies": {
35
- "anchordb": "^0.2.0"
35
+ "anchordb": "^0.2.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "rimraf": "^6.0.1"
@@ -65,5 +65,20 @@
65
65
  "engines": {
66
66
  "node": ">=20"
67
67
  },
68
- "author": "Nisala Nadeera <knnadeera@gmail.com>"
68
+ "author": "Nisala Nadeera <knnadeera@gmail.com>",
69
+ "keywords": [
70
+ "anchordb",
71
+ "angular",
72
+ "ionic",
73
+ "rxjs",
74
+ "capacitor",
75
+ "offline-first",
76
+ "local-first",
77
+ "mongodb",
78
+ "mongoose",
79
+ "database",
80
+ "dependency-injection",
81
+ "observable",
82
+ "nosql"
83
+ ]
69
84
  }