Upgrade quasaru, bugfixing
This commit is contained in:
@@ -28,3 +28,5 @@ yarn-error.log*
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
.vscode
|
.vscode
|
||||||
|
|
||||||
|
quasar.config.js.temporary.*
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
# develop stage
|
# develop stage
|
||||||
FROM node:20-alpine AS develop-stage
|
FROM node:22-alpine AS develop-stage
|
||||||
|
|
||||||
ENV TZ=Europe/Prague
|
ENV TZ=Europe/Prague
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ ENV GOOGLE_MAPS_API_KEY "AIzaSyAfTU1VntF9rp2D9TR4CFXIMALF5GLgsio"
|
|||||||
|
|
||||||
RUN quasar build -m ssr
|
RUN quasar build -m ssr
|
||||||
|
|
||||||
FROM node:20-alpine AS production-stage
|
FROM node:22-alpine AS production-stage
|
||||||
|
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
ENV TZ=Europe/Prague
|
ENV TZ=Europe/Prague
|
||||||
|
|||||||
+24
-24
@@ -10,36 +10,36 @@
|
|||||||
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore"
|
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apollo/client": "^3.7.14",
|
"@apollo/client": "^3.12.7",
|
||||||
"@quasar/extras": "^1.15.11",
|
"@quasar/extras": "^1.16.16",
|
||||||
"@sentry/browser": "^8.9.2",
|
"@sentry/browser": "^8.51.0",
|
||||||
"@sentry/integrations": "^7.114.0",
|
"@sentry/integrations": "^7.114.0",
|
||||||
"@sentry/vue": "^8.11.0",
|
"@sentry/vue": "^8.51.0",
|
||||||
"@vue/apollo-composable": "4.0.0-beta.2",
|
"@vue/apollo-composable": "4.2.1",
|
||||||
"@vue/apollo-option": "^4.0.0-beta.5",
|
"@vue/apollo-option": "^4.2.0",
|
||||||
"apollo-upload-client": "^17.0.0",
|
"apollo-upload-client": "^18.0.1",
|
||||||
"axios": "^1.6.2",
|
"axios": "^1.7.9",
|
||||||
"chart.js": "^4.4.1",
|
"chart.js": "^4.4.7",
|
||||||
"graphql": "16.6.0",
|
"graphql": "16.10.0",
|
||||||
"graphql-tag": "2.12.6",
|
"graphql-tag": "2.12.6",
|
||||||
"photoswipe": "^5.4.2",
|
"photoswipe": "^5.4.4",
|
||||||
"photoswipe-dynamic-caption-plugin": "^1.2.7",
|
"photoswipe-dynamic-caption-plugin": "^1.2.7",
|
||||||
"pinia": "^2.0.33",
|
"pinia": "^2.3.1",
|
||||||
"quasar": "2.16.2",
|
"quasar": "2.17.7",
|
||||||
"vue": "3.4.27",
|
"vue": "3.5.13",
|
||||||
"vue-chartjs": "^5.3.1",
|
"vue-chartjs": "^5.3.2",
|
||||||
"vue-picture-cropper": "^0.7.0",
|
"vue-picture-cropper": "^0.7.0",
|
||||||
"vue-router": "^4.2.5",
|
"vue-router": "^4.5.0",
|
||||||
"vue3-google-map": "^0.20.0"
|
"vue3-google-map": "^0.21.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@quasar/app-vite": "1.9.3",
|
"@quasar/app-vite": "2.0.8",
|
||||||
"autoprefixer": "^10.4.16",
|
"autoprefixer": "^10.4.20",
|
||||||
"eslint": "^8.55.0",
|
"eslint": "^9.19.0",
|
||||||
"eslint-config-prettier": "^8.10.0",
|
"eslint-config-prettier": "^10.0.1",
|
||||||
"eslint-plugin-vue": "^9.28.0",
|
"eslint-plugin-vue": "^9.32.0",
|
||||||
"postcss": "^8.4.14",
|
"postcss": "^8.5.1",
|
||||||
"prettier": "^2.8.8"
|
"prettier": "^3.4.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"npm": ">= 6.13.4",
|
"npm": ">= 6.13.4",
|
||||||
|
|||||||
+1
-2
@@ -8,8 +8,7 @@
|
|||||||
// Configuration for your app
|
// Configuration for your app
|
||||||
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
|
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
|
||||||
|
|
||||||
const {configure} = require('quasar/wrappers');
|
import { configure } from 'quasar/wrappers'
|
||||||
|
|
||||||
|
|
||||||
module.exports = configure(function (ctx) {
|
module.exports = configure(function (ctx) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
+2
-2
@@ -4,8 +4,8 @@ import {useAppStore} from "stores/App";
|
|||||||
import {Notify} from "quasar";
|
import {Notify} from "quasar";
|
||||||
import {errorObject, warningObject} from "src/composables/dialog";
|
import {errorObject, warningObject} from "src/composables/dialog";
|
||||||
import {useAuthStore} from "stores/Auth";
|
import {useAuthStore} from "stores/Auth";
|
||||||
import {createUploadLink} from "apollo-upload-client";
|
// import {createUploadLink} from "apollo-upload-client";
|
||||||
// import createUploadLink from "apollo-upload-client/createUploadLink.mjs";
|
import createUploadLink from "apollo-upload-client/createUploadLink.mjs";
|
||||||
|
|
||||||
const handleRefreshToken = (store, router, forward, operation) => {
|
const handleRefreshToken = (store, router, forward, operation) => {
|
||||||
if (!operation.query?._refreshUnauthorizedUser) return;
|
if (!operation.query?._refreshUnauthorizedUser) return;
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ const loading = computed(() => [
|
|||||||
const $router = useRouter();
|
const $router = useRouter();
|
||||||
const handleSave = (formData) => {
|
const handleSave = (formData) => {
|
||||||
useFlightsStore().create(formData).then((flight) => {
|
useFlightsStore().create(formData).then((flight) => {
|
||||||
$router.push({name: "flightEdit", params: {id: flight.id, step: "copilot"}});
|
$router.push({name: "editFlightPhotos", params: {id: flight.id}});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -62,7 +62,8 @@ const routes = [
|
|||||||
{path: 'foto', name: "editFlightPhotos", component: () => import('pages/profile/flight/edit/EditFlightPhotosPage.vue')},
|
{path: 'foto', name: "editFlightPhotos", component: () => import('pages/profile/flight/edit/EditFlightPhotosPage.vue')},
|
||||||
{path: 'poznamky', name: "editFlightNotes", component: () => import('pages/profile/flight/edit/EditFlightExtraInfoPage.vue')},
|
{path: 'poznamky', name: "editFlightNotes", component: () => import('pages/profile/flight/edit/EditFlightExtraInfoPage.vue')},
|
||||||
{path: 'plan', name: "editFlightSetPlan", component: () => import('pages/profile/flight/edit/EditFlightPlanPage.vue')},
|
{path: 'plan', name: "editFlightSetPlan", component: () => import('pages/profile/flight/edit/EditFlightPlanPage.vue')},
|
||||||
]},
|
]
|
||||||
|
},
|
||||||
{path: 'nastaveni', name: "profile", component: () => import('pages/profile/ProfilePage.vue')},
|
{path: 'nastaveni', name: "profile", component: () => import('pages/profile/ProfilePage.vue')},
|
||||||
{path: 'plany', name: "flightPlans", component: () => import('pages/profile/flightPlanner/FlightPlansPage.vue')},
|
{path: 'plany', name: "flightPlans", component: () => import('pages/profile/flightPlanner/FlightPlansPage.vue')},
|
||||||
{path: 'plany/novy', name: "newFlightPlan", component: () => import('pages/profile/flightPlanner/NewFlightPlanPage.vue')},
|
{path: 'plany/novy', name: "newFlightPlan", component: () => import('pages/profile/flightPlanner/NewFlightPlanPage.vue')},
|
||||||
|
|||||||
Reference in New Issue
Block a user