diff --git a/.editorconfig b/.editorconfig index 7628f3ed0..2c1d3b49f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -21,5 +21,9 @@ indent_size = 2 indent_style = space indent_size = 2 +[*.{scss,css}] +indent_style = space +indent_size = 2 + [.nvmrc] insert_final_newline = false \ No newline at end of file diff --git a/package.json b/package.json index e7f012efb..86a2bba30 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build:modern-only": "BUILD_MODERN_ONLY=true vite build && workbox copyLibraries dist/", "build:dev": "vite build -m development --outDir dist-dev/", "lint": "eslint --ignore-pattern '*.test.*' ./src --ext .vue,.js,.ts", + "lint:markup": "vue-tsc --noEmit", "cypress:open": "cypress open", "test:unit": "jest", "test:frontend": "cypress run", @@ -17,9 +18,9 @@ }, "dependencies": { "@kyvg/vue3-notification": "2.3.4", - "@sentry/tracing": "6.13.3", - "@sentry/vue": "6.13.3", - "@vue/compat": "3.2.20", + "@sentry/tracing": "6.14.1", + "@sentry/vue": "6.14.1", + "@vue/compat": "3.2.21", "bulma": "0.9.3", "camel-case": "4.1.2", "codemirror": "5.63.3", @@ -32,15 +33,15 @@ "is-touch-device": "1.0.1", "lodash.clonedeep": "4.5.0", "lodash.debounce": "4.0.8", - "marked": "3.0.8", + "marked": "4.0.0", "register-service-worker": "1.7.2", "snake-case": "3.0.4", "ufo": "0.7.9", - "vue": "3.2.20", + "vue": "3.2.21", "vue-advanced-cropper": "2.6.3", "vue-drag-resize": "2.0.3", "vue-flatpickr-component": "9.0.5", - "vue-i18n": "9.2.0-beta.16", + "vue-i18n": "9.2.0-beta.18", "vue-router": "4.0.12", "vuedraggable": "4.1.0", "vuex": "4.0.2", @@ -53,30 +54,31 @@ "@fortawesome/free-solid-svg-icons": "5.15.4", "@fortawesome/vue-fontawesome": "3.0.0-5", "@types/jest": "27.0.2", - "@typescript-eslint/eslint-plugin": "5.2.0", - "@typescript-eslint/parser": "5.2.0", + "@typescript-eslint/eslint-plugin": "5.3.1", + "@typescript-eslint/parser": "5.3.1", "@vitejs/plugin-legacy": "1.6.2", "@vitejs/plugin-vue": "1.9.4", - "@vue/eslint-config-typescript": "9.0.0", + "@vue/eslint-config-typescript": "9.0.1", "autoprefixer": "10.4.0", "axios": "0.24.0", - "browserslist": "4.17.5", + "browserslist": "4.17.6", "cypress": "8.7.0", "cypress-file-upload": "5.0.8", - "esbuild": "0.13.12", - "eslint": "8.1.0", - "eslint-plugin-vue": "7.20.0", + "esbuild": "0.13.13", + "eslint": "8.2.0", + "eslint-plugin-vue": "8.0.3", "express": "4.17.1", "faker": "5.5.3", "jest": "27.3.1", "postcss": "8.3.11", - "rollup": "2.58.3", + "rollup": "2.59.0", "rollup-plugin-visualizer": "5.5.2", "sass": "1.43.4", "ts-jest": "27.0.7", "typescript": "4.4.4", - "vite": "2.6.13", + "vite": "2.6.14", "vite-plugin-pwa": "0.11.3", + "vue-tsc": "0.29.3", "wait-on": "6.0.0", "workbox-cli": "6.3.0" }, @@ -108,7 +110,8 @@ "semi": [ "error", "never" - ] + ], + "vue/multi-word-component-names": 0 }, "parser": "vue-eslint-parser", "parserOptions": { diff --git a/ping-weblate.sh b/ping-weblate.sh deleted file mode 100755 index af0e2e019..000000000 --- a/ping-weblate.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -set -e - -# Shell script because yaml doesn't understand the header is a string literal and not a yaml symbol - -curl -d operation=pull -H "Authorization: Token $WEBLATE_TOKEN" https://hosted.weblate.org/api/projects/vikunja/repository/ -curl -d operation=push -H "Authorization: Token $WEBLATE_TOKEN" https://hosted.weblate.org/api/projects/vikunja/repository/ diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index 4101c59dc..63b670ee6 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -74,9 +74,9 @@