-
-
Notifications
You must be signed in to change notification settings - Fork 596
Questions about optimal dev setup for contributing #1254
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
Comments
I don't use these extensions. @dplewis do you use them? Maybe we should remove from the contributing docs. |
I don't anymore, I couldn't get the debugger to work back in the day. A member of our community helped build the Jasmine Test Explorer to be used with the SDK. Looks like Flow Types are being handled by |
It might be an issue with |
Adding |
I think it was because there were originally a several hundred (maybe thousand) errors at the beginning and we have been updating them slowly over time. It would be nice to fix all the errors. |
@rdhelms its mostly for documentation. Since this isn’t typescript. The Types are stripped out during the final build. |
Interesting...it seems like a stretch then in the contributing guidelines to say that this repo "uses Flow" since it's intended to be used as a static type checker similar to TypeScript (TS types also compile away during final builds), but there actually isn't any type checking going on here. |
Closing as flow type has been removed in #2145 |
I recently started working in this repo to make a small update to a PR. Initially, after reading through CONTRIBUTING.md, I installed the VSCode extensions mentioned in the recommended setup. Also, since the repo supposedly uses Flow, I installed the Flow Language Support extension recommended on Flow's website.
The Jasmine extension and use of the mongodb-runner package seemed to work fine with the integration tests. But the Jest extension immediately marked several tests as failing. The tests passed when run via the command line. And installing the Flow VSCode extension caused all sorts of chaos, which made me wonder if all the Flow types were even still valid.
I've started poking around at the configurations to see if any use of these tools could be salvaged, but with no luck, yet.
If the recommendations have changed, I'd ask that we update the recommended setup section of the contributing guidelines. Or if the recommended setup is still the same, I'd love some advice about how to get it up and running 🙂
The text was updated successfully, but these errors were encountered: