From c76aa716f2a2771bd5fbc135ef18b2c5351ebc22 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 26 Mar 2021 09:33:07 +0100 Subject: [PATCH] Update README.md --- assets/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/README.md b/assets/README.md index 6c219565ca..f1b76373f7 100644 --- a/assets/README.md +++ b/assets/README.md @@ -6,7 +6,7 @@ For this, we first need to install yarn. Yarn is a JavaScript dependencies manager similar to Bower (that we also used for development in Chamilo 1.11.x), only that Bower is deprecated now. -To install yarn, follow the installation instructions here https://yarnpkg.com/en/docs/install +To install yarn v2, follow the installation instructions here https://yarnpkg.com/getting-started/install After the installation run this command in the Chamilo root: @@ -14,6 +14,10 @@ After the installation run this command in the Chamilo root: yarn will read the dependencies in the **packages.json** file and save the dependencies in the 'node_modules' folder (which must **NOT** be committed** to the Chamilo repository). +To upgrade packages: + +``yarn up`` + # Configuring Encore/Webpack Webpack takes CSS, JS and other files and generates tidy single-files to attach to your web package.