Description
Add a CI validation step that checks the example Drizzle schema in `setup-project.sh` for TypeScript correctness. Currently the embedded TypeScript code in the shell script is not type-checked.
Why
The schema template in `setup-project.sh` is TypeScript embedded in a heredoc — it's invisible to `tsc`. If a Drizzle API change breaks the template, users would discover the error only after running `setup-project.sh`. A CI check catches this during development.
Acceptance Criteria
Notes
This is a creative problem — the TypeScript is embedded in bash heredocs. One approach is to extract the templates to standalone `.ts` files in a test directory and type-check them separately.
Description
Add a CI validation step that checks the example Drizzle schema in `setup-project.sh` for TypeScript correctness. Currently the embedded TypeScript code in the shell script is not type-checked.
Why
The schema template in `setup-project.sh` is TypeScript embedded in a heredoc — it's invisible to `tsc`. If a Drizzle API change breaks the template, users would discover the error only after running `setup-project.sh`. A CI check catches this during development.
Acceptance Criteria
Notes
This is a creative problem — the TypeScript is embedded in bash heredocs. One approach is to extract the templates to standalone `.ts` files in a test directory and type-check them separately.