Skip to content

Commit 65c9160

Browse files
authored
Merge pull request #2655 from Brett-S-OWB/update-node-packages
Koala theme - update node packages
2 parents a196045 + 16c2b92 commit 65c9160

9 files changed

Lines changed: 3444 additions & 2544 deletions

File tree

packages/modules/web_themes/koala/source/package-lock.json

Lines changed: 3400 additions & 2493 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/modules/web_themes/koala/source/package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,44 +14,44 @@
1414
"build": "quasar build"
1515
},
1616
"dependencies": {
17-
"@quasar/extras": "^1.16.12",
18-
"chart.js": "^4.4.8",
17+
"@quasar/extras": "^1.17.0",
18+
"chart.js": "^4.5.0",
1919
"chartjs-adapter-luxon": "^1.3.1",
2020
"chartjs-plugin-annotation": "^3.1.0",
2121
"chartjs-plugin-zoom": "^2.2.0",
22-
"luxon": "^3.5.0",
23-
"mqtt": "^5.10.1",
24-
"pinia": "^2.2.4",
25-
"quasar": "^2.17.0",
22+
"luxon": "^3.7.1",
23+
"mqtt": "^5.14.0",
24+
"pinia": "^3.0.3",
25+
"quasar": "^2.18.2",
2626
"register-service-worker": "^1.7.2",
27-
"vue": "^3.5.11",
27+
"vue": "^3.5.18",
2828
"vue-chartjs": "^5.3.2",
29-
"vue-router": "^4.4.5"
29+
"vue-router": "^4.5.1"
3030
},
3131
"devDependencies": {
32-
"@quasar/app-vite": "^2.0.0-beta.12",
33-
"@types/node": "^20.16.10",
32+
"@quasar/app-vite": "^2.3.0",
33+
"@types/node": "^20.19.10",
3434
"@typescript-eslint/eslint-plugin": "^7.18.0",
3535
"@typescript-eslint/parser": "^7.18.0",
36-
"autoprefixer": "^10.4.20",
36+
"autoprefixer": "^10.4.21",
3737
"eslint": "^8.57.1",
38-
"eslint-config-prettier": "^9.1.0",
39-
"eslint-plugin-vue": "^9.28.0",
40-
"prettier": "^3.3.3",
41-
"typescript": "~5.5.4",
42-
"vite-plugin-checker": "^0.8.0",
43-
"vitest": "^2.1.2",
44-
"vue-tsc": "^2.1.6",
45-
"workbox-build": "^7.1.1",
46-
"workbox-cacheable-response": "^7.1.0",
47-
"workbox-core": "^7.1.0",
48-
"workbox-expiration": "^7.1.0",
49-
"workbox-precaching": "^7.1.0",
50-
"workbox-routing": "^7.1.0",
51-
"workbox-strategies": "^7.1.0"
38+
"eslint-config-prettier": "^9.1.2",
39+
"eslint-plugin-vue": "^9.33.0",
40+
"prettier": "^3.6.2",
41+
"typescript": "^5.5.4",
42+
"vite-plugin-checker": "^0.10.2",
43+
"vitest": "^2.1.9",
44+
"vue-tsc": "^2.2.12",
45+
"workbox-build": "^7.3.0",
46+
"workbox-cacheable-response": "^7.3.0",
47+
"workbox-core": "^7.3.0",
48+
"workbox-expiration": "^7.3.0",
49+
"workbox-precaching": "^7.3.0",
50+
"workbox-routing": "^7.3.0",
51+
"workbox-strategies": "^7.3.0"
5252
},
5353
"engines": {
54-
"node": "^24 || ^22 || ^20 || ^18",
54+
"node": "^24 || ^22 || ^20",
5555
"npm": ">= 6.13.4",
5656
"yarn": ">= 1.21.1"
5757
}

packages/modules/web_themes/koala/source/quasar.config.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// Configuration for your app
44
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
55

6-
import { configure } from 'quasar/wrappers';
6+
import { defineConfig } from '#q-app/wrappers';
77

8-
export default configure((/* ctx */) => {
8+
export default defineConfig((/* ctx */) => {
99
return {
1010
// https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
1111
// preFetch: true,
@@ -206,11 +206,11 @@ export default configure((/* ctx */) => {
206206
},
207207

208208
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-browser-extensions/configuring-bex
209-
bex: {
210-
// extendBexScriptsConf (esbuildConf) {},
211-
// extendBexManifestJson (json) {},
209+
// bex: {
210+
// // extendBexScriptsConf (esbuildConf) {},
211+
// // extendBexManifestJson (json) {},
212212

213-
contentScripts: ['my-content-script'],
214-
},
213+
// contentScripts: ['my-content-script'],
214+
// },
215215
};
216216
});

packages/modules/web_themes/koala/source/src/components/BatteryCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
import { computed, ref } from 'vue';
7474
import { useMqttStore } from 'src/stores/mqtt-store';
7575
import BatterySettingsDialog from './BatterySettingsDialog.vue';
76-
import { useBatteryModes } from 'src/composables/useBatteryModes.ts';
76+
import { useBatteryModes } from 'src/composables/useBatteryModes';
7777
import SliderDouble from './SliderDouble.vue';
7878
7979
const cardRef = ref<{ $el: HTMLElement } | null>(null);

packages/modules/web_themes/koala/source/src/components/BatteryModeButtons.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<script setup lang="ts">
1818
import { useMqttStore } from 'src/stores/mqtt-store';
1919
import { computed } from 'vue';
20-
import { useBatteryModes } from 'src/composables/useBatteryModes.ts';
20+
import { useBatteryModes } from 'src/composables/useBatteryModes';
2121
2222
const mqttStore = useMqttStore();
2323

packages/modules/web_themes/koala/source/src/components/charts/historyChart/HistoryChart.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</div>
1111
<HistoryChartLegend
1212
v-if="legendDisplay"
13-
:chart="chartRef?.chart || null"
13+
:chart="chartInstance"
1414
class="legend-wrapper q-mt-sm"
1515
/>
1616
</div>
@@ -65,6 +65,10 @@ const props = defineProps<{
6565
6666
const chartRef = ref<ChartComponentRef | null>(null);
6767
68+
const chartInstance = computed(() => {
69+
return (chartRef.value?.chart as Chart) ?? null;
70+
});
71+
6872
const applyHiddenDatasetsToChart = <TType extends ChartType, TData>(
6973
chart: Chart<TType, TData>,
7074
): void => {
@@ -83,7 +87,7 @@ watch(
8387
() => chartRef.value?.chart,
8488
(chart) => {
8589
if (chart) {
86-
applyHiddenDatasetsToChart(chart);
90+
applyHiddenDatasetsToChart(chart as Chart);
8791
}
8892
},
8993
{ immediate: true },

packages/modules/web_themes/koala/source/src/components/charts/historyChart/HistoryChartLegendCategory.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
:class="{ 'legend-item-hidden': dataset.hidden }"
2020
@click="
2121
dataset.datasetIndex !== undefined &&
22-
toggleDataset(dataset.text, dataset.datasetIndex)
22+
toggleDataset(dataset.text, dataset.datasetIndex)
2323
"
2424
>
2525
<q-item-section avatar class="q-pr-none">

packages/modules/web_themes/koala/source/src/components/charts/historyChart/HistoryChartLegendStandard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
:class="{ 'legend-item-hidden': dataset.hidden }"
1111
@click="
1212
dataset.datasetIndex !== undefined &&
13-
toggleDataset(dataset.text, dataset.datasetIndex)
13+
toggleDataset(dataset.text, dataset.datasetIndex)
1414
"
1515
>
1616
<q-item-section avatar class="q-pr-none">
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
11
{
2-
"extends": "@quasar/app-vite/tsconfig-preset",
3-
"compilerOptions": {
4-
"baseUrl": "."
5-
},
6-
"exclude": [
7-
"./dist",
8-
"./.quasar",
9-
"./node_modules",
10-
"./src-capacitor",
11-
"./src-cordova",
12-
"./quasar.config.*.temporary.compiled*"
13-
]
2+
"extends": "./.quasar/tsconfig.json"
143
}

0 commit comments

Comments
 (0)