mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
A version written into a manifest is written into every manifest that wants it, which is how eslint came to exist in a hundred and four forms across this estate and how a package came to resolve twice at run time. The catalog moves the number out of the manifest: a manifest names the package, the workspace names the version. Four are held below their latest because the newer release cannot be used, and the reason is recorded rather than the version alone: @noble/hashes 2 renamed every subpath the web3 stack imports, @splinetool/runtime 2 depends on a package that was never published, @dynamic-labs 5.4.1 the same, and react-resizable-panels 3 points its types condition at the bundle.
Insights Remix Playground
This is a basic Remix application demonstrating Insights integration following the official Insights Remix documentation.
Features
- Automatic pageview tracking with
capture_pageview: 'history_change' - Custom event capture using Insights React hooks
- Insights React Provider integration
- Proper Vite configuration for SSR support
- Navigation header for multi-page testing
- Media page with base64 images for replay testing
Setup
Quick Start
Run the automated setup script:
./bin/localdev.sh
This will:
- Build the Insights packages from the repo root
- Create tarballs in the target directory
- Set up symlinks
- Install dependencies
- Start the dev server
Manual Setup
- Build and package Insights libraries from the repo root:
cd ../..
pnpm build
pnpm package
- Return to the Remix playground and install dependencies:
cd playground/remix
pnpm install
- Start the development server:
pnpm dev
- Open http://localhost:5173 in your browser
Example Pages
- Home (
/) - Main page with custom event capture button - Media (
/media) - Base64 image generation and testing for session replay