docs: add updates documentation (#11146)

- Add chapter on updating Medusa
- Add section in UI docs about updating UI packages in standalone applications

Closes #10927
Closes DX-1282
This commit is contained in:
Shahed Nasser
2025-01-27 09:27:37 +02:00
committed by GitHub
parent d4cbc6218c
commit 9462f00f8d
6 changed files with 161 additions and 19 deletions

View File

@@ -78,4 +78,14 @@ You are now ready to start building your application with Medusa UI. You can imp
import { Button, Drawer } from "@medusajs/ui"
```
<Feedback title={"Install in Standalone Project"} />
<Feedback title={"Install in Standalone Project"} />
## Updating UI Packages
---
Medusa's design-system packages, including `@medusajs/ui`, `@medusajs/ui-preset`, and `@medusajs/ui-icons`, are versioned independently. However, they're still part of the latest Medusa release. So, you can browse the [release notes](https://github.com/medusajs/medusa/releases) to see if there are any breaking changes to these packages.
To update these packages, update their version in your `package.json` file and re-install dependencies. For example:
<PackageInstall packageName="@medusajs/ui" />