47ng / nuqs

Type-safe search params state manager for React frameworks - Like useState, but stored in the URL query string.
https://nuqs.47ng.com
MIT License
4.86k stars 104 forks source link

fix: Mark framework packages as optional peer dependencies #697

Closed franky47 closed 1 month ago

franky47 commented 1 month ago

TIL: all package managers download and install optionalDependencies. To mark them as optional peer, we need to leverage peerDependenciesMeta.{packageName}.optional: true.

Closes #696.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nuqs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 22, 2024 9:24pm
pkg-pr-new[bot] commented 1 month ago

Open in Stackblitz

pnpm add https://pkg.pr.new/nuqs@697

commit: 31ee7a3

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 2.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: