Update Guide
Keep your components up to date.
Spartan consists of two main parts: Helm and Brain. Brain is published to NPM, while Helm projects reside within your repository.
To update Brain, you can simply use your preferred package manager. However, we recommend using our Healthcheck tool to ensure that any automated migrations are applied.
Updating Helm can also be automated using our migrate-helm-libraries
schematic. If you have made manual changes to your components, you may need to update them manually. The schematic can replace your components with the latest version, but note that any customizations will be lost.
nx g @spartan-ng/cli:migrate-helm-libraries
ng g @spartan-ng/cli:migrate-helm-libraries