21 Commits
Author SHA1 Message Date
Martin 9d8a7b7f0c 'plugin-react-swc' -> 'plugin-react' (#168)
I upgraded several dependencies yesterday, including vite. Running `pnpm
run dev:frontend` now prints:
> [vite:react-swc] We recommend switching to `@vitejs/plugin-react` for
improved performance as no swc plugins are used. More information at
https://vite.dev/rolldown

So in this PR I switch to `@vitejs/plugin-react`. Unless you had a
specific reason to use `@vitejs/plugin-react-swc` instead?
2026-04-23 21:27:20 +02:00
Martin 5156a811cb exclude 'pg' from frontend build (#169)
closes #142
2026-04-22 19:34:43 +02:00
Martin f346dcaa73 small frontend fixes (#162) 2026-04-19 18:36:22 +02:00
MartinandMarco Pasqualetti d476f8cbe1 extract "core" package, small improvements (#137)
This PR mainly refactors the code by extracting a "core" package which
is then used by the "backend" and "frontend" apps.

Apart from this the PR also contains several smaller changes like fixing
dependabot, upgrading dependencies, aligned "package.json" files, added
tests, ...

addresses step 1 of #32 
closes #136

---------

Co-authored-by: Marco Pasqualetti <marco.pasqualetti@live.com>
2026-04-18 10:37:26 +02:00
Martin 44fc344603 enable sourcemap (#116)
Enabling sourcemap to make debugging easier. This is an open source project, so there's nothing to hide anyway.
2026-03-04 12:13:41 +01:00
Martin 6e109e50d1 restructure tests, add tests, remove dotenv (#83)
- add a few tests
- re-organize tests to allow testing with different env vars and
creating a combined coverage report
- extract test data into separate files, because importing data from
testA in testB leads to weird jest errors
- remove `dotenv` because it's not being used
- "GitHub Trends" -> "GitHub Stats Extended"
2026-02-20 19:38:16 +01:00
Martin 4ea98d333d fixes around daisyUI upgrade (#74)
Yesterday I [upgraded
daisyUI](https://github.com/stats-organization/github-stats-extended/pull/69)
from 2.x to 5.x. That changed the visuals of a few components. This PR
fixes this. Part of the fix is modernizing our tailwind setup.
2026-02-11 19:47:06 +01:00
Marco Pasqualetti d6a08721c1 feat(frontend): move fullSuffix management in a standalone file to simplify testing (#73)
- move `fullSuffix` into a standalone function
- setup `vitest` as test framework for frontend package
2026-02-11 11:21:50 +01:00
MartinandMarco Pasqualetti f64b56ae9a backend tests in ci, clean pg import (#71)
- run backend tests in CI
- clean `pg` import
- fix cyclic dependency
- fix dotenv import

---------

Co-authored-by: Marco Pasqualetti <24919330+marcalexiei@users.noreply.github.com>
2026-02-10 08:50:43 +01:00
Marco Pasqualetti 3fb7b37d75 refactor: add eslint-plugin-import-x (#65)
- related to #29
2026-02-09 09:15:46 +01:00
martin-mfg 601f2d999a different approach for 'process.env' 2026-02-07 15:36:25 +01:00
martin-mfg 7549265c8d comment: fix 'dev' command 2026-02-07 13:39:52 +01:00
martin-mfg ad30a5bd2e cleanup, remove redundant 'build-trends' 2026-02-06 17:20:49 +01:00
martin-mfg 063baf7808 fix typo 2026-02-06 16:53:38 +01:00
martin-mfg d28e11696e use different env define 2026-02-06 16:50:26 +01:00
martin-mfg db7e859f9e remove 'process.env' define 2026-02-06 13:46:16 +01:00
martin-mfg ef0518a44c exclude 'process' polyfill 2026-02-06 13:36:01 +01:00
martin-mfg ccc9958621 disable minify 2026-02-06 12:18:19 +01:00
Marco Pasqualetti 6d17615750 feat(frontend): adds typescript-eslint 2026-01-31 02:27:04 +01:00
Marco Pasqualetti 24907643ac feat(frontend): convert to ts (#37)
* feat(frontend): convert to ts

* refactor(frontend): axios-override - simplify shouldMock type

* fix: refine stage labels

* refactor(frontend): refine `useUserId` signature

* fix(frontend): descriptionLines and langsCount can be undefined

* refactor(frontend): refine casting on redirectCode

* refactor(frontend): refine stageIndex title and types

* refactor(frontend): apply pr review comments changes

* refactor(frontend): group properties using reference groups

* refactor(frontend): remove outdated comment

* fix(frontend): mock-http - simplify code
2026-01-29 09:42:25 +01:00
Marco Pasqualetti 58e02dae29 feat: replace create-react-app with vite (#34)
* feat: replace `create-react-app` with `vite`

* fix: correct axios-override extension

* chore: add more extensions to lint-staged
2026-01-25 12:20:17 +01:00