data-peek/apps/docs/package.json

43 lines
1.1 KiB
JSON
Raw Normal View History

{
2025-11-30 16:58:59 +00:00
"name": "docs",
"private": true,
2025-11-30 16:58:59 +00:00
"sideEffects": false,
"type": "module",
"scripts": {
2025-11-30 16:58:59 +00:00
"dev": "vite dev",
"build": "vite build",
"start": "node .output/server/index.mjs",
"types:check": "fumadocs-mdx && tsc --noEmit",
"postinstall": "fumadocs-mdx"
},
"dependencies": {
2025-11-30 16:58:59 +00:00
"@tanstack/react-router": "^1.134.12",
"@tanstack/react-router-devtools": "^1.134.12",
"@tanstack/react-start": "^1.134.12",
Install Vercel Web Analytics (#130) ## Vercel Web Analytics Installation Successfully installed and configured Vercel Web Analytics for the data-peek documentation site. ### Implementation Details **Framework Identified:** TanStack Start (React-based framework with Nitro) **Changes Made:** 1. **Package Installation** - Added `@vercel/analytics` (v2.0.1) to `apps/docs/package.json` - Package installed using pnpm as per project's package manager - Updated `pnpm-lock.yaml` to reflect new dependency 2. **Analytics Configuration** - Modified `apps/docs/src/routes/__root.tsx`: - Added import: `import { Analytics } from "@vercel/analytics/react"` - Added `<Analytics />` component to the RootDocument body, placed before the `<Scripts />` component **Implementation Approach:** Following the official Vercel Analytics documentation (fetched from https://vercel.com/docs/analytics/quickstart), I: - Used the React-specific package `@vercel/analytics/react` - Added the `<Analytics />` component to the root layout where it can track all page views - Positioned it before the `<Scripts />` component in the body to ensure proper initialization - The component automatically detects the environment (production/development) via NODE_ENV - In production (when deployed to Vercel), the analytics will be active; in development, it will use debug mode **Build Verification:** ✅ Build completed successfully (`pnpm run build`) ✅ No TypeScript errors related to the Analytics integration ✅ Package installed without conflicts ✅ Existing functionality preserved **Next Steps for Deployment:** To enable analytics data collection, the project owner needs to: 1. Visit the Vercel dashboard for this project 2. Navigate to the Analytics section 3. Click "Enable" to activate Web Analytics 4. Deploy the updated code to Vercel Once deployed and enabled in the dashboard, analytics will automatically track page views and web vitals. Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-04-02 12:27:36 +00:00
"@vercel/analytics": "^2.0.1",
feat: overhauled marketing website and documentation with high-end animations (#150) * feat: revamped marketing website and documentation with high-end animations and glassmorphism - Redesigned marketing site (apps/web) with a terminal-inspired, professional aesthetic. - Implemented Hero v2 with cinematic, spring-based animations matching the release video. - Added interactive Pokemon Buddy draggable widget inspired by the desktop app. - Integrated react-scan for performance auditing. - Applied consistent glassmorphism, border-flow animations, and Geist Mono typography. - Revamped Databases, Blog, Comparison, and Download pages for visual consistency. - Updated documentation (apps/docs) landing page with matching motion choreography and living background. - Fixed fs module resolution issues in the web app and optimized build stability for React 19. * chore(docs): remove internal marketing playbook and tracker files Remove Reddit playbook and analytics tracker docs from the public documentation set, and update marketing navigation to keep the docs section consistent. Made-with: Cursor * fix: address review feedback for marketing overhaul - Extract download page metadata into layout.tsx (SEO regression fix) - Move react-scan to devDependencies, dynamic import to avoid prod bundle - Soften unverified '10,000+ developers' claim in CTA - Restore StructuredData for FAQ rich snippets - Restore close-on-scroll for mobile menu in header - Remove `as any` spreads from motion.div — use className directly - Gate Pokemon buddy behind NEXT_PUBLIC_ENABLE_POKEMON_BUDDY flag - Fix mood interval priority inversion (excited was unreachable) * chore: add lock file * feat: add framer-motion animations to docs pages --------- Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2026-04-07 12:19:02 +00:00
"framer-motion": "12.38.0",
2025-11-30 16:58:59 +00:00
"fumadocs-core": "16.2.1",
"fumadocs-mdx": "14.0.4",
"fumadocs-ui": "16.2.1",
"lucide-static": "^0.552.0",
feat: overhauled marketing website and documentation with high-end animations (#150) * feat: revamped marketing website and documentation with high-end animations and glassmorphism - Redesigned marketing site (apps/web) with a terminal-inspired, professional aesthetic. - Implemented Hero v2 with cinematic, spring-based animations matching the release video. - Added interactive Pokemon Buddy draggable widget inspired by the desktop app. - Integrated react-scan for performance auditing. - Applied consistent glassmorphism, border-flow animations, and Geist Mono typography. - Revamped Databases, Blog, Comparison, and Download pages for visual consistency. - Updated documentation (apps/docs) landing page with matching motion choreography and living background. - Fixed fs module resolution issues in the web app and optimized build stability for React 19. * chore(docs): remove internal marketing playbook and tracker files Remove Reddit playbook and analytics tracker docs from the public documentation set, and update marketing navigation to keep the docs section consistent. Made-with: Cursor * fix: address review feedback for marketing overhaul - Extract download page metadata into layout.tsx (SEO regression fix) - Move react-scan to devDependencies, dynamic import to avoid prod bundle - Soften unverified '10,000+ developers' claim in CTA - Restore StructuredData for FAQ rich snippets - Restore close-on-scroll for mobile menu in header - Remove `as any` spreads from motion.div — use className directly - Gate Pokemon buddy behind NEXT_PUBLIC_ENABLE_POKEMON_BUDDY flag - Fix mood interval priority inversion (excited was unreachable) * chore: add lock file * feat: add framer-motion animations to docs pages --------- Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2026-04-07 12:19:02 +00:00
"motion-dom": "^12.38.0",
"motion-utils": "^12.36.0",
2025-11-30 16:58:59 +00:00
"react": "^19.2.0",
"react-dom": "^19.2.0",
"tailwind-merge": "^3.3.1",
"vite": "^7.2.0"
},
"devDependencies": {
2025-11-30 16:58:59 +00:00
"@tailwindcss/vite": "^4.1.16",
"@types/mdx": "^2.0.13",
2025-11-30 16:58:59 +00:00
"@types/node": "^24.10.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^5.1.0",
"nitro": "3.0.1-alpha.1",
"tailwindcss": "^4.1.16",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^5.1.4"
}
}