6 Commits

Author SHA1 Message Date
ea469efea3
use tsup (#652) 2026-02-14 21:51:59 +00:00
e074d52e8a
fix(backend): fix build for backend without dev dependencies (#651)
* fix build for backend without dev dependencies

* fix lint
2026-02-14 21:28:09 +00:00
33310a43c5
refactor(other): eslint config it4c advanced (#650)
* rename test:lint:eslint to lint and update eslint-config-it4c package

* simplify config and make it ts

* jest update & ts

* suppress server logging output in tests

* remove test node_env as it is default for jest

* use eslint-config-it4c

* packages = module

* fix tailwind as ts

* eslitn autofix

* more fixes

* tsconfig & some eslint rules

* fixes

* more fixes

* more exceptions

* do not allow warnings

* fix config

* ignore vuepress generated configs

* ts include fix
2026-02-14 17:34:37 +01:00
8b6064bd59
fix(backend): fix typebox package & update packages (#638)
* update packages & audit fix

* fix typebox

* fix jest running esm

* fix package update correctly

* fix esm jest types

* fix lint

* exclude tests from build

* ffix lintfix lint
2026-02-09 12:28:29 +01:00
f00e9f8558
feat(backend): configure eslint to use eslint-config-it4c (#634)
* configure eslint to use eslint-config-it4c

* update node version (note: this requires an update on the hosting alpine)

* use node 24.13.0

* another transitive package

* update eslint-config-it4c

* fix lint

* fix config

* fix packages

* update eslint-config-it4c package

* another package update

* update package

* update package

* lint fixes

* use prettier config from eslint-config-it4c

* package update

* package update

* update package

* reduce config

* fix lint

* remove node_modules from ignore as it is the default for eslint9

* update package

* fix lint
2026-02-06 06:53:45 +01:00
73f51b8bc4
feat(other): backend - mail api for it4c (#231)
* backend - mail api for it4c

Implements an fastify backend service with an email service.
This allows to send us emails received via contact form on the website.

* optional telephone

* missing text delimiter

* start command and correct build method to classicjs

* deploy for backend & adjust README.md

* debug deploy [1]

* debug deploy [2]

* debug deploy [3]

* debug deploy [4]

* debug deploy [5]

* finish deploy script

* watch when running npm run dev

* fix format validation

* debug sendmail[1]

* debug sendmail[2]

* debug sendmail[3]

* debug sendmail[4]

* debug sendmail[5]

* env for MAIL_HOST

* referece name in email subject

* fix format string

* eslint

* backend build & lint workflows

* order comments

* unit tests

* unit test workflow

* prettier

* alias paths

* fix esm support

* 100% tests

* corrected nodejs version

* use beforeEach to clearAllMocks

This simplifies the code and reduces redundancy

* fix wrong import
2025-03-07 10:32:56 +01:00