Eject and Updates
EvoLayer's update model is built to respect your time and protect your work.
When a new version of the upstream package is released, you update it via Composer. However, Composer safely isolates its changes to the vendor/ directory.
To bring upstream improvements (like a new PRD Studio capability or an updated Ontology schema) into your host application, you simply run php artisan evolayer:resync.
The Resync Safety Net
Resync acts as a smart safety net. It ensures you get the latest features without ever risking your custom code. Here's how it works behind the scenes:
- Hashing: EvoLayer calculates the SHA-256 hash of your local file in
resources/js. - Comparison: It compares this hash against the "pristine" hash of the file from when it was originally published.
- Seamless Update: If the hashes match, EvoLayer knows the file is pristine. It seamlessly upgrades it to the newest version for you.
- Respectful Skip: If the hashes do not match, EvoLayer knows you have customized the file. It immediately skips it, completely preserving your work.
This intelligent workflow means you can continuously receive upstream improvements for the UI surfaces you haven't touched, while resting assured that your custom, ejected modifications are perfectly safe.
Was this page helpful?