datacite / akita

DataCite Commons
https://commons.datacite.org
MIT License
6 stars 3 forks source link

Package upgrade fix #289

Closed richardhallett closed 5 months ago

richardhallett commented 11 months ago

Purpose

This is to upgrade dependencies for Akita.

This came about due to build errors on production minified version see: https://github.com/datacite/datacite/issues/1933

Approach

Upgrades everything, but I did it in stages to narrow down any potential problems.

The bug comes about from upgrading react-vega specifically, however I believe it to be as a result of the webpack build process.

The fix seems to be just ensuring everything is upgrading, including upgrading NextJS to version 13 from 12, which then also updates the webpack build process. The upgrade was relativly simple requiring only marginal source code changes.

Open Questions and Pre-Merge TODOs

Learning

https://nextjs.org/docs/pages/building-your-application/upgrading/version-13

Types of changes

Reviewer, please remember our guidelines:

jrhoads commented 5 months ago

@richardhallett I think this has been superseded by https://github.com/datacite/akita/pull/321 and https://github.com/datacite/akita/pull/326

Can we close this?

richardhallett commented 5 months ago

Probably, in truth I forgot all about this PR.