From 0ba5bbe89eb8f00e52858c378a41a1c545c0a6d0 Mon Sep 17 00:00:00 2001 From: Raviraj Bahirsheth <111955585+rbahirsheth@users.noreply.github.com> Date: Thu, 13 Apr 2023 18:50:20 +0530 Subject: [PATCH] remove yeoman generator updates --- docs/upgrade-guide/upgrade411-50.md | 46 ++++------------------------- 1 file changed, 5 insertions(+), 41 deletions(-) diff --git a/docs/upgrade-guide/upgrade411-50.md b/docs/upgrade-guide/upgrade411-50.md index 26256790d8..62fba38d3e 100644 --- a/docs/upgrade-guide/upgrade411-50.md +++ b/docs/upgrade-guide/upgrade411-50.md @@ -15,47 +15,6 @@ commit any changes you are currently working on. If you aren't using versioning then be sure to make a backup copy of your project before going ahead with the upgrade. -## Library updates - -### Automatic update using the Yeoman Generator - -If your application has few changes from the original app created by the -[Yeoman generator](https://github.com/Alfresco/generator-ng2-alfresco-app) -then you may be able to update your project with the following steps: - -1. Update the Yeoman generator to the latest version. Note that - you might need to run these commands with `sudo` on Linux or MacOS: - - ```sh - npm uninstall -g generator-alfresco-adf-app - npm install -g generator-alfresco-adf-app - ``` - -2. Run the new yeoman app generator: - - ```sh - yo alfresco-adf-app - ``` - -3. Clean your old distribution and dependencies by deleting the `node_modules` folder - and the `package-lock.json` file. - -4. Install the dependencies: - ```sh - npm install - ``` - -At this point, the generator might have overwritten some of your code where it differs from -the original generated app. Be sure to check for any differences from your project code -(using a versioning system might make this easier) and if there are any differences, -retrofit your changes. When you have done this, you should be able to start the application -as usual: - -```sh -npm run start -``` - -After starting the app, if everything is working fine, that's all and you don't need to do anything else. However, if things don't work as they should then recover the original version of the project and try the manual approach. ### Manual update @@ -112,3 +71,8 @@ After starting the app, if everything is working fine, that's all and you don't ```sh npm install ``` + +6. Run the application + ```sh + npm run start + ```