-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Typing Updates #166
Typing Updates #166
Conversation
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/npm-run-all@4.1.5 |
9b5473c
to
aac34a9
Compare
@@ -14,7 +14,6 @@ | |||
"prettier-check": "prettier . --check", | |||
"prettier-fix": "prettier . --write", | |||
"tsc": "tsc && tsc --project tsconfig.no-implicit-any.json", | |||
"tsc-watch": "tsc --watch", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can we run tsc
in watch mode using turbo
? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
turbo watch tsc
It'll cache a bit more, and isn't any more characters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting this error when trying it:
• Packages in scope:
• Running tsc in 0 packages
• Remote caching disabled
× failed to connect to daemon
╰─▶ server is unavailable: channel closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. Ok, I'll revert it.
Ah, silly me. I pushed the fix to my next branch. I'll cherry-pick it soonish, and this should be good to go. |
CI is failing:
I think I should have updated CI to run either |
Yeah. I fixed it :) |
I take that back. What's up with haste-map? It looks like jest is failing now. |
Could it be that |
I don't think so:
So it's not using the cache. Does jest need to run before test-run? I did parallelize it, which might be the issue. |
Hmmm. Locally, test-run works in parallel, which is good. I must've just corrupted it by quitting npm at a bad time. jest is crashing in elm-tooling.test. I'll look into it. After all, this shouldn't change impls. That's the point of this branch. |
Oh, could it be --detectOpenHandles? I added that to catch some regressions I made, maybe there were some other ones?
Also, it's reproducible with just |
I figured it out. Somehow, elm-review is parsing jest flags as it's own, but then the log gets overriden by jest so you can't read it. |
chore: support npm test again
Thank you for looking into all of this! 🙏 |
This doesn't touch implementations, thus the branch name.
Depends on #165
Here's the diff as GH doesn't play well with stacks from forks: lishaduck/node-elm-review@jsdocs...pure-typings