Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra tsconfig.*.json validation when using Wasp TS config #2426

Open
sodic opened this issue Dec 20, 2024 · 0 comments
Open

Add extra tsconfig.*.json validation when using Wasp TS config #2426

sodic opened this issue Dec 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sodic
Copy link
Contributor

sodic commented Dec 20, 2024

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.json file referencing tsconfig.app.json and tsconfig.node.json.
  • The tsconfig.app.json (TS config for src) file must pass validation (we already do this)
  • The tsconfig.node.json file 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.

@sodic sodic added the enhancement New feature or request label Dec 20, 2024
@infomiho infomiho changed the title Ensure config files in a Wasp project are set up correctly Add extra tsconfig.*.json validation when using Wasp TS config Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant