Skip to content
Snippets Groups Projects
Commit 5d2fb74f authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Update npm deps; install libgbm1 for chromium in docker

parent e1b1ead6
Branches main
No related tags found
No related merge requests found
image: registry.gitlab.tugraz.at/vpu/webcomponents/common/main:v5 image: registry.gitlab.tugraz.at/vpu/webcomponents/common/main:v6
before_script: before_script:
- "sed -i 's|git@gitlab.tugraz.at:VPU|../..|g' .gitmodules" - "sed -i 's|git@gitlab.tugraz.at:VPU|../..|g' .gitmodules"
......
...@@ -17,6 +17,8 @@ RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \ ...@@ -17,6 +17,8 @@ RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
nodejs \ nodejs \
chromium \ chromium \
# libgbm1: newer chromium from puppeteer
libgbm1 \
firefox-esr \ firefox-esr \
composer \ composer \
php-zip \ php-zip \
......
#!/bin/bash #!/bin/bash
set -e set -e
TAG="registry.gitlab.tugraz.at/vpu/webcomponents/common/main:v5" TAG="registry.gitlab.tugraz.at/vpu/webcomponents/common/main:v6"
sudo docker build --tag "${TAG}" --file "Dockerfile" . sudo docker build --tag "${TAG}" --file "Dockerfile" .
echo "Now run: sudo docker push '$TAG'" echo "Now run: sudo docker push '$TAG'"
...@@ -3,20 +3,21 @@ ...@@ -3,20 +3,21 @@
"version": "1.0.1", "version": "1.0.1",
"module": "index.js", "module": "index.js",
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^11.0.0", "@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-json": "^4.0.2", "@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^7.0.0", "@rollup/plugin-node-resolve": "^7.1.3",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0", "chai": "^4.2.0",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"eslint-plugin-jsdoc": "^23.0.0", "eslint-plugin-jsdoc": "^24.0.0",
"karma": "^5.0.1", "karma": "^5.0.1",
"karma-chrome-launcher": "^3.0.0", "karma-chrome-launcher": "^3.0.0",
"karma-firefox-launcher": "^1.3.0", "karma-firefox-launcher": "^1.3.0",
"karma-mocha": "^1.3.0", "karma-mocha": "^2.0.0",
"mocha": "^7.1.0", "mocha": "^7.1.2",
"node-sass": "^4.12.0", "node-sass": "^4.14.0",
"puppeteer": "^2.1.1", "puppeteer": "^3.0.2",
"rollup": "^2.0.3", "rollup": "^2.7.3",
"rollup-plugin-consts": "^1.0.1", "rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0", "rollup-plugin-copy": "^3.1.0",
"rollup-plugin-delete": "^1.1.0", "rollup-plugin-delete": "^1.1.0",
...@@ -32,8 +33,8 @@ ...@@ -32,8 +33,8 @@
}, },
"dependencies": { "dependencies": {
"@open-wc/scoped-elements": "^1.0.8", "@open-wc/scoped-elements": "^1.0.8",
"@sentry/browser": "^5.13.2", "@sentry/browser": "^5.15.5",
"i18next": "^19.3.2", "i18next": "^19.4.4",
"lit-element": "^2.2.1" "lit-element": "^2.2.1"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment