Skip to content

Commit

Permalink
feat: support modern npm peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jan 17, 2023
1 parent 1d57a5c commit b06546a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,12 +443,6 @@ We have plans for optimizations in the roadmap.
> [See it live](https://next.sanity.build/studio)
In order to use this feature, you need to install the following peer dependencies:
```sh
npm install @sanity/ui react-is sanity styled-components
```
The latest version of Sanity Studio allows you to embed a near-infinitely configurable content editing interface into any React application. This opens up many possibilities:
- Any service that hosts Next.js apps can now host your Studio.
Expand Down
19 changes: 1 addition & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-sanity",
"version": "4.0.6",
"version": "4.1.0-peer.0",
"description": "Sanity.io toolkit for Next.js",
"keywords": [
"sanity",
Expand Down Expand Up @@ -201,23 +201,6 @@
"sanity": "^3",
"styled-components": "^5.2"
},
"peerDependenciesMeta": {
"@sanity/icons": {
"optional": true
},
"@sanity/types": {
"optional": true
},
"@sanity/ui": {
"optional": true
},
"sanity": {
"optional": true
},
"styled-components": {
"optional": true
}
},
"engines": {
"node": ">=16"
}
Expand Down

0 comments on commit b06546a

Please sign in to comment.