Browse Source

fix(webapp): ensure that webapp builds without package-lock.json

Nils Wisiol 3 years ago
parent
commit
42c125bdc6
2 changed files with 3 additions and 1 deletions
  1. 1 0
      docker-compose.yml
  2. 2 1
      webapp/package.json

+ 1 - 0
docker-compose.yml

@@ -218,6 +218,7 @@ services:
   webapp:
     build: webapp
     environment:
+    - CYPRESS_INSTALL_BINARY=0  # workaround as Cypress otherwise needs write access to /root/.cache/
     - VUE_APP_DESECSTACK_DOMAIN=${DESECSTACK_DOMAIN}
     - VUE_APP_DESECSTACK_NS=${DESECSTACK_NS}
     - VUE_APP_DESECSTACK_API_SEPA_CREDITOR_ID=${DESECSTACK_API_SEPA_CREDITOR_ID}

+ 2 - 1
webapp/package.json

@@ -26,7 +26,7 @@
   "devDependencies": {
     "@vue/cli-plugin-babel": "^4.5.12",
     "@vue/cli-plugin-e2e-cypress": "^4.5.12",
-    "@vue/cli-plugin-eslint": "^4.5.12",
+    "@vue/cli-plugin-eslint": "^5.0.6",
     "@vue/cli-plugin-router": "^4.5.12",
     "@vue/cli-plugin-unit-mocha": "^4.5.12",
     "@vue/cli-plugin-vuex": "^4.5.12",
@@ -34,6 +34,7 @@
     "@vue/test-utils": "1.1.3",
     "babel-eslint": "^10.1.0",
     "chai": "^4.3.4",
+    "cypress": "^4.6.0",
     "eslint": "^7.23.0",
     "eslint-plugin-vue": "^7.8.0",
     "sass": "^1.32.8",