Skip to content

Commit

Permalink
fix: move @types/google.maps to dependencies (#115)
Browse files Browse the repository at this point in the history
we are reusing types from the @types/google.maps package for things like MapProps etc. To make sure those types are available when installing this package, we have to specify them as dependencies instead of devDependencies.

fixes #106
  • Loading branch information
usefulthink authored Dec 1, 2023
1 parent 37ce552 commit 9b788e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 6 additions & 5 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
"Google Maps",
"Google Maps components"
],
"dependencies": {
"@types/google.maps": "^3.54.10"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
Expand All @@ -58,7 +61,6 @@
"@testing-library/jest-dom": "^6.0.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/google.maps": "^3.50.5",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
Expand Down

0 comments on commit 9b788e1

Please sign in to comment.