#!/bin/bash
./config/scripts/clean-all.sh
rm npm-shrinkwrap.json examples/browser/npm-shrinkwrap.json examples/electron/npm-shrinkwrap.json
npm install
npm shrinkwrap
cd config/local-dependency-manager
npm install
cd ../../examples/browser
npm run bootstrap
npm shrinkwrap
cd ../../examples/electron
npm run bootstrap
npm shrinkwrap
cd ../../

Add script to update the core and examples shrinkwrap files
Add script to update the core and examples shrinkwrap files

This patch adds a script called update-shrinkwrap.sh that cleans all the
theia workspace with clean-all.sh and updates the shrinkwrap files.

This script is mean to be used from the theia core directory.

Signed-off-by: Antoine Tremblay <715cbffe391b68f717536227958c7c21fbce8317@ericsson.com>
