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.

336 B
Raw Blame
const userAgent = process.env.npm_config_user_agent ?? "";

if (userAgent.startsWith("pnpm/")) {
  process.exit(0);
}

console.error(
  [
    "This repository must be installed with pnpm.",
    "Use `pnpm install` so the workspace minimumReleaseAge policy and exclusions are applied consistently.",
  ].join("\n"),
);

process.exit(1);