From 9db6a7c12b6d945a2c9a522981b45daeb8b4aff1 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Fri, 31 Jan 2025 15:18:13 +0200 Subject: [PATCH] docs: add link from installation to update guide --- .../fundamentals/plugins/create/page.mdx | 6 +++ www/apps/book/app/learn/installation/page.mdx | 6 +++ www/apps/book/generated/edit-dates.mjs | 7 ++- www/apps/book/generated/sidebar.mjs | 54 ++++++++++++------- 4 files changed, 51 insertions(+), 22 deletions(-) diff --git a/www/apps/book/app/learn/fundamentals/plugins/create/page.mdx b/www/apps/book/app/learn/fundamentals/plugins/create/page.mdx index b9b4d089a969c..b405c74d7c681 100644 --- a/www/apps/book/app/learn/fundamentals/plugins/create/page.mdx +++ b/www/apps/book/app/learn/fundamentals/plugins/create/page.mdx @@ -296,6 +296,12 @@ Then, register the plugin in your Medusa application's configurations as explain ## Update a Published Plugin + + +To update the Medusa dependencies in a plugin, refer to [this documentation](../../../update/page.mdx#update-plugin-project). + + + If you've published a plugin and you've made changes to it, you'll have to publish the update to NPM again. First, run the following command to change the version of the plugin: diff --git a/www/apps/book/app/learn/installation/page.mdx b/www/apps/book/app/learn/installation/page.mdx index f7c21dffc6998..1750f4e26f50c 100644 --- a/www/apps/book/app/learn/installation/page.mdx +++ b/www/apps/book/app/learn/installation/page.mdx @@ -139,6 +139,12 @@ If you run into issues with configurations, such as CORS configurations, or need --- +## Update Medusa Application + +Refer to [this documentation](../update/page.mdx) to learn how to update your Medusa project. + +--- + ## Next Steps In the next chapters, you'll learn about the architecture of your Medusa application, then learn how to customize your application to build custom features. diff --git a/www/apps/book/generated/edit-dates.mjs b/www/apps/book/generated/edit-dates.mjs index ff5e2d570e55d..3e21e9c7f3203 100644 --- a/www/apps/book/generated/edit-dates.mjs +++ b/www/apps/book/generated/edit-dates.mjs @@ -106,14 +106,13 @@ export const generatedEditDates = { "app/learn/build/page.mdx": "2024-12-09T11:05:17.383Z", "app/learn/deployment/general/page.mdx": "2024-11-25T14:33:50.439Z", "app/learn/fundamentals/workflows/multiple-step-usage/page.mdx": "2024-11-25T16:19:32.169Z", - "app/learn/installation/page.mdx": "2025-01-27T08:45:19.029Z", + "app/learn/installation/page.mdx": "2025-01-31T13:16:57.883Z", "app/learn/fundamentals/data-models/check-constraints/page.mdx": "2024-12-06T14:34:50.384Z", "app/learn/fundamentals/module-links/link/page.mdx": "2025-01-06T09:27:25.604Z", "app/learn/conventions/ts-aliases/page.mdx": "2025-01-23T15:01:15.403Z", - "app/learn/fundamentals/workflows/store-executions/page.mdx": "2025-01-24T12:09:24.087Z", - "app/learn/fundamentals/plugins/create/page.mdx": "2025-01-28T07:08:05.418Z", + "app/learn/fundamentals/workflows/store-executions/page.mdx": "2025-01-27T08:45:19.028Z", + "app/learn/fundamentals/plugins/create/page.mdx": "2025-01-31T13:17:48.052Z", "app/learn/fundamentals/plugins/page.mdx": "2025-01-22T10:14:10.433Z", "app/learn/customization/reuse-customizations/page.mdx": "2025-01-22T10:01:57.665Z", - "app/learn/fundamentals/workflows/store-executions/page.mdx": "2025-01-27T08:45:19.028Z", "app/learn/update/page.mdx": "2025-01-27T08:45:19.030Z" } \ No newline at end of file diff --git a/www/apps/book/generated/sidebar.mjs b/www/apps/book/generated/sidebar.mjs index 5a02aa0b79200..00056e7ca7f01 100644 --- a/www/apps/book/generated/sidebar.mjs +++ b/www/apps/book/generated/sidebar.mjs @@ -869,9 +869,27 @@ export const generatedSidebar = [ "loaded": true, "initialOpen": false }, + { + "loaded": true, + "isPathHref": true, + "type": "category", + "title": "5. Conventions", + "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "title": "Type Aliases", + "path": "/learn/conventions/ts-aliases", + "children": [], + "chapterTitle": "5.1. Type Aliases" + } + ], + "chapterTitle": "5. Conventions" + }, { "type": "category", - "title": "5. Debugging & Testing", + "title": "6. Debugging & Testing", "children": [ { "loaded": true, @@ -879,7 +897,7 @@ export const generatedSidebar = [ "type": "link", "path": "/learn/debugging-and-testing", "title": "Debugging and Testing", - "chapterTitle": "5. Debugging & Testing", + "chapterTitle": "6. Debugging & Testing", "children": [ { "loaded": true, @@ -888,7 +906,7 @@ export const generatedSidebar = [ "path": "/learn/debugging-and-testing/testing-tools", "title": "Testing Tools", "children": [], - "chapterTitle": "5.1. Testing Tools" + "chapterTitle": "6.1. Testing Tools" }, { "loaded": true, @@ -904,7 +922,7 @@ export const generatedSidebar = [ "path": "/learn/debugging-and-testing/testing-tools/integration-tests/api-routes", "title": "Example: API Routes Tests", "children": [], - "chapterTitle": "5.2.1. Example: API Routes Tests" + "chapterTitle": "6.2.1. Example: API Routes Tests" }, { "loaded": true, @@ -913,10 +931,10 @@ export const generatedSidebar = [ "path": "/learn/debugging-and-testing/testing-tools/integration-tests/workflows", "title": "Example: Workflows Tests", "children": [], - "chapterTitle": "5.2.2. Example: Workflows Tests" + "chapterTitle": "6.2.2. Example: Workflows Tests" } ], - "chapterTitle": "5.2. Integration Tests" + "chapterTitle": "6.2. Integration Tests" }, { "loaded": true, @@ -932,10 +950,10 @@ export const generatedSidebar = [ "path": "/learn/debugging-and-testing/testing-tools/modules-tests/module-example", "title": "Example", "children": [], - "chapterTitle": "5.3.1. Example" + "chapterTitle": "6.3.1. Example" } ], - "chapterTitle": "5.3. Modules Tests" + "chapterTitle": "6.3. Modules Tests" }, { "loaded": true, @@ -944,7 +962,7 @@ export const generatedSidebar = [ "path": "/learn/debugging-and-testing/instrumentation", "title": "Instrumentation", "children": [], - "chapterTitle": "5.4. Instrumentation" + "chapterTitle": "6.4. Instrumentation" }, { "loaded": true, @@ -953,7 +971,7 @@ export const generatedSidebar = [ "path": "/learn/debugging-and-testing/logging", "title": "Logging", "children": [], - "chapterTitle": "5.5. Logging" + "chapterTitle": "6.5. Logging" } ], "childrenSameLevel": true @@ -964,7 +982,7 @@ export const generatedSidebar = [ }, { "type": "category", - "title": "6. Production", + "title": "7. Production", "children": [ { "loaded": true, @@ -972,7 +990,7 @@ export const generatedSidebar = [ "type": "link", "path": "/learn/build", "title": "Build", - "chapterTitle": "6. Production", + "chapterTitle": "7. Production", "children": [ { "loaded": true, @@ -981,7 +999,7 @@ export const generatedSidebar = [ "path": "/learn/deployment", "title": "Deployment Overview", "children": [], - "chapterTitle": "6.1. Deployment Overview" + "chapterTitle": "7.1. Deployment Overview" }, { "loaded": true, @@ -990,7 +1008,7 @@ export const generatedSidebar = [ "path": "/learn/deployment/general", "title": "General Deployment", "children": [], - "chapterTitle": "6.2. General Deployment" + "chapterTitle": "7.2. General Deployment" } ], "childrenSameLevel": true @@ -1001,7 +1019,7 @@ export const generatedSidebar = [ }, { "type": "category", - "title": "7. Updates", + "title": "8. Updates", "children": [ { "loaded": true, @@ -1009,7 +1027,7 @@ export const generatedSidebar = [ "type": "link", "path": "/learn/update", "title": "Updating Medusa", - "chapterTitle": "7. Updates", + "chapterTitle": "8. Updates", "children": [], "childrenSameLevel": true } @@ -1019,7 +1037,7 @@ export const generatedSidebar = [ }, { "type": "category", - "title": "8. More Resources", + "title": "9. More Resources", "children": [ { "loaded": true, @@ -1029,7 +1047,7 @@ export const generatedSidebar = [ "title": "More Resources", "children": [], "childrenSameLevel": true, - "chapterTitle": "8. More Resources" + "chapterTitle": "9. More Resources" } ], "loaded": true,