diff --git a/packages/notification/.gitlab-ci.yml b/packages/notification/.gitlab-ci.yml index 398431208d81df488d2e270e70af03ae136a27c9..e7b6c12343a6bfa6a3d45a2ea19511979c29f5c2 100644 --- a/packages/notification/.gitlab-ci.yml +++ b/packages/notification/.gitlab-ci.yml @@ -15,6 +15,5 @@ test: script: - apt update - apt install -y npm - - npm run setup - npm install - npm run build diff --git a/packages/notification/README.md b/packages/notification/README.md index 1d6f86fd4e14cb6ccd0240a5f4084c046f6ff4f0..65ed4e0f602a40592277e50989373d8518c4a42a 100644 --- a/packages/notification/README.md +++ b/packages/notification/README.md @@ -34,11 +34,7 @@ git clone git@gitlab.tugraz.at:VPU/WebComponents/Notification.git cd Notification 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/notification/package.json b/packages/notification/package.json index e12745db8fd4fcb004b2e28093d2faf5d662a93f..d10ab112a6044ccd02c7ce3f160545395b2e370d 100644 --- a/packages/notification/package.json +++ b/packages/notification/package.json @@ -13,13 +13,13 @@ "rollup-plugin-terser": "^4.0.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-replace": "^2.2.0", - "i18next-scanner": "^2.10.2" + "i18next-scanner": "^2.10.2", + "vpu-common": "file:./vendor/common" }, "dependencies": { "@webcomponents/webcomponentsjs": "^2.2.10", "i18next": "^17.0.3", - "lit-element": "^2.1.0", - "vpu-common": "*" + "lit-element": "^2.1.0" }, "scripts": { "setup": "mkdir -p node_modules && cd node_modules && ln -sfn ../vendor/common vpu-common",