@cratis/components.conformance 4.14.0 → 4.14.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 +7 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -11,15 +11,15 @@ The package shares the Components repository release version while renderer ABI
|
|
|
11
11
|
separate protocol version. It is neither an application runtime dependency nor an adapter discovery
|
|
12
12
|
mechanism.
|
|
13
13
|
|
|
14
|
-
> **
|
|
15
|
-
>
|
|
16
|
-
>
|
|
17
|
-
> commands below.
|
|
14
|
+
> **Versions:** each release of `@cratis/components.conformance` is published at the same version as
|
|
15
|
+
> `@cratis/components` and declares a peer on exactly that version. Install it at the version of
|
|
16
|
+
> `@cratis/components` the adapter is tested against.
|
|
18
17
|
|
|
19
18
|
## Requirements
|
|
20
19
|
|
|
21
20
|
- Node.js 23 or newer.
|
|
22
|
-
- `@cratis/components
|
|
21
|
+
- `@cratis/components` at the same version as this package (the source manifest declares `>=4 <5`;
|
|
22
|
+
the release step pins the published peer to the exact release version).
|
|
23
23
|
- React and ReactDOM 19.
|
|
24
24
|
- A DOM test environment. The runner defaults to `globalThis.document`; plain Node without a
|
|
25
25
|
supplied `Document` deliberately fails the `runtime.domAvailable` check.
|
|
@@ -36,7 +36,8 @@ npm install --save-dev \
|
|
|
36
36
|
## Run it in a DOM test
|
|
37
37
|
|
|
38
38
|
This Vitest example uses jsdom explicitly and passes its `document` to make the environment
|
|
39
|
-
requirement visible:
|
|
39
|
+
requirement visible. `@example/components-adapter` stands for your adapter package: it exports the
|
|
40
|
+
library manifest and must export its `package.json`.
|
|
40
41
|
|
|
41
42
|
```tsx
|
|
42
43
|
// @vitest-environment jsdom
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cratis/components.conformance",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.1",
|
|
4
4
|
"description": "Programmatic conformance evidence for Cratis Components renderer adapter authors.",
|
|
5
5
|
"author": "Cratis",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"axe-core": "^4.13.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@cratis/components": "4.14.
|
|
50
|
+
"@cratis/components": "4.14.1",
|
|
51
51
|
"react": "^19.0.0",
|
|
52
52
|
"react-dom": "^19.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@cratis/arc": "22.16.0",
|
|
56
56
|
"@cratis/arc.react": "22.16.0",
|
|
57
|
-
"@cratis/components": "4.14.
|
|
57
|
+
"@cratis/components": "4.14.1",
|
|
58
58
|
"@cratis/fundamentals": "7.19.2",
|
|
59
59
|
"react": "^19.3.0",
|
|
60
60
|
"react-dom": "^19.3.0",
|