Skip to content

Commit

Permalink
Add @types/react to devDependencies and optional peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jul 17, 2023
1 parent ca6e73b commit a4f76ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.0",
"@types/node": "*",
"@types/react": "*",
"eslint": "^8.26.0",
"eslint-config-wojtekmaj": "^0.9.0",
"husky": "^8.0.0",
Expand All @@ -73,9 +74,15 @@
"vitest-canvas-mock": "^0.2.2"
},
"peerDependencies": {
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"publishConfig": {
"access": "public",
"provenance": true
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ __metadata:
"@testing-library/react": ^14.0.0
"@testing-library/user-event": ^14.4.0
"@types/node": "*"
"@types/react": "*"
clsx: ^2.0.0
eslint: ^8.26.0
eslint-config-wojtekmaj: ^0.9.0
Expand All @@ -898,8 +899,12 @@ __metadata:
vitest: ^0.30.1
vitest-canvas-mock: ^0.2.2
peerDependencies:
"@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
languageName: unknown
linkType: soft

Expand Down

0 comments on commit a4f76ba

Please sign in to comment.