@cratis/components.primereact@4.1.0 declares:
"peerDependencies": { "@cratis/components": "4.1.0", ... }
while its bundled README.md states:
The adapter requires @cratis/components >=4 <5. This range is intentionally bounded to the Components major whose renderer ABI and stable presentation profile it implements.
Those two cannot both be true. The exact pin is what npm/yarn actually enforce, so a consuming application has to pin @cratis/components to 4.1.0 exactly rather than ^4.0.0, and every subsequent Components patch is a lockstep bump of both packages or a peer-dependency error.
Expected: the peer range to match the documented >=4 <5, so the adapter tracks the renderer ABI major it implements rather than one specific release.
If the exact pin is deliberate — e.g. the renderer ABI is not actually stable within the major yet — then the README claim is the thing that is wrong, and saying so explicitly would be more useful than the current contradiction, because it tells adopters to expect a coordinated bump on every release.
Found while migrating Cratis/Stagehand to Components 4 (Cratis/Stagehand#356); we pinned @cratis/components to 4.1.0 exactly to satisfy it.
@cratis/components.primereact@4.1.0declares:while its bundled
README.mdstates:Those two cannot both be true. The exact pin is what npm/yarn actually enforce, so a consuming application has to pin
@cratis/componentsto4.1.0exactly rather than^4.0.0, and every subsequent Components patch is a lockstep bump of both packages or a peer-dependency error.Expected: the peer range to match the documented
>=4 <5, so the adapter tracks the renderer ABI major it implements rather than one specific release.If the exact pin is deliberate — e.g. the renderer ABI is not actually stable within the major yet — then the README claim is the thing that is wrong, and saying so explicitly would be more useful than the current contradiction, because it tells adopters to expect a coordinated bump on every release.
Found while migrating
Cratis/Stagehandto Components 4 (Cratis/Stagehand#356); we pinned@cratis/componentsto4.1.0exactly to satisfy it.