@web-ts-toolkit/access-router-react 0.45.0 → 0.47.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.
Files changed (2) hide show
  1. package/README.md +21 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -15,7 +15,27 @@ Peer dependencies:
15
15
  - `react ^18 || ^19` — verified by a React 18 lane in this package's own test suite (React 19 remains the primary lane)
16
16
  - `@web-ts-toolkit/access-router-client`
17
17
 
18
- Published builds target `ES2022`. Direct Node consumers should use Node `>=20`; browser apps can bundle the package as long as their toolchain supports ES2022 output.
18
+ Published builds target `ES2022`. Direct Node consumers require Node `>=22`, matching
19
+ the required client and utility packages; the former `>=20` declaration understated
20
+ that dependency floor. Browser apps can bundle with an ES2022-capable toolchain.
21
+
22
+ Compatibility CI runs packed CJS/ESM hook smoke and strict NodeNext/Bundler type
23
+ consumers on **Node 22.0.0**, for React 18 and 19 with matching React types. Build
24
+ and install tooling uses the repository's newer Node pin. The supported lane pins
25
+ React/React DOM 18.3.1 or 19.2.8, Testing Library 16.3.2 and jsdom 26.1.0; it checks
26
+ direct versions and saves resolved dependency trees and lockfiles as CI artifacts.
27
+ Transitive dependencies are recorded per run rather than frozen across runs.
28
+ The package maintainer owns these pins and reviews/bumps them with dependency or
29
+ peer-range changes. A separate floating-range canary is non-blocking.
30
+
31
+ To run the floor check locally after building the package and its dependencies:
32
+
33
+ ```sh
34
+ ACCESS_ROUTER_REACT_CONSUMER_NODE=/absolute/path/to/node-22.0.0 \
35
+ ACCESS_ROUTER_REACT_EXPECT_NODE=22.0.0 \
36
+ ACCESS_ROUTER_REACT_REPORT_DIR=/tmp/react-consumer-reports \
37
+ pnpm --filter @web-ts-toolkit/access-router-react test:packed-consumer
38
+ ```
19
39
 
20
40
  ## Factory
21
41
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@web-ts-toolkit/access-router-react",
3
3
  "description": "React hooks for @web-ts-toolkit/access-router-client model services",
4
4
  "homepage": "https://web-ts-toolkit.pages.dev/docs/packages/access-router-react",
5
- "version": "0.45.0",
5
+ "version": "0.47.0",
6
6
  "keywords": [
7
7
  "react",
8
8
  "hooks",
@@ -28,10 +28,10 @@
28
28
  }
29
29
  },
30
30
  "engines": {
31
- "node": ">=20"
31
+ "node": ">=22"
32
32
  },
33
33
  "peerDependencies": {
34
- "@web-ts-toolkit/access-router-client": "0.45.0",
34
+ "@web-ts-toolkit/access-router-client": "0.47.0",
35
35
  "react": "^18.0.0 || ^19.0.0"
36
36
  },
37
37
  "files": [