Skip to content

Commit

Permalink
fix: make @prismicio/client a peer dependency (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore authored Apr 17, 2024
1 parent bd7f977 commit 99d2b67
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ JavaScript client to interact with the [Prismic Custom Types API][prismic-custom
## Install

```bash
npm install @prismicio/custom-types-client
npm install @prismicio/custom-types-client @prismicio/client
```

## Documentation
Expand Down
8 changes: 5 additions & 3 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
"unit": "vitest run --coverage",
"unit:watch": "vitest watch"
},
"dependencies": {
"@prismicio/client": "^7.3.1"
},
"devDependencies": {
"@prismicio/mock": "^0.3.1",
"@size-limit/preset-small-lib": "^11.0.2",
Expand All @@ -68,6 +65,9 @@
"vite-plugin-sdk": "^0.1.2",
"vitest": "^1.2.2"
},
"peerDependencies": {
"@prismicio/client": ">=7"
},
"engines": {
"node": ">=14.15.0"
},
Expand Down

0 comments on commit 99d2b67

Please sign in to comment.