Commit Graph

63 Commits

Author SHA1 Message Date
Matthias Hochmeister
a880e56bb1 fix: use node:20-alpine in sync builder, matching backend Dockerfile
node:20-slim picks up the Apple npm proxy which blocks installs.
node:20-alpine does not. Also add PATH for node_modules/.bin so tsc
is found, and remove committed dist/ since the build now works properly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:56:37 +01:00
Matthias Hochmeister
02797554aa fix: commit pre-compiled dist and simplify sync Dockerfile
Server npm proxy silently drops devDependencies, making TypeScript
unavailable in Docker. Solution: compile locally and commit dist/.
Dockerfile now only needs prod deps + Playwright, both of which
install cleanly via the public registry.

Also fix TS2688/TS2304 errors: add DOM to tsconfig lib and cast
querySelectorAll results to Element inside $$eval callbacks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:51:48 +01:00
Matthias Hochmeister
acd1506df8 fix: remove --ignore-scripts from npm install in sync builder
--ignore-scripts prevented @types/* packages from being installed,
causing tsc to fail on missing type definitions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:48:32 +01:00
Matthias Hochmeister
fad71d32fe fix: install typescript globally and use --ignore-scripts to avoid proxy failures
Install tsc globally so it's available on PATH regardless of
devDependency resolution issues. Use --ignore-scripts and explicit
registry to work around Apple npm proxy interference.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:46:14 +01:00
Matthias Hochmeister
2eeb206663 fix: copy node_modules from build context instead of running npm install
The server's npm proxy intercepts and silently fails devDependency
installs inside Docker. Bundle node_modules directly from the local
checkout where they are known-good.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:45:02 +01:00
Matthias Hochmeister
f559313eae fix: use public npm registry in sync builder to avoid Apple registry failures
npm.apple.com causes silent install failures for devDependencies inside
the Docker build context. Explicitly use registry.npmjs.org for the
builder stage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:42:37 +01:00
Matthias Hochmeister
c4d9be9027 debug: verify tsc presence after npm install in sync builder
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:39:34 +01:00
Matthias Hochmeister
9f5ef15590 fix: set NODE_ENV=development in sync builder to install devDependencies
node:20-slim defaults NODE_ENV=production which causes npm to skip dev
deps (typescript, ts-node), preventing tsc from being found.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:36:32 +01:00
Matthias Hochmeister
dee27200ce fix: use npm install and explicit package-lock.json COPY in sync Dockerfile
Avoids stale Docker layer cache issue where tsc was not found because
an old npm ci layer (without dev deps) was cached on the build host.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:33:42 +01:00
Matthias Hochmeister
e6c2a01b8a add now features 2026-03-01 12:36:53 +01:00
Matthias Hochmeister
3b7e1d0ed9 add now features 2026-03-01 12:14:38 +01:00
Matthias Hochmeister
2e08eef04e add now features 2026-03-01 12:11:39 +01:00
Matthias Hochmeister
e5986b5a8b add now features 2026-03-01 12:08:41 +01:00
Matthias Hochmeister
c5da8b07ae add now features 2026-03-01 12:03:11 +01:00
Matthias Hochmeister
681acd8203 add now features 2026-03-01 11:50:27 +01:00
Matthias Hochmeister
73ab6cea07 fix make 2026-02-28 17:38:49 +01:00
Matthias Hochmeister
4476ca82de fix login error 2026-02-28 17:35:57 +01:00
Matthias Hochmeister
e2be29c712 refine vehicle freatures 2026-02-28 17:19:18 +01:00
Matthias Hochmeister
0e81eabda6 fix: add React Router v7 future flags and defensive null guard for wartungslog 2026-02-28 16:10:26 +01:00
Matthias Hochmeister
f7b5261ad9 rework vehicle handling 2026-02-28 14:43:46 +01:00
Matthias Hochmeister
bb54af4630 rework vehicle handling 2026-02-28 14:30:20 +01:00
Matthias Hochmeister
b7b883649c rework vehicle handling 2026-02-28 14:13:56 +01:00
Matthias Hochmeister
06f94a6a48 rework vehicle handling 2026-02-28 14:02:31 +01:00
Matthias Hochmeister
1e478479be rework vehicle handling 2026-02-28 13:57:41 +01:00
Matthias Hochmeister
41fc41bee4 rework vehicle handling 2026-02-28 13:34:16 +01:00
Matthias Hochmeister
84cf505511 featur add fahrmeister 2026-02-27 21:55:13 +01:00
Matthias Hochmeister
dbe4f52871 featur add fahrmeister 2026-02-27 21:46:50 +01:00
Matthias Hochmeister
da4a56ba6b fix backend 2026-02-27 21:08:52 +01:00
Matthias Hochmeister
35d3fa0f16 fix backend 2026-02-27 20:49:35 +01:00
Matthias Hochmeister
d7a0d18899 fix backend 2026-02-27 20:46:21 +01:00
Matthias Hochmeister
8b3842a9fc fix backend 2026-02-27 20:39:11 +01:00
Matthias Hochmeister
46d3f5b351 add features 2026-02-27 20:33:43 +01:00
Matthias Hochmeister
e2713e25ba add features 2026-02-27 19:57:13 +01:00
Matthias Hochmeister
1c93399841 add features 2026-02-27 19:55:31 +01:00
Matthias Hochmeister
58fa420fea add features 2026-02-27 19:53:58 +01:00
Matthias Hochmeister
620bacc6b5 add features 2026-02-27 19:50:14 +01:00
Matthias Hochmeister
c5e8337a69 add features 2026-02-27 19:47:20 +01:00
Matthias Hochmeister
44e22a9fc6 fix authentication 2026-02-27 19:05:18 +01:00
Matthias Hochmeister
36ffe7e88e fix login 2026-02-27 14:42:51 +01:00
Matthias Hochmeister
2a70c274fb update env setup 2026-02-27 14:13:50 +01:00
Matthias Hochmeister
44c7958980 update env setup 2026-02-27 14:10:27 +01:00
Matthias Hochmeister
5e20cb9537 Merge branch 'main' of https://git.feuerwehr-rems.at/matthias/dashboard 2026-02-27 14:02:19 +01:00
Matthias Hochmeister
1c6c59c199 fix URLs 2026-02-27 14:02:03 +01:00
root
b86f3022f7 Merge branch 'main' of https://git.feuerwehr-rems.at/matthias/dashboard 2026-02-27 13:47:35 +01:00
Matthias Hochmeister
04d4f89834 fix docker networks 2026-02-27 13:47:17 +01:00
Matthias Hochmeister
abd7c041f4 resolve build error 2026-02-26 16:30:07 +01:00
root
e945cefbd3 fix frontend npm 2026-02-26 16:26:12 +01:00
Matthias Hochmeister
deabad167c resolve build error 2026-02-26 16:18:21 +01:00
Matthias Hochmeister
6c24077148 resolve build error 2026-02-26 16:08:27 +01:00
Matthias Hochmeister
971ce3850c fix: upgrade npm in Docker builder to fix Invalid Version error
npm 11 (used locally, Node 25) generates package-lock.json entries for
  optional platform packages without a 'version' field. npm 10.8.2 bundled
  in node:20-alpine rejects these with 'Invalid Version:' during npm ci.

  Upgrade npm to latest inside the builder stage before running npm ci.

  Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 15:37:00 +01:00