Matteo M.
Matteo M.

Reputation: 107

Update Clarity Seed Project

I've started developing an Angular 4 application using Clariy. I've started the project cloning the Clarity seed project, and with that base, I've started building my components.

How can I update Clarity to the last version? I would like to keep Clarity updated as musch as I can while I'm developing the product.

Thanks!

Upvotes: 3

Views: 362

Answers (2)

hippeelee
hippeelee

Reputation: 1808

If you update the Clarity version in the Clarity package.json to the Clarity version you want to install as James said aove all you have to do is run npm install and the package will update. Note, there are three Clarity libraries to update in the seed project:

  1. @clr/angular or clarity-angular if you are before 0.11
  2. @clr/ui or clarity-ui if you are before 0.11
  3. @clr/icons or clarity-icons if you are before 0.11

You can see the latest version (as well as what has changed) on our documentation site here.

Upvotes: 4

James Q Quick
James Q Quick

Reputation: 455

I'm not familiar with Clarity specifically but assuming it is an NPM Package, then you can run npm update to update all of your packages or npm update clarity to update clarity specifically.

Upvotes: 1

Related Questions