learningequality / kolibri-design-system

Kolibri Design System
https://design-system.learningequality.org
27 stars 65 forks source link

Upgrade to NodeJS 18 #439

Open rtibbles opened 1 year ago

rtibbles commented 1 year ago

Blocks

https://github.com/learningequality/kolibri-design-system/issues/510

Summary

KDS still uses NodeJS 12 which is no longer maintained or supported. At some point in the future, doubtless Github Actions will cease supporting this, which will cause our Github Actions to break.

We should upgrade to use NodeJS 16 which will require the following sequence of steps:

### Tasks
- [ ] https://github.com/learningequality/kolibri/pull/9698
- [ ] https://github.com/learningequality/kolibri/issues/8454
- [ ] Remove dependency on kolibri-tools and replace with the newly independent kolibri-formatting-tools or whatever the name ends up being
- [ ] In conjunction with this update the NodeJS version to the version required for the formatting tools (currently 16, but will become 18 in the future)
- [ ] Upgrade any build dependencies by the smallest version increment possible to have compatibility with the new NodeJS version (to avoid completely breaking the build system or requiring a more holistic upgrade)
- [ ] https://github.com/learningequality/kolibri/issues/10636
MisRob commented 10 months ago

When this is ready, we will also need to update this Netlify settings

Screenshot from 2023-10-18 17-53-23

I can do it, let me know when the time comes.

rtibbles commented 5 months ago

I just gave this another stab - still seems to be some complexity here, I don't know if the kolibri package separation is needed here, but it may make it simpler at the least.