-
Notifications
You must be signed in to change notification settings - Fork 23
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
Upgrade dependencies #60
Upgrade dependencies #60
Conversation
I appreciate this, but I think if we upgrade deps we should also add a lockfile (e.g. don't ignore yarn.lock), however at this point (for the sake of consistency with most of our other node packages), I'd prefer to lock this down npm and package-lock.json. If you can get a green build with upgraded deps and a package-lock.json, I'd be glad to merge |
Looks like tests are "broken" because the upgraded |
Thanks @rosston 👍 |
@texastoland I tried bumping the node versions on CI in a separate branch, but I see now that failures on newer node versions are why you were updating |
@searls I can shrinkwrap no problem. It still makes sense to ignore @rosston 👍🏽 I'll push shortly. Do we still need to support |
@searls assuming you don't mind e.g. same logic with today's best practices (async-await, pure functions, possibly types). Something else I'd really like are Jest snapshot tests. I wonder if you'd mind replacing teenytest. |
@texastoland Yes, I think we should still support node 6. 6 is supported by node until April 2019, and I think our support should more or less mirror node's support. By the same token, 7 and 9 need not be explicitly tested/supported since they have both reached their EOL (due to not being LTS releases). |
👍🏽 thank you @rosston I didn't know about EOL dates. |
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.
This looks good to me. I'll defer merge responsibilities to @searls though. 🙂
Before merge, please revert the changes to delete the trailing |
👍🏽 confirmed whitespace changes were automated by 👎🏽 why not list
🛎 are you open to this?
|
Thanks @rosston on pointing out that about standard. @texastoland, I'd only be open to adopting language features in current Node LTS versions, which means no |
Assuming you don't use The rest sounds good? If so I request a Did you understand my point about |
Correct, this library is not compiled. Any refactors would need to only use libraries that work under Node 6 |
Again, I'd prefer not adding yarn.lock to .gitignore. If I added every possible developer-local file to .gitignore that someone might accidentally add some day (.idea, .code, etc), I'd have to maintain some very long standard .gitignore to copy-paste between all 300 of the repos I own. |
Compilation is part of the refactor question. Today the code is challenging to contribute to in part because it was written without Promises, arrow functions, etc. The point of Babel, et al. is that 2 years from now it won't look like it were written 2 years ago (since Node has been slow to adopt standards). Also no form of static checking would be possible without it.
That exists right? I see your point about not ignoring 🤷🏽♂️ I'll do it but that's my opinion as someone actively contributing to JS since before jQuery. I sent a DM in case you want to chat. |
I'm sorry that the way the library is set up (favoring simplicity over requiring a compilation build step) doesn't suit your tastes, but I'd just ask you to consider deferring to the taste & preferences of the maintainer(s) of small libraries in the future for their sake. Yesterday and today are days off for me (I'm on PTO/vacation) and the 20+ e-mails I've gotten due to your activity on this repo has been a bit of a stressor, and reviewing the issues and points you're raising are work. I value your desire to help, but appeals to your career's longevity (e.g. "since before jQuery") just seems combative when considering the fact that you're also a guest in someone else's repo. |
Fair assessment. The motivation for asking is because it's not a codebase you're actively working on thus making it more convenient for me (presumably others) if I were to contribute. I'll leave all as is till you can review. Check out https://octobox.io/ as an alternative to GitHub emails. Enjoy your day off. |
Add edit: sorry, didn't catch this comment #60 (comment)
|
Fixes broken tests related to `testdouble`. Also runs `standard --fix`. Parent commit of other PRs.
And drop EOL'ed versions of node.
👍🏽 roger. Feel free to close the others. I'm going to work on a fork. Thanks for an inspiring project. I think it's more applicable today than when you wrote it. |
Fixes broken tests related to
testdouble
. Also runsstandard --fix
. Parent commit of other PRs.