Closed nezouse closed 1 month ago
Thanks, I'm going to try and set up each framework as a peerDependency
with peerDependencyMeta.*.optional: true
, see if it helps. See #697 for tracking.
Edit: looks like it worked, it only hoisted react
(which isn't marked as optional, I think that one's OK).
I also need to test with NPM, Yarn & Bun.
Interestingly, only yarn v1 (I haven't tested other versions) complained about React being missing from the package.json, and didn't install it.
:tada: This issue has been resolved in version 2.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Context
What's your version of
nuqs
?Description
After adding nuqs to project with pnpm both next and remix (react-router) are installed. Usually you use only one of them. The issues appears with fresh pnpm package without any modifications.
Reproduction
https://github.com/nezouse/nuqs-pnpm-repro
Steps to reproduce the behavior:
Just take a look at pnpm-lock.yaml or:
To create a repro i did: