Commit Graph
140 Commits
Author SHA1 Message Date
Chris Tate b5e7251ad8 type-check after each turn 2026-01-14 18:16:24 -06:00
Chris Tate 995c2ccfa5 Merge pull request #1 from vercel-labs/vercel/vercel-web-analytics-to-nextjs-7a7zb0
Add Vercel Web Analytics to Next.js
2026-01-14 18:16:13 -06:00
Vercel 94b6bf7cbe Add Vercel Web Analytics to Next.js
Implemented Vercel Web Analytics for Next.js

Successfully installed and configured Vercel Web Analytics for the json-render project's web application.

## Changes Made:

### 1. Package Installation
- Installed `@vercel/analytics` (v1.6.1) using pnpm
- Updated apps/web/package.json with the new dependency
- Updated pnpm-lock.yaml to reflect the new dependency

### 2. Analytics Integration
- Modified `apps/web/app/layout.tsx` to import the Analytics component from '@vercel/analytics/next'
- Added the `<Analytics />` component inside the body tag, placed after the ThemeProvider div and before the closing body tag
- This configuration follows best practices for App Router projects

## Project Structure:
- Identified project uses App Router (app directory structure)
- Project uses pnpm as package manager
- Uses TypeScript (tsx files)
- Uses Next.js 16.1.1

## Verification:
✓ Build completed successfully - all 19 routes compiled without errors
✓ Linter passed with no warnings or errors (eslint --max-warnings 0)
✓ Dependencies properly installed and locked
✓ No existing code structure was broken

## Files Modified:
- apps/web/app/layout.tsx - Added Analytics import and component
- apps/web/package.json - Added @vercel/analytics dependency
- pnpm-lock.yaml - Updated lock file with new dependency

The Analytics component will now automatically collect web vitals and pageview data from the json-render application, enabling Vercel Web Analytics to track user interactions and performance metrics.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-01-15 00:11:43 +00:00
Chris Tate 3dd4350cbd 0.1.0 2026-01-14 17:13:43 -06:00
Chris Tate 2f9173e3de no zoom 2026-01-14 17:11:53 -06:00
Chris Tate b5ccdc92de simple example 2026-01-14 17:10:30 -06:00
Chris Tate 3f3fb81cd1 better copy 2026-01-14 17:05:47 -06:00
Chris Tate c5cdd784be fix zoom 2026-01-14 17:01:16 -06:00
Chris Tate 4c2376853d fix wrapping 2026-01-14 16:57:43 -06:00
Chris Tate f4654c9782 0.0.1 2026-01-14 16:54:28 -06:00
Chris Tate 0b8b14648b prepare 2026-01-14 16:53:03 -06:00
Chris Tate a2d3d358b5 fix hero 2026-01-14 16:47:01 -06:00
Chris Tate 27273c73e9 fix ai sdk examples 2026-01-14 16:44:36 -06:00
Chris Tate 5f61a330ec fix license 2026-01-14 16:43:17 -06:00
Chris Tate 68927fab79 fixes 2026-01-14 16:40:44 -06:00
Chris Tate 05fa9f9582 expand 2026-01-14 16:38:09 -06:00
Chris Tate 1b5facd804 fixes 2026-01-14 16:32:32 -06:00
Chris Tate b153a11f0c fixes 2026-01-14 16:29:55 -06:00
Chris Tate b1c2a016d0 fixes 2026-01-14 16:27:02 -06:00
Chris Tate 5eaca7151f fixes 2026-01-14 16:09:14 -06:00
Chris Tate 13b722672a fixes 2026-01-14 16:08:31 -06:00
Chris Tate cfdcdb410a improvements 2026-01-14 16:06:22 -06:00
Chris Tate 6a62971bd1 real demo 2026-01-14 15:55:43 -06:00
Chris Tate 61cc11d8fa smarter ai 2026-01-14 15:44:16 -06:00
Chris Tate 55ab12e08a fixes 2026-01-14 15:23:29 -06:00
Chris Tate 331dfc2b59 fixes 2026-01-14 13:46:47 -06:00
Chris Tate f34e6ad3e6 fixes 2026-01-14 13:45:28 -06:00
Chris Tate 7c708116de fixes 2026-01-14 13:41:51 -06:00
Chris Tate b82ff22680 model 2026-01-14 13:38:19 -06:00
Chris Tate 241a8107aa maxlength 2026-01-14 13:35:15 -06:00
Chris Tate 71ee3cc5d5 real demo 2026-01-14 13:33:33 -06:00
Chris Tate ea62ae126f fixes 2026-01-14 13:26:47 -06:00
Chris Tate a0c1bbaa77 improvements 2026-01-14 12:59:21 -06:00
Chris Tate e5df7c3f1d fixes 2026-01-14 12:57:59 -06:00
Chris Tate ee3bfd41e5 fixes 2026-01-14 12:54:34 -06:00
Chris Tate 7ddbc78d74 remove playground 2026-01-14 12:51:56 -06:00
Chris Tate 263f5123fe remove vscode 2026-01-14 12:48:27 -06:00
Chris Tate 64cfd22d96 fixes 2026-01-14 12:47:53 -06:00
Chris Tate 07e0c8b8cf fix build 2026-01-14 12:45:35 -06:00
Chris Tate 7663fb22b0 init 2026-01-14 12:43:38 -06:00