{"title":"Upgrade the package","category":"default","creationDate":1678958820,"content":"<p>We recommend that you upgrade when we have a major release, such as v2.x.x. You can find the latest version on our <a href=\"https:\/\/www.npmjs.com\/package\/@adyen\/adyen-salesforce-pwa?activeTab=readme\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">npm repository<\/a> and in our <a href=\"\/pt\/plugins\/release-notes\">release notes<\/a>.<\/p>\n<ol>\n<li>In the <code>package.json<\/code> file of your Retail React app, locate <code>\"dependencies\"<\/code>. This field shows the version of your package, for example:\n<pre><code class=\"language-json\">\"dependencies\": {\n  \"@adyen\/adyen-salesforce-pwa\": \"1.0.0\"\n}<\/code><\/pre><\/li>\n<li>Change the version value to the version number you want to upgrade to. For example, if you want to upgrade to version 2.0.0:\n<pre><code class=\"language-json\">\"dependencies\": {\n  \"@adyen\/adyen-salesforce-pwa\": \"2.0.0\"\n}<\/code><\/pre><\/li>\n<li>Install the new version:\n<pre><code class=\"language-js\">npm install<\/code><\/pre><\/li>\n<li>Build your app with the new version:\n<pre><code class=\"language-js\">npm install<\/code><\/pre><\/li>\n<li>Follow the <a href=\"\/pt\/plugins\/salesforce-commerce-cloud\/composable-storefront\/install-and-set-up-the-package#deploy-to-MRT\">steps to deploy your app to MRT<\/a> to deploy the new version.<\/li>\n<\/ol>","url":"https:\/\/docs.adyen.com\/pt\/plugins\/salesforce-commerce-cloud\/composable-storefront\/upgrade","articleFields":{"description":"Upgrade the package for your Composable Storefront integration.","feedback_component":true,"parameters":{"latest_major_version":"2.x.x","latest_major_version_path":"\/plugins\/release-notes?plugin=salesforce_commerce_cloud"},"filters_component":false,"last_edit_on":"29-09-2023 11:36","page_id":"dff88025-9484-45f4-903c-f92d9b2e2aea"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/plugins\/salesforce-commerce-cloud\/composable-storefront\/upgrade","title":"Upgrade the package","content":"We recommend that you upgrade when we have a major release, such as v2.x.x. You can find the latest version on our npm repository and in our release notes.\n\nIn the package.json file of your Retail React app, locate \"dependencies\". This field shows the version of your package, for example:\n\"dependencies\": {\n  \"@adyen\/adyen-salesforce-pwa\": \"1.0.0\"\n}\nChange the version value to the version number you want to upgrade to. For example, if you want to upgrade to version 2.0.0:\n\"dependencies\": {\n  \"@adyen\/adyen-salesforce-pwa\": \"2.0.0\"\n}\nInstall the new version:\nnpm install\nBuild your app with the new version:\nnpm install\nFollow the steps to deploy your app to MRT to deploy the new version.\n","type":"page","locale":"pt","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"Plugins","lvl2":"Salesforce Commerce Cloud - B2C Commerce","lvl3":"Composable Storefront package","lvl4":"Upgrade the package"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/plugins","lvl2":"https:\/\/docs.adyen.com\/pt\/plugins\/salesforce-commerce-cloud","lvl3":"https:\/\/docs.adyen.com\/pt\/plugins\/salesforce-commerce-cloud\/composable-storefront","lvl4":"\/pt\/plugins\/salesforce-commerce-cloud\/composable-storefront\/upgrade"},"levels":5,"category":"Plugins","category_color":"green","tags":["Upgrade","package"]}}
