Incrementally introduce TypeScript language#101
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/itsjonq/g2/3s739vx86 |
Oh no... built tool stuff 🙈 Is it because the That aside.. I'm not sure how to review this PR 😊 |
It's deleted from git because now it's being auto-generated. Locally the file does exist due to the build 🤔 Why does jest care about the test files though? @ItsJonQ I added review instructions. @sirreal should be able to to help as well whenever he has some time 🙂 |
| @@ -0,0 +1,34 @@ | |||
| { | |||
| "compilerOptions": { | |||
| "allowJs": true, | |||
|
@saramarcondes Oh wow! Look at them types 😍 I'm not too sure the pre-commit hook / jest would be made at your changes 🙈 . Maybe it's okay from this point forward? (I'm guessing you committed the stuff with |
fb0f6c5 to
f440976
Compare
sirreal
left a comment
There was a problem hiding this comment.
I rebased to fix a conflict. Also:
- Improve
typesdirectory ignores - Exclude non-generated
typesdirectories from ignore - Add type clean to clean script
Let's land this and see how it goes, thanks everyone!
It doesn't seem to be. Every time I've tried to change a JS file it breaks on the test run from pre-commit. @sirreal did you notice this happening for you? I don't think this is safe to land if it's breaking the pre-commit hook. |
I had noticed this, but it didn't happen during my rebase. I'd prefer to push forward until it becomes a problem, if it's only an issue on certain commits we're probably fine. The end goal is for this project to be integrated in Gutenberg and the tooling that's having issues won't be used so I'd like to avoid investing time there. |
I agree 👍 . I did ma best with @itsjonq/zero. This was the biggest project my scripts package has ever needed to manage 😊 |
Testing instructions
Checkout the branch and run
tsc --buildand ensure there are no errors. Manually checkutils/typesand ensure that they're being built correctly and as expected (especially anything re-exporting lodash).For some reason this breaks the pre-commit hook in this manner: