declare prop-types and react-aria-components as direct dependencies

Both packages are required at runtime but were not declared in package.json:

- react-simple-maps imports prop-types but does not list it as a peer or
  direct dependency, so prop-types must be provided by the host project.
- @umami/react-zen lists react-aria-components in peerDependencies, so
  the host project must provide it.

These are auto-installed by pnpm 8+ when auto-install-peers is true (the
project default), which masks the issue. They are not auto-installed by
npm or by pnpm with auto-install-peers disabled, causing build failures
on a fresh checkout.
This commit is contained in:
Yan committed 2026-05-07 15:22:17 -04:00
1 parent 5ccfb6d0a5
commit 74e8b12e39
2 files changed
+158 -19

No files matched your search

+2
View File
@@ -96,8 +96,10 @@
"papaparse": "^5.5.3",
"pg": "^8.20.0",
"prisma": "^7.7.0",
"prop-types": "^15.8.1",
"pure-rand": "^8.4.0",
"react": "^19.2.5",
"react-aria-components": "^1.17.0",
"react-dom": "^19.2.5",
"react-error-boundary": "^6.1.1",
"react-resizable-panels": "^4.10.0",