π Description
package.json's scripts cover dev, build, start, lint, test, and test:coverage, but there's no standalone tsc --noEmit script β type errors are currently only caught incidentally during next build's own type-checking pass, mixed in with the build step rather than as a fast, isolated CI check.
π§© Requirements and context
- Add a
typecheck script to package.json running tsc --noEmit (or the project's equivalent strict-check invocation).
- Wire the new script into the CI workflow so it runs early (before or alongside lint/test), giving fast feedback on type errors without waiting for a full
next build.
- No change to the existing
build script's own type-checking behavior.
π οΈ Suggested execution
- Add a
"typecheck": "tsc --noEmit" entry to package.json's scripts.
- Update the repository's CI workflow (the pull-request workflow covered elsewhere in this project's issue backlog, or whichever workflow file currently runs lint/test/build) to add a
typecheck step.
β
Acceptance criteria
π Security notes
No new attack surface; a developer-tooling/CI task.
π Guidelines
- Minimum 95% test coverage
- Clear documentation
- Timeframe: 96 hours
π Description
package.json's scripts coverdev,build,start,lint,test, andtest:coverage, but there's no standalonetsc --noEmitscript β type errors are currently only caught incidentally duringnext build's own type-checking pass, mixed in with the build step rather than as a fast, isolated CI check.π§© Requirements and context
typecheckscript topackage.jsonrunningtsc --noEmit(or the project's equivalent strict-check invocation).next build.buildscript's own type-checking behavior.π οΈ Suggested execution
"typecheck": "tsc --noEmit"entry topackage.json'sscripts.typecheckstep.β Acceptance criteria
typecheckscript exists in package.json and runs cleanly against the current codebase.π Security notes
No new attack surface; a developer-tooling/CI task.
π Guidelines