@oimdb/react 2.2.0 → 3.0.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 +266 -133
- package/dist/index.cjs +340 -727
- package/dist/index.d.cts +53 -46
- package/dist/index.d.ts +53 -46
- package/dist/index.js +326 -699
- package/llms.txt +4156 -0
- package/package.json +46 -36
package/package.json
CHANGED
|
@@ -1,67 +1,77 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oimdb/react",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "React
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "React bindings for @oimdb/core: hooks that subscribe through OIMChannel and read the slots it wakes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"sideEffects": false,
|
|
10
|
-
"publishConfig": {
|
|
11
|
-
"access": "public"
|
|
12
|
-
},
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/abaikov/oimdb.git"
|
|
16
|
-
},
|
|
17
|
-
"bugs": {
|
|
18
|
-
"url": "https://github.com/abaikov/oimdb/issues"
|
|
19
|
-
},
|
|
20
|
-
"homepage": "https://github.com/abaikov/oimdb#readme",
|
|
21
10
|
"exports": {
|
|
22
11
|
".": {
|
|
23
12
|
"types": "./dist/index.d.ts",
|
|
24
13
|
"import": "./dist/index.js",
|
|
25
|
-
"require":
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/index.d.cts",
|
|
16
|
+
"default": "./dist/index.cjs"
|
|
17
|
+
}
|
|
26
18
|
}
|
|
27
19
|
},
|
|
20
|
+
"oimdbRelease": {
|
|
21
|
+
"publish": true
|
|
22
|
+
},
|
|
28
23
|
"scripts": {
|
|
29
|
-
"build": "tsup
|
|
24
|
+
"build": "tsup src/index.ts --dts --format esm,cjs --clean --external react",
|
|
30
25
|
"test": "jest",
|
|
31
|
-
"type-check": "tsc --noEmit",
|
|
26
|
+
"type-check": "tsc --noEmit -p tsconfig.all.json",
|
|
32
27
|
"clean": "rimraf dist",
|
|
28
|
+
"prepack": "node -e \"const {copyFileSync,existsSync}=require('fs');if(existsSync('../../llms.txt'))copyFileSync('../../llms.txt','llms.txt')\"",
|
|
33
29
|
"prepublishOnly": "npm run type-check && npm test && npm run build"
|
|
34
30
|
},
|
|
35
|
-
"files": [
|
|
36
|
-
"dist"
|
|
37
|
-
],
|
|
38
31
|
"peerDependencies": {
|
|
39
|
-
"
|
|
40
|
-
"
|
|
32
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
33
|
+
"@oimdb/core": "^4.0.0"
|
|
34
|
+
},
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"author": "Andrei Baikov",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "git+https://github.com/abaikov/oimdb.git"
|
|
40
|
+
},
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/abaikov/oimdb/issues"
|
|
41
43
|
},
|
|
44
|
+
"homepage": "https://github.com/abaikov/oimdb#readme",
|
|
45
|
+
"keywords": [
|
|
46
|
+
"oimdb",
|
|
47
|
+
"in-memory",
|
|
48
|
+
"database",
|
|
49
|
+
"reactive",
|
|
50
|
+
"typescript",
|
|
51
|
+
"type-safe",
|
|
52
|
+
"indices",
|
|
53
|
+
"subscriptions",
|
|
54
|
+
"event-processing",
|
|
55
|
+
"state-management"
|
|
56
|
+
],
|
|
42
57
|
"devDependencies": {
|
|
43
58
|
"@testing-library/react": "^14.3.1",
|
|
44
59
|
"@types/jest": "^29.5.8",
|
|
45
60
|
"@types/react": "^18.0.0",
|
|
46
61
|
"jest": "^29.7.0",
|
|
47
62
|
"jest-environment-jsdom": "^29.7.0",
|
|
48
|
-
"react": "^18.0.0",
|
|
49
63
|
"rimraf": "^5.0.5",
|
|
50
64
|
"ts-jest": "^29.1.1",
|
|
51
65
|
"tsup": "^8.5.0",
|
|
52
|
-
"typescript": "^5.2.2"
|
|
66
|
+
"typescript": "^5.2.2",
|
|
67
|
+
"react": "^18.0.0"
|
|
53
68
|
},
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
"selection",
|
|
63
|
-
"external-storage"
|
|
64
|
-
],
|
|
65
|
-
"author": "Andrei Baikov",
|
|
66
|
-
"license": "MIT"
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"access": "public"
|
|
71
|
+
},
|
|
72
|
+
"files": [
|
|
73
|
+
"dist",
|
|
74
|
+
"llms.txt",
|
|
75
|
+
"README.md"
|
|
76
|
+
]
|
|
67
77
|
}
|