From e8914e1f92a92932113e722e988326446228b99e Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio.bekerle@tugraz.at>
Date: Thu, 1 Aug 2019 10:56:22 +0200
Subject: [PATCH] Remove "npm run setup" process

---
 packages/auth/README.md    | 6 +-----
 packages/auth/package.json | 3 +--
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/packages/auth/README.md b/packages/auth/README.md
index 2d5a1d77..60435b63 100644
--- a/packages/auth/README.md
+++ b/packages/auth/README.md
@@ -34,11 +34,7 @@ git clone git@gitlab.tugraz.at:VPU/WebComponents/Auth.git
 cd Auth
 git submodule update --init
 
-# we are creating the symbolic links to our git sub-modules
-# (there was no proper script to do this automatically before a "node install"
-npm run setup
-
-# install dependencies
+# install dependencies (make sure you have npm version 4+ installed, so symlinks to the git submodules are created automatically)
 npm install
 
 # constantly build dist/bundle.js and run a local web-server on port 8002 
diff --git a/packages/auth/package.json b/packages/auth/package.json
index a614d964..73b0ef2f 100644
--- a/packages/auth/package.json
+++ b/packages/auth/package.json
@@ -27,10 +27,9 @@
     "@webcomponents/webcomponentsjs": "^2.2.10",
     "i18next": "^17.0.3",
     "lit-element": "^2.1.0",
-    "vpu-common": "*"
+    "vpu-common": "file:./vendor/common"
   },
   "scripts": {
-    "setup": "mkdir -p node_modules && cd node_modules && ln -sfn ../vendor/common vpu-common",
     "clean": "rm dist/*",
     "build": "npm run build-local",
     "build-local": "rollup -c",
-- 
GitLab