From be8d806c78058cd2567bb3c86f7f8470859ba303 Mon Sep 17 00:00:00 2001 From: "HUSSAR-mtrela (Martin Trela)" Date: Mon, 25 Nov 2024 14:37:48 -0500 Subject: [PATCH] readme - Updating Packages in Samples --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 96890958ff..d769a29e13 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,21 @@ At this point, you should see a website hosted all examples of [Ignite UI for Bl ![Samples Browser Preview](./browser/IgBlazorSamples.Client/wwwroot/images/preview.PNG) +## Updating Packages in Samples + +NOTE Do NOT find replace version of packages in package.json files. + +- open this repo in VS Code +- open [./browser/IgBlazorSamples.Gulp/tasks/gulp-samples.js](./browser/tasks/gulp-samples.js) file +- navigate to the `updateIG` function +- update version of packages in `packageUpgrades` array +- open terminal window +- run `cd browser/IgBlazorSamples.Gulp` command +- run `npm install --legacy-peer-deps` command +- run the `gulp updateIG` command +- create AND merge a pull request with changes in all *.csproj files in this repository +- create 2nd pull request with similar changes in `/editor-templates/Blazor/main-template/BlazorClientApp.csproj` of the [igniteui-xplat-examples](https://github.com/IgniteUI/igniteui-xplat-examples) repository. + ## Resources