@primate/jsondb 0.1.0 → 0.2.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/lib/private/JSONDB.d.ts +1 -1
- package/package.json +5 -5
package/lib/private/JSONDB.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { Dict, PartialDict } from "@rcompat/type";
|
|
|
3
3
|
type Tables = PartialDict<Dict[]>;
|
|
4
4
|
declare const config_schema: import("pema").ObjectType<import("pema").NormalizeSchemaObject<{
|
|
5
5
|
readonly directory: import("pema").DefaultType<import("pema").StringType, "data">;
|
|
6
|
-
}>, {
|
|
6
|
+
}>, undefined, {
|
|
7
7
|
directory: string;
|
|
8
8
|
}>;
|
|
9
9
|
export default class JSONDB implements DB<Tables> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primate/jsondb",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "JSON file databases for Primate",
|
|
5
5
|
"homepage": "https://primate.run/docs/database/jsondb",
|
|
6
6
|
"bugs": "https://github.com/primate-run/primate/issues",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"@rcompat/assert": "^0.13.0",
|
|
21
21
|
"@rcompat/fs": "^0.33.2",
|
|
22
22
|
"@rcompat/is": "^0.11.0",
|
|
23
|
-
"@primate/core": "^0.
|
|
23
|
+
"@primate/core": "^0.8.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@rcompat/type": "^0.17.0",
|
|
27
|
-
"pema": "^0.
|
|
27
|
+
"pema": "^0.8.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"primate": "^0.
|
|
30
|
+
"primate": "^0.39.0"
|
|
31
31
|
},
|
|
32
32
|
"imports": {
|
|
33
33
|
"#*": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
|
-
"build": "npm run clean &&
|
|
45
|
+
"build": "npm run clean && tsgo",
|
|
46
46
|
"clean": "rm -rf ./lib",
|
|
47
47
|
"lint": "eslint .",
|
|
48
48
|
"test": "npx proby",
|