Skip to content

Commit

Permalink
fix: Mark framework packages as optional peer dependencies (#697)
Browse files Browse the repository at this point in the history
* fix: Mark framework packages as optional peer dependencies

* chore: Fix Sherif
  • Loading branch information
franky47 authored Oct 22, 2024
1 parent cd5bec1 commit df9e834
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
17 changes: 13 additions & 4 deletions packages/nuqs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,26 @@
"test:size": "size-limit",
"prepack": "./scripts/prepack.sh"
},
"peerDependencies": {
"react": ">= 18.2.0"
},
"dependencies": {
"mitt": "^3.0.1"
},
"optionalDependencies": {
"peerDependencies": {
"@remix-run/react": ">= 2",
"next": ">= 14.2.0",
"react": ">= 18.2.0",
"react-router-dom": ">= 6"
},
"peerDependenciesMeta": {
"@remix-run/react": {
"optional": true
},
"next": {
"optional": true
},
"react-router-dom": {
"optional": true
}
},
"devDependencies": {
"@microsoft/api-extractor": "^7.47.9",
"@remix-run/react": "^2.12.1",
Expand Down
20 changes: 9 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit df9e834

Please sign in to comment.