-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
es modules and build system updates #198
Conversation
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.
b2b5d39 - Please look at this commit and the description and verify you agree with this change.
I'm fine with removing tests from the precommit hooks, but I'd like to keep linting and type checking there. I think it's important to check those with every commit, so you don't need to make follow-up commits just to clean-up linting/typing errors.
Overall code looks good. I had a few questions about changes that might not be necessary.
I haven't yet pulled it down and tried out, but will give that a shot soon.
This is why I wanted to point this out. I've been taught to commit often so it is easy to go back then merge commits when finished. I just end up using the EDIT:
If we keep linting and type errors, we should probably keep tests in there too, right? |
The "coverage" script looks to have been replaced previously using jest's configuration. I checked both CI scripts and do not see this being used anywhere
Codecov Report
@@ Coverage Diff @@
## master #198 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 7 7
Lines 210 188 -22
=====================================
- Hits 210 188 -22
Continue to review full report at Codecov.
|
Tests are significantly slower and don't run only on the staged files, so I'm fine with drawing that line. There aren't too many tests here, since there's not that much code, so I also don't mind keeping the tests in the pre-commit hook. Either way. |
I put the tests along with linting/type checking back into the hook. I think the last concern (currently) I need to deal with is |
Yeah, let's undo the codecov change until it becomes necessary; then we can merge when this has the green light. |
… excess eslint config file note: convert eslint config to js - enables proper comments and variables
Sounds good! Let me know if I should put PRs in a different way. Also, I've been git force pushing to keep the commits clean in case it gets merged. If you want me to stop doing that (and possibly do it before it is merged) let me know. |
Thanks for asking. I don't have any problem with this unless I'm also contributing commits to the branch; since that's not the case here, go for it. I appreciate the effort to make clean commits. |
This PR tackles item number 1 in #197 (comment).
This lays most of the groundwork to migrate to typescript, but I tried to also let this PR stand on its own.
b2b5d39 - Please look at this commit and the description and verify you agree with this change.
c486b86 - This PR includes a breaking change to using a named export as described here.