Skip to content

Commit 954dc8d

Browse files
committed
Bump dependencies & migrate to latest sass
Vite config to prevent issues with HMR? vuejs/core#13202 (comment)
1 parent a381871 commit 954dc8d

11 files changed

Lines changed: 1386 additions & 914 deletions

File tree

package-lock.json

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

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,26 +72,26 @@
7272
"test:update-snapshots": "playwright test --update-snapshots --reporter=line"
7373
},
7474
"devDependencies": {
75-
"@eslint/js": "^9.39.2",
76-
"@gouvfr/dsfr": "^1.14.3",
77-
"@playwright/test": "^1.58.2",
78-
"@storybook/web-components-vite": "^10.2.9",
79-
"@types/node": "^25.2.3",
80-
"@vitejs/plugin-vue": "^6.0.4",
75+
"@eslint/js": "^10.0.1",
76+
"@gouvfr/dsfr": "^1.14.4",
77+
"@playwright/test": "^1.59.1",
78+
"@storybook/web-components-vite": "^10.3.5",
79+
"@types/node": "^25.6.0",
80+
"@vitejs/plugin-vue": "^6.0.6",
8181
"chart.js": "^4.5.1",
8282
"chroma-js": "^3.2.0",
8383
"concurrently": "^9.2.1",
8484
"d3-scale": "^4.0.2",
85-
"eslint": "^9.39.2",
86-
"eslint-plugin-storybook": "^10.2.9",
85+
"eslint": "^10.2.0",
86+
"eslint-plugin-storybook": "^10.3.5",
8787
"eslint-plugin-vue": "^10.8.0",
88-
"globals": "^17.3.0",
88+
"globals": "^17.5.0",
8989
"@jpinsonneau/html-to-image": "1.11.13",
9090
"lit": "^3.3.2",
91-
"sass": "1.79.6",
91+
"sass": "^1.99.0",
9292
"standard": "^17.1.2",
93-
"storybook": "^10.2.9",
94-
"vite": "^7.3.1",
95-
"vue": "^3.5.28"
93+
"storybook": "^10.3.5",
94+
"vite": "^8.0.8",
95+
"vue": "3.5.29"
9696
}
9797
}

src/components/DataBox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,5 +591,5 @@ const screenshotChart = () => {
591591
</script>
592592
593593
<style scoped lang="scss">
594-
@import '@/styles/DataBox.scss';
594+
@use '@/styles/DataBox.scss';
595595
</style>

src/components/GaugeChart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ export default {
168168
</script>
169169

170170
<style scoped lang="scss">
171-
@import '@/styles/GaugeChart.scss';
171+
@use '@/styles/GaugeChart.scss';
172172
</style>

src/components/MapChart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,5 +617,5 @@ export default {
617617
</script>
618618

619619
<style scoped lang="scss">
620-
@import '@/styles/MapChart.scss';
620+
@use '@/styles/MapChart.scss';
621621
</style>

src/components/MapChartReg.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,5 +461,5 @@ export default {
461461
</script>
462462

463463
<style scoped lang="scss">
464-
@import '@/styles/MapChart.scss';
464+
@use '@/styles/MapChart.scss';
465465
</style>

src/components/MapInfo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ const gradient = computed(() => `linear-gradient(90deg,${props.data.colorMin} 0%
7474
</script>
7575

7676
<style scoped lang="scss">
77-
@import '@/styles/MapInfo.scss';
77+
@use '@/styles/MapInfo.scss';
7878
</style>

src/styles/MapChart.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
text-overflow: ellipsis;
3939
white-space: normal;
4040
display: -webkit-box;
41+
display: -ms-flexbox;
42+
display: flex;
4143
line-clamp: 2;
4244
-webkit-line-clamp: 2;
4345
-webkit-box-orient: vertical;

src/styles/Tooltip.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
text-overflow: ellipsis;
2323
white-space: normal;
2424
display: -webkit-box;
25+
display: -ms-flexbox;
26+
display: flex;
2527
line-clamp: 2;
2628
-webkit-line-clamp: 2;
2729
-webkit-box-orient: vertical;

src/styles/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@import 'Tooltip';
2-
@import 'Legend';
1+
@use 'Tooltip';
2+
@use 'Legend';
33

44
.chart canvas {
55
max-width: 100%;

0 commit comments

Comments
 (0)