Skip to content

Commit 2ac34cf

Browse files
chore: list @types/react as optional peer dep. (#80)
1 parent 226dff5 commit 2ac34cf

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

package-lock.json

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@knighted/jsx",
3-
"version": "1.7.7",
3+
"version": "1.7.8",
44
"description": "Runtime JSX tagged template that renders DOM or React trees anywhere with or without a build step.",
55
"keywords": [
66
"jsx runtime",
@@ -183,11 +183,15 @@
183183
"tar": "^7.5.10"
184184
},
185185
"peerDependencies": {
186+
"@types/react": ">=18",
186187
"jsdom": "*",
187188
"linkedom": "*",
188189
"react": ">=18"
189190
},
190191
"peerDependenciesMeta": {
192+
"@types/react": {
193+
"optional": true
194+
},
191195
"react": {
192196
"optional": true
193197
},

0 commit comments

Comments
 (0)