Closed samreid closed 1 month ago
minor in progress patch (watch out for formatting)
Update CTQ
Most usages updated. Still to do:
I cannot use the new check task in hook-pre-commit-task or absolute-tsc because it isn't a module, it has only been written in grunt/tasks/ thus far. We need to factor it out to a module for reuse.
https://github.com/phetsims/chipper/issues/1481 has been moved along enough to mark this off hold.
--all
instead of --everything
We are at a good point to check in about this.
the check
module is the ground truth for all type checking. I would hope that we would never have to do anything outside of that file.
All that is left is:
@zepumph and I reviewed and made a minor change to the options. Things are generally ready for main, but we might batch with other changes?
Here are some tests that were done in the branches:
Tested and working: grunt check + many options, like --repo=..., --all, etc. run from many different repos pre commit hooks ctq running locally.
We can close this issue after:
chipper/tsconfig/all/tsconfig.json
We notified the dev team, and I removed the deprecated files (after confirming there are no usages). Closing.
tsconfig/all/tsconfig.json is liable to get stale, and we would like to be able to type check all without having to cd over there.
This will affect:
jab tsc-all --clean
which can clean then type check.