wasp
wasp copied to clipboard
Add extra validation rules for deps in `package.json`
In #2297 we added validation for userland config files e.g. package.json
and tsconfig.json
. We validated only package versions that were seen causing issues i.e. Prisma and React Router.
There is no reason not to validate all the required packages:
- react
- @types/react
- vite etc.
Basically, add some extra rules that would prevent users from installing e.g. React 19 when it comes out before Wasp migrates to the new version fully.