diff --git a/.drone.yml b/.drone.yml index 050108254..dc82fa780 100644 --- a/.drone.yml +++ b/.drone.yml @@ -123,7 +123,6 @@ steps: - yarn serve:dist & npx wait-on http://localhost:4173 - yarn test:frontend --browser chrome --record depends_on: - - dependencies - build-prod - name: deploy-preview @@ -137,6 +136,9 @@ steps: GITEA_TOKEN: from_secret: gitea_token commands: + - cp -r dist dist-preview + # Override the default api url used for preview + - sed -i 's|localhost:3456|try.vikunja.io|g' dist-preview/index.html - shasum -a 384 -c ./scripts/deploy-preview-netlify.js.sha384 - node ./scripts/deploy-preview-netlify.js depends_on: diff --git a/netlify.toml b/netlify.toml index 24ee45e7f..a0bfdfabc 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] command = "yarn build" - publish = "dist" + publish = "dist-preview" [[redirects]] from = "/*" diff --git a/package.json b/package.json index 1ecd53675..3ff834e61 100644 --- a/package.json +++ b/package.json @@ -20,15 +20,15 @@ "dependencies": { "@github/hotkey": "2.0.0", "@kyvg/vue3-notification": "2.3.4", - "@sentry/tracing": "6.17.9", - "@sentry/vue": "6.17.9", + "@sentry/tracing": "6.18.0", + "@sentry/vue": "6.18.0", "@types/is-touch-device": "1.0.0", "@vue/compat": "3.2.31", "@vueuse/core": "7.6.2", "@vueuse/router": "7.6.2", "bulma-css-variables": "0.9.33", "camel-case": "4.1.2", - "codemirror": "5.65.1", + "codemirror": "5.65.2", "copy-to-clipboard": "3.3.1", "date-fns": "2.28.0", "dompurify": "2.3.6", @@ -42,7 +42,7 @@ "marked": "4.0.12", "register-service-worker": "1.7.2", "snake-case": "3.0.4", - "ufo": "0.7.10", + "ufo": "0.7.11", "v-tooltip": "4.0.0-beta.17", "vue": "3.2.31", "vue-advanced-cropper": "2.8.1", @@ -52,7 +52,7 @@ "vue-router": "4.0.12", "vuedraggable": "4.1.0", "vuex": "4.0.2", - "workbox-precaching": "6.4.2" + "workbox-precaching": "6.5.0" }, "devDependencies": { "@4tw/cypress-drag-drop": "2.1.0", @@ -62,8 +62,8 @@ "@fortawesome/free-solid-svg-icons": "5.15.4", "@fortawesome/vue-fontawesome": "3.0.0-5", "@types/flexsearch": "0.7.2", - "@typescript-eslint/eslint-plugin": "5.12.0", - "@typescript-eslint/parser": "5.12.0", + "@typescript-eslint/eslint-plugin": "5.12.1", + "@typescript-eslint/parser": "5.12.1", "@vitejs/plugin-legacy": "1.7.1", "@vitejs/plugin-vue": "2.2.2", "@vue/eslint-config-typescript": "10.0.0", @@ -73,24 +73,24 @@ "caniuse-lite": "1.0.30001312", "cypress": "9.5.0", "esbuild": "0.14.23", - "eslint": "8.9.0", - "eslint-plugin-vue": "8.4.1", + "eslint": "8.10.0", + "eslint-plugin-vue": "8.5.0", "express": "4.17.3", - "happy-dom": "2.39.1", - "netlify-cli": "8.16.1", - "postcss": "8.4.6", + "happy-dom": "2.41.0", + "netlify-cli": "9.6.5", + "postcss": "8.4.7", "postcss-preset-env": "7.4.1", - "rollup": "2.67.3", - "rollup-plugin-visualizer": "5.5.4", - "sass": "1.49.8", + "rollup": "2.68.0", + "rollup-plugin-visualizer": "5.6.0", + "sass": "1.49.9", "typescript": "4.5.5", "vite": "2.8.4", "vite-plugin-pwa": "0.11.13", "vite-svg-loader": "3.1.2", - "vitest": "0.4.2", - "vue-tsc": "0.31.4", + "vitest": "0.5.7", + "vue-tsc": "0.32.0", "wait-on": "6.0.1", - "workbox-cli": "6.4.2" + "workbox-cli": "6.5.0" }, "eslintConfig": { "root": true, diff --git a/src/components/misc/api-config.vue b/src/components/misc/api-config.vue index bd7293fac..3869fa8e3 100644 --- a/src/components/misc/api-config.vue +++ b/src/components/misc/api-config.vue @@ -41,7 +41,7 @@