How to update Frontastic as a library
If you're using Frontastic as a library, you can update the Frontastic libraries (Composer and npm) on your own. We'll show you how to do this.
We recommend that you do this every 1 or 2 months to make sure you're using the latest version. We also recommend updating both the frontend and backend at the same time to make sure they're both running on the same version.
To update these, all you need to do is:
composer update frontastic/catwalkand
composer update frontastic/commonin your master branch
yarn upgrade @frontastic/catwalkand
yarn upgrade @frontastic/commonalso in your master branch
And that's it! The Composer updates will do all the backend code and fetch the new version, and Yarn will update all the frontend code. Both will modify the lock files as well.
If you run
yarn why @Frontastic/catwalk, you can check if the version has updated correctly.
You will still need to get a core update from us from time to time that will give you a full platform update, but this will only affect your development machines.
‹ Back to article list