@cdt5058/json-render-uswds 0.1.0 → 0.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @cdt5058/json-render-uswds
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8aee03d: Fix install documentation and peer dependency declarations.
8
+
9
+ - Declare `@uswds/uswds` as an optional `peerDependency` so the existing `peerDependenciesMeta.optional` flag is no longer inert.
10
+ - Rewrite the README `Install` section to match reality: list the actual peers users must provide (`react`, `react-dom`, `@uswds/uswds`, `zod`), note the `Node.js >=22.14.0` and React 19 requirements, and clarify that `@json-render/core` / `@json-render/react` are pulled in as transitive runtime dependencies.
11
+
3
12
  ## 0.1.0
4
13
 
5
14
  ### Minor Changes
package/README.md CHANGED
@@ -27,10 +27,14 @@ Then open [http://localhost:3000](http://localhost:3000).
27
27
 
28
28
  ## Install
29
29
 
30
+ **Prerequisites:** Node.js `>=22.14.0`, React `^19.0.0`, and `zod ^4.0.0`.
31
+
30
32
  ```bash
31
- npm install @cdt5058/json-render-uswds @json-render/core @json-render/react @uswds/uswds
33
+ npm install @cdt5058/json-render-uswds react react-dom @uswds/uswds zod
32
34
  ```
33
35
 
36
+ `@json-render/core` and `@json-render/react` are pulled in automatically as runtime dependencies — you do not need to install them yourself. `@uswds/uswds` is an optional peer (only needed if you want to import the CSS from the npm package rather than the CDN).
37
+
34
38
  ## Import USWDS CSS
35
39
 
36
40
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdt5058/json-render-uswds",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "author": "ctrimm",
5
5
  "description": "U.S. Web Design System (USWDS) component library for @json-render/core. JSON becomes accessible, government-compliant React components.",
6
6
  "license": "Apache-2.0",
@@ -82,6 +82,7 @@
82
82
  "zod": "^4.3.6"
83
83
  },
84
84
  "peerDependencies": {
85
+ "@uswds/uswds": "^3.8.0",
85
86
  "react": "^19.0.0",
86
87
  "react-dom": "^19.0.0",
87
88
  "zod": "^4.0.0"