[internal] CONTRIBUTING.md - is Node 14 still correct? #871
Replies: 2 comments 1 reply
-
So the the thing is, I'm a C++ and Python developer with decades of experience and knowledge that transfers well to maintaining code bases in other languages (like good testing knowledge, code design experience, incrementally moving code safely to improve design....). So in taking over Tasks, there has been a ton to learn about TypeScript and Jest, JS infrastructure in general, the last of which I have barely even touched the surface of it... I'm definitely at the "I don't know what I don't know" stage in a lot of this.... So my default answer for the foreseeable future on all your excellent questions about Node, dependencies, and similar is going to be "oh, I didn't know that, please tell me what you recommend, and if you can, please feel free to create a PR or an issue directly... " 😅 |
Beta Was this translation helpful? Give feedback.
-
Thanks @AnnaKornfeldSimpson! I think @sytone was documenting the current situation, rather than saying it should be using 14. Based on what you said in the original post, it seems like moving to at least 16 would be good. I have no opinion on whether to move to 18. It seems like 14 is still in maintenance, so not really a problem???? May I suggest that we update after the next release is done, as I'm fairly close to publishing the next release (it's blocked on needing the two new documentation pages). When we do update, it would be good if we could consider changing CONTRIBUTING to point to whatever file(s) that determine the Node version we use (for example https://github.com/obsidian-tasks-group/obsidian-tasks/blob/main/.github/workflows/release.yml) - to avoid the need to remember to update the contributing page next time we update node... |
Beta Was this translation helpful? Give feedback.
-
@claremacrae I know you updated part of CONTRIBUTING.md recently - can you confirm whether the following line about using Node 14 is still essentially correct?
obsidian-tasks/CONTRIBUTING.md
Line 82 in b642736
I have been doing my dev on node 18 without issue, though I switched to 14 when I saw this and everything seemed ok there also, except for having to re-install yarn with a markedly earlier version of npm. Most relevantly, though, running
process.versions
inside Obsidian stable 0.14.15 tells me that Obsidian stable is currently using node 16.13.2 - so should we really still be on 14?Thanks!
PS: I said essentially because my
nvm
told me that there were a couple of patch versions (right-most version number increase) above what was is listed in the doc sonvm install 14; nvm use 14
put me on14.19.3
.Beta Was this translation helpful? Give feedback.
All reactions