* The dpdm dependency was used just for checking circular dependencies in the bundle. However, it was not perfect, not analyzing the real bundle, but the source files. We were just leveraging Rollup's (Vite internal bundler) warnings for that already when analyzing the bundle, which always gave us the real information. Now, `analyze` consists in 2 different commands (analyze:bundle for the bundle and analyze:cycles for finding cycles)
* The npm commands have been grouped by scope
* Extracted analyze Vite commands to a plugin, so the main config is cleaner.
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
This dependency is updated independently from #2434 for
avoiding the duplicate `node_modules` directory that `eslint-plugin-sonarjs` creates
in the `frontend` directory.
That issue will be solved until `eslint-plugin-sonarjs` updates to typescript-eslint v8
This commit also allows us to unblock other dependency updates, like #2422, which was blocked because it contained the old `eslint-plugin-import-x` that still relied on `typescript-eslint` v7,
causing the same issue as `eslint-plugin-sonarjs` is causing now.
Signed-off-by: GitHub <noreply@github.com>
* Simplify config
* Add depend and unocss
* Re-introduce @stylistic/padding-lines-between-statements
* Delete .eslintrc.bak since ESLint v9 config is mostly
stable and there's no much useful info there that couldn't be
checked by simply going back in git history (it was left here
for keeping it a hand when migrating rules while
plugins were still migrating to v9).
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
It's a beta, but given Tauri support is currently given in a
best-effort basis, it's worth upgrading.
* It allows us to use SVG icons
* Faster to build in CI
It will also help us play with mobile builds in the future.
Signed-off-by: GitHub <noreply@github.com>
We added Radix-Vue to use their Slot component, but we have our own which is functional and more performant. I'm also still not convinced they must be our way forward for replacing Vuetify.
Also upgrade vue-router dependencies given our lockfile is currently broken due to eslint v9 and we still need manual changes to remove all the `vue-router/auto` imports (they're in another commit)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
Much better to use a plugin explicitly aimed to work with ESLint. Is also maintained by antfu, which gives extra confidence
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>