Skip to content

Commit

Permalink
docs: add section in update chapter for plugin projects (medusajs#11185)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Jan 27, 2025
1 parent 0154c04 commit 12b6904
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions www/apps/book/app/learn/update/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,13 @@ In the Medusa codebase, our team uses the following [TSDoc](https://tsdoc.org/)

- `@deprecated`: Indicates that a piece of code is deprecated and will be removed in a future version. The tag's message will include details on what to use instead. However, our updates are always backward-compatible, allowing you to update your codebase at your own pace.
- `@version`: Indicates the version when a piece of code was available from. A piece of code that has this tag will only be available starting from the specified version.

---

## Update Plugin Project

If you have a Medusa plugin project, you only need to update its `@medusajs/*` dependencies in the `package.json` file to the latest version. Then, re-install dependencies:

```bash npm2yarn
npm run install
```

0 comments on commit 12b6904

Please sign in to comment.