1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Nuno Góis
17d3f67ec1
chore: upgrade vitest to 3.0.6 (#9337)
https://linear.app/unleash/issue/2-3296/upgrade-vitest

Follow-up to https://github.com/Unleash/unleash/pull/9212

The ☝️ PR was failing some tests because `chartjs-adapter-date-fns` is
imported as a [side
effect](https://stackoverflow.com/questions/41127479/es6-import-for-side-effects-meaning)
and seems to be CommonJS-only. When Vitest loads it, it fails to find
named exports (like `_adapters`). By inlining `chartjs-adapter-date-fns`
in our Vitest test config, esbuild transforms it into a proper ES module
for testing.

Additionally, we’re upgrading from v1.4.0 to v3.0.6 directly since our
code seems to be fully compatible.
>Vitest requires Vite >=v5.0.0 and Node >=v18.0.0
2025-02-20 14:24:28 +00:00
Jaanus Sellin
76bf6dbcb8
fix: active flags double stale flags (#8673)
Do not count stale flags as potentially stale flags to remove
duplicates.
Stale flags feel like more superior state and it should not show up
under potentially stale.
2024-11-06 15:04:07 +02:00
Jaanus Sellin
1b568d1503
chore: update SCSS preprocessor API to modern-compiler (#8659)
Configured SCSS preprocessor options to use the `modern-compiler` API,
aligning with the new Sass API standards and preparing for Dart Sass
2.0.0. This change prevents deprecation warnings and ensures future
compatibility by transitioning away from the legacy JS API.


https://sass-lang.com/documentation/breaking-changes/legacy-js-api/

Got rid of 
![Screenshot from 2024-11-05
15-25-09](https://github.com/user-attachments/assets/c13827de-6ab4-40ab-af4c-d1a4f8cb7b3e)
2024-11-06 13:55:44 +02:00
Jaanus Sellin
1d3394262f
fix: fix assets not showing up (#5757)
After upgrading vite https://github.com/Unleash/unleash/pull/5703, small
icons are not popping up anymore. Disabling inlining assets to make it
work again.


![image](https://github.com/Unleash/unleash/assets/964450/54d33a22-5eaf-4a79-ac67-34092549803d)
2024-01-04 12:11:42 +02:00
Mateusz Kwasniewski
f3ca4f0c54
chore: upgrading vite to newer version (#5703) 2023-12-20 14:48:18 +01:00