wasp
wasp copied to clipboard
Add extra `tsconfig.*.json` validation when using Wasp TS config
trafficstars
We already have tsconfig.json and package.json validation, but there's more work to be done.
When the users are using the TS config, Wasp should check multiple tsconfig.json files:
- There must be a main
tsconfig.jsonfile referencingtsconfig.app.jsonandtsconfig.node.json. - The
tsconfig.app.json(TS config for src) file must pass validation (we already do this) - The
tsconfig.node.jsonfile must pass validation.
When the users are using the Wasp DSL, Wasp should validate the tsconfig.json file (TS config for src). I believe we already do this.
Related: #2390.