Commit Graph

14 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
681acd8203 add now features 2026-03-01 11:50:27 +01:00