diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 882e9d439faaf0972ef2db46de56777442805079..5b177e7df8a09a01601e0bb79786392a64fc0c23 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,9 +69,9 @@ lint: stage: test needs: - job: build - artifacts: true + artifacts: true script: - - npm run lint + - npm run lint-fix check-updates: stage: test @@ -85,11 +85,11 @@ check-updates: build-image: stage: docker rules: - - if: $CI_COMMIT_BRANCH == "main" || + - if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "dev" - image: + image: name: gcr.io/kaniko-project/executor:v1.23.2-debug - entrypoint: [""] + entrypoint: [ "" ] script: - | if [[ "$CI_COMMIT_BRANCH" == "main" ]]; then diff --git a/components/Parcours/Details.vue b/components/Parcours/Details.vue index 854505e96a76e4fcda987da5e7fd98366ff6d07f..0d0d663b4f65737a855cca2021cba85cb55d79d3 100644 --- a/components/Parcours/Details.vue +++ b/components/Parcours/Details.vue @@ -1,5 +1,5 @@ <script setup lang="ts"> -import {type LatLngExpression} from "leaflet"; +import type {LatLngExpression} from "leaflet"; import 'leaflet.markercluster'; import * as v from 'valibot'; import {calculateCenter, calculateMaxBounds, createMarkerNumberedIcon} from "~/utils/MapUtils"; diff --git a/package-lock.json b/package-lock.json index cd1a661bbad9de3ed67c39c9518665b5405890b1..818cf14fa1a4a817a657bac4aac26beecef6541c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "vue3-smooth-dnd": "^0.0.6" }, "devDependencies": { - "@iconify-json/lucide": "^1.2.26", + "@iconify-json/lucide": "^1.2.27", "@iconify-json/material-symbols": "^1.2.14", "@nuxt/test-utils": "^3.17.0", "@vue/test-utils": "^2.4.6", @@ -1391,9 +1391,9 @@ } }, "node_modules/@iconify-json/lucide": { - "version": "1.2.26", - "resolved": "https://registry.npmjs.org/@iconify-json/lucide/-/lucide-1.2.26.tgz", - "integrity": "sha512-arD/8mK0lRxFY2LgLf345NhWVWiOtV8sOxJuLnq4QRz3frMiOwVwGxEgp5Xe/bRGzxO2CxxCBok0bPRpCkYZQQ==", + "version": "1.2.27", + "resolved": "https://registry.npmjs.org/@iconify-json/lucide/-/lucide-1.2.27.tgz", + "integrity": "sha512-Q1Msf39/6TuY3DL9vKkrAbGaK7/28E0/9oWnwcgfSQ9zJvOV1bY9OzK14vIBIqtaGyYI5st/wwNiJNi+16WEkQ==", "dev": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 913db2310f8f22634804ed1a31069d6ce27a8237..3b063547c17c3c61493c38802a0deb13f02017fe 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "dev": "node_modules/.bin/nuxt dev --dotenv .env", "generate": "node_modules/.bin/nuxt generate", "lint": "node_modules/.bin/eslint .", + "lint-fix": "node_modules/.bin/eslint . --fix", "postinstall": "node_modules/.bin/nuxt prepare", "preview": "node_modules/.bin/nuxt preview", "prod": " node .output/server/index.mjs", @@ -26,7 +27,7 @@ "vue3-smooth-dnd": "^0.0.6" }, "devDependencies": { - "@iconify-json/lucide": "^1.2.26", + "@iconify-json/lucide": "^1.2.27", "@iconify-json/material-symbols": "^1.2.14", "@nuxt/test-utils": "^3.17.0", "@vue/test-utils": "^2.4.6", diff --git a/repository/module/route.ts b/repository/module/route.ts index 31cb992cc67f45b2ca94e3eba7047a5b165d8381..a6e4a1181986f0597768715b781558cd314da7cf 100644 --- a/repository/module/route.ts +++ b/repository/module/route.ts @@ -1,4 +1,4 @@ -import {type SelectedExercise} from "~/types/Exercise"; +import type {SelectedExercise} from "~/types/Exercise"; import type {ResponseBody} from "~/types/ResponseBody"; import type {Route} from "~/types/Route";