cameras/scripts
Michael Mainguy daaecb7452 Fix the published package: compile the CLI, bundle onvif (0.1.1)
Installing 0.1.0 failed twice, both my mistakes.

- Node refuses to strip types under node_modules, so shipping .ts for the
  CLI could never work from an installed package. tsconfig.cli.json now
  compiles those modules to dist/ as ES modules, and the helper scripts
  are plain .mjs.
- serverExternalPackages made Turbopack emit require("onvif-<hash>"),
  a name that resolves nowhere, because onvif comes from a git URL.
  Bundling it fixes that; checked from an installed tarball, where
  /api/discover answered 200 and a real camera's info and snapshot came
  back through the packaged server.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 19:21:53 -05:00
..
bundle-standalone.mjs Fix the published package: compile the CLI, bundle onvif (0.1.1) 2026-09-19 19:21:53 -05:00
camera-check.ts Add ONVIF camera app with a server-rendered camera dashboard 2026-09-19 08:40:32 -05:00
create-admin.mjs Fix the published package: compile the CLI, bundle onvif (0.1.1) 2026-09-19 19:21:53 -05:00
create-admin.test.ts Fix the published package: compile the CLI, bundle onvif (0.1.1) 2026-09-19 19:21:53 -05:00
install-mediamtx.mjs Fix the published package: compile the CLI, bundle onvif (0.1.1) 2026-09-19 19:21:53 -05:00
probe-debug.mjs Add ONVIF camera app with a server-rendered camera dashboard 2026-09-19 08:40:32 -05:00