code4sac / sacramento-campaign-finance

Dataset and dashboard of money in local politics
https://sacramento-campaign-cash.netlify.app/
2 stars 5 forks source link

Upgrade node version to at least 18, preferablly 20 #26

Closed jeremiak closed 1 year ago

jeremiak commented 1 year ago

The project currently uses Node 16, which is no longer supported. According to the NodeJS website the current LTS (long term support) version is 18 but the current version is 20. It would be great to upgrade to as recent a version as possible.

I think this would be updating the .nvmrc and then making sure everything installs with npm install and then addressing anything that comes up until the app can be built with npm run build && npm run preview and the scraper can be run with node scripts/index.js.

jeremiak commented 1 year ago

Closing this for now after #32 but please feel free to open a PR to upgrade to version 20 if you want.