Files
zeekay e43ab1afe7 chore: rename all PostHog references to Insights/Hanzo
Bulk rename across 989 files:
- Package names: posthog-js → @hanzo/insights, posthog-node → @hanzo/insights-node, etc.
- Repository URLs: posthog/posthog-js → hanzoai/insights-js
- Brand names: PostHog → Insights
- File renames: 259 reference JSON files, source files, workflow files
- Directory rename: eslint-plugin-posthog-js → eslint-plugin-insights

Remaining: 8 refs to @posthog/rrweb-* (real npm deps, need fork+publish)
2026-03-06 01:41:12 -08:00

23 lines
692 B
TypeScript

/* eslint-env node */
import { withInsightsConfig } from '@insights/nextjs-config'
import packageJson from './package.json' with { type: 'json' }
const nextConfig = {
/* config options here */
}
export default withInsightsConfig(nextConfig, {
personalApiKey: process.env.INSIGHTS_PERSONAL_API_KEY!,
projectId: process.env.INSIGHTS_PROJECT_ID!,
host: process.env.NEXT_PUBLIC_INSIGHTS_API_HOST,
cliBinaryPath: process.env.INSIGHTS_CLI_PATH, // Optional
logLevel: 'debug',
sourcemaps: {
releaseName: 'example-nextjs',
releaseVersion: packageJson.version,
deleteAfterUpload: true,
batchSize: 50, // Optional. Default to 50
},
})