Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(desktop): add a hosthog:build script for the web edition (#78903)

Sven Lange6a0f092210f0
diff --git a/products/desktop/package.json b/products/desktop/package.json
index 47a7ec046539..df267aaf6080 100644
--- a/products/desktop/package.json
+++ b/products/desktop/package.json
@@ -37,7 +37,8 @@
"format": "biome format --write",
"clean": "pnpm -r clean",
"knip": "knip",
- "skills:pull": "node scripts/pull-skills.mjs"
+ "skills:pull": "node scripts/pull-skills.mjs",
+ "hosthog:build": "pnpm install --frozen-lockfile --ignore-scripts --filter @posthog/web... && pnpm exec turbo build --filter=@posthog/web && ln -sfn apps/web/dist dist"
},
"keywords": [
"posthog",