@triggery/react 0.1.2 → 0.9.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.
- package/README.md +4 -0
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -141,6 +141,10 @@ Read the latest snapshot of a trigger, or subscribe to the runtime's inspector r
|
|
|
141
141
|
|
|
142
142
|
Returns `{ useFooEvent, useBarCondition, useBazAction }` named hooks derived from the trigger schema — purely for code readability in larger files.
|
|
143
143
|
|
|
144
|
+
## Documentation
|
|
145
|
+
|
|
146
|
+
Full documentation, recipes and API reference at [https://triggeryjs.github.io/packages/react/](https://triggeryjs.github.io/packages/react/).
|
|
147
|
+
|
|
144
148
|
## Related packages
|
|
145
149
|
|
|
146
150
|
- [`@triggery/core`](https://www.npmjs.com/package/@triggery/core) — Required peer — the runtime this binding wraps.
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@triggery/react",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "React 18+/19 bindings for Triggery — useEvent / useCondition / useAction / useInlineTrigger / useInspect hooks + <TriggerRuntimeProvider> / <TriggerScope>. Zero runtime dependencies.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Aleksey Skhomenko",
|
|
7
|
-
"homepage": "https://triggeryjs.github.io
|
|
7
|
+
"homepage": "https://triggeryjs.github.io",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/triggeryjs/triggery.git",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": ">=18.0.0",
|
|
57
|
-
"@triggery/core": "0.1
|
|
57
|
+
"@triggery/core": "0.9.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@testing-library/react": "^16.3.2",
|
|
@@ -65,8 +65,10 @@
|
|
|
65
65
|
"tsup": "^8.5.1",
|
|
66
66
|
"typescript": "^6.0.3",
|
|
67
67
|
"vitest": "^4.1.6",
|
|
68
|
-
"@triggery/core": "0.1
|
|
68
|
+
"@triggery/core": "0.9.1"
|
|
69
69
|
},
|
|
70
|
+
"llms": "https://triggeryjs.github.io/llms.txt",
|
|
71
|
+
"llmsFull": "https://triggeryjs.github.io/llms-full.txt",
|
|
70
72
|
"scripts": {
|
|
71
73
|
"build": "tsup",
|
|
72
74
|
"dev": "tsup --watch",
|