Skip to content

Commit

Permalink
feat: make spotlight an optional peer dep (#50)
Browse files Browse the repository at this point in the history
Just a proposal... let me know if there should be a readme note

---------

Co-authored-by: Sebastien Vanvelthem <[email protected]>
  • Loading branch information
belgattitude and Sebastien Vanvelthem authored Oct 2, 2024
1 parent 566918c commit e0807d1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .changeset/beige-countries-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@builder.io/react-hydration-overlay": minor
---

Mark @spotlightjs/spotlight as an optional peer dependency

If you enable spotlight integration, please install the dependency explicitly
in your project.

```bash
npm install @spotlightjs/spotlight --dev
yarn add @spotlightjs/spotlight --dev
pnpm add @spotlightjs/spotlight --dev
```

5 changes: 5 additions & 0 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
"webpack": ">=4",
"@spotlightjs/spotlight": "^1.2.11"
},
"peerDependenciesMeta": {
"@spotlightjs/spotlight": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.3",
"@types/beautify": "^0.0.3",
Expand Down

0 comments on commit e0807d1

Please sign in to comment.