awslabs / iot-app-kit

A development library for creating web applications to visualize industrial data
Apache License 2.0
118 stars 61 forks source link

chore: update stale packages #3057

Closed tracy-french closed 1 week ago

tracy-french commented 1 week ago

Overview

All over the code base, the wrong versions of dependencies are being used. This change fixes this issue, allowing the dependency versions listed in package.json files to be used correctly.

The issue was likely caused by improper installation of packages using npm workspaces. I plan on talking with the team how to install packages.

In the process of fixing this issue, which was primarily fixed by regenerating package-lock.json, the updates up many dependencies had to be handled, most notably storybook. There was a version mismatch between doc-site (storybook v7) and other packages (storybook v6) and only the lock file was holding the issue at bay. Once unlocked, transitive dependencies experienced versioning conflicts.

In handling the storybook issue, I figured we might as well upgrade all the way to storybook 8 with vite. Hope you enjoy the dev experience!

Overall, as a result of this change, we should see:

Legal

This project is available under the Apache 2.0 License.

hwandersman commented 1 week ago

Anything to add to the package READMEs about new commands, installation, storybook setup, env vars?