@triggery/dom 0.1.1 → 0.1.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @triggery/dom
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - f23e155: Filled out the quick-start sections in the npm package READMEs that adopters land on first.
8
+
9
+ - `@triggery/core` README now contains a three-tab quick-start (React / Solid / Vue) with concrete `pnpm add` commands and runnable code, plus pointers to the per-binding README for the full walkthrough.
10
+ - `@triggery/react` README — was a stub. Now has the full four-file scenario (trigger + provider + Chat + Toast) ready to copy-paste, exactly mirroring the Solid and Vue examples.
11
+
12
+ Linked-bundle bump so the binding READMEs stay aligned with the core release; no code or API changes.
13
+
14
+ - 3385f5b: Every package README now ends with a tailored **Related packages** section and a consistent `## License` footer.
15
+
16
+ - Adapter packages (`zustand`, `redux`, `jotai`, `mobx`, `reatom`, `signals`, `query`) link to `core` + `react` (required peers) plus 2-3 alternative adapters so adopters can swap them out without re-reading the whole repo.
17
+ - Event-source packages (`dom`, `socket`) cross-link.
18
+ - DevTools packages (`devtools-redux`, `devtools-panel`, `devtools-bridge`) cross-link.
19
+ - Tooling packages (`eslint-plugin`, `codemod`, `cli`) cross-link.
20
+ - Bindings (`react`, `solid`, `vue`) link to each other so users mid-migration know there's a sibling with the same hook API.
21
+ - `@triggery/core/src/index.ts` JSDoc header had stale wording ("orchestration runtime for React business logic") — replaced with framework-agnostic phrasing matching the README.
22
+
23
+ No code or API changes. Drop-in patch.
24
+
25
+ - Updated dependencies [f23e155]
26
+ - Updated dependencies [3385f5b]
27
+ - @triggery/core@0.1.2
28
+ - @triggery/react@0.1.2
29
+
3
30
  ## 0.1.1
4
31
 
5
32
  ### Patch Changes
package/README.md CHANGED
@@ -67,6 +67,14 @@ All three hooks attach in `useEffect` (commit phase, StrictMode-safe) and detach
67
67
 
68
68
  The trigger's event payload type defines what `mapPayload` should produce. If `mapPayload` is omitted, the raw DOM event / observer entry is forwarded unchanged.
69
69
 
70
+ ## Related packages
71
+
72
+ - [`@triggery/core`](https://www.npmjs.com/package/@triggery/core) — Required peer.
73
+ - [`@triggery/react`](https://www.npmjs.com/package/@triggery/react) — Required peer — these are React hooks.
74
+ - [`@triggery/socket`](https://www.npmjs.com/package/@triggery/socket) — Alternative event source: socket.io / native WebSocket.
75
+
76
+ See the [full package list](https://github.com/triggeryjs/triggery#packages) in the repo README.
77
+
70
78
  ## License
71
79
 
72
- MIT
80
+ MIT © Aleksey Skhomenko
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triggery/dom",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "DOM adapters for Triggery — pipe addEventListener, ResizeObserver and IntersectionObserver into triggers",
5
5
  "license": "MIT",
6
6
  "author": "Aleksey Skhomenko",
@@ -55,8 +55,8 @@
55
55
  },
56
56
  "peerDependencies": {
57
57
  "react": ">=18.0.0",
58
- "@triggery/core": "0.1.1",
59
- "@triggery/react": "0.1.1"
58
+ "@triggery/core": "0.1.2",
59
+ "@triggery/react": "0.1.2"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@testing-library/react": "^16.3.2",
@@ -67,8 +67,8 @@
67
67
  "tsup": "^8.5.1",
68
68
  "typescript": "^6.0.3",
69
69
  "vitest": "^4.1.6",
70
- "@triggery/core": "0.1.1",
71
- "@triggery/react": "0.1.1"
70
+ "@triggery/core": "0.1.2",
71
+ "@triggery/react": "0.1.2"
72
72
  },
73
73
  "scripts": {
74
74
  "build": "tsup",