Package Upgrades
Backend
In order to perform updates on the backend packages, please use composer update
within sail (so after following the steps in Getting Started):
bash
sail composer update
Attention: Due to a flaw in Lighthouse regarding the order of authentication and validation we have implemented a custom fix. Therefore whenever Lighthouse is updated we have to make sure that all potential changes are also reflected in the LighthouseValidateDirectiveFix and in the custom GuardDirective and Can.
Frontend
Be aware that we have three package.json:
- package.json defining only development dependencies for the whole project
- resources/frontend/package.json defining the actual frontend dependencies
- docs/package.json defining the documentation dependencies
In order to also perform package upgrades (so to upgrade to the next possible major versions for exampel) we recommend to install and use npm-check-updates.