UBCSailbot / sailbot_workspace

UBC Sailbot's monorepo
https://ubcsailbot.github.io/sailbot_workspace/main/
Apache License 2.0
4 stars 1 forks source link

Remove legacy-peer-deps header when installing node packages for website #332

Closed jahn18 closed 5 months ago

jahn18 commented 5 months ago

Description

A weird side-effect occurs in the package-lock.json file when we run npm install using the header --legacy-peer-deps. The header is no longer needed, so I'm removing it from the Dockerfile for the website.

Also, I'm setting next.js to a fixed version. It's not good to install the "latest" version on every build - we want control over exactly which packages update and how that update happens.

Verification