wasp icon indicating copy to clipboard operation
wasp copied to clipboard

Add extra validation rules for deps in `package.json`

Open infomiho opened this issue 4 months ago • 0 comments

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.

infomiho avatar Oct 03 '24 12:10 infomiho