Files

27 lines
575 B
JSON
Raw Permalink Normal View History

{
"name": "website",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --webpack",
"build": "next build --webpack",
"start": "next start"
},
"dependencies": {
"@sparticuz/chromium": "^147.0.0",
Install Vercel Web Analytics # Vercel Web Analytics Installation Report ## Summary Successfully installed and configured Vercel Web Analytics for the Next.js website following the latest official Vercel documentation. ## Changes Made ### 1. Package Installation - Installed `@vercel/analytics` package (version 1.4.1) using npm - Updated `website/package.json` to include the new dependency - Updated `website/package-lock.json` with resolved dependencies ### 2. Code Integration Modified `website/app/layout.js`: - Added import statement: `import { Analytics } from '@vercel/analytics/next';` - Added `<Analytics />` component inside the `<body>` tag, after the `{children}` prop - Preserved all existing code structure and formatting ### Implementation Details The Analytics component was added to the root layout file (`app/layout.js`) following the Next.js App Router pattern as specified in the official Vercel documentation. This ensures that analytics tracking is active across all pages of the website. The component placement inside the body tag (after children) is the recommended approach from Vercel's documentation, allowing the analytics script to load after the main content. ### Build Verification - Successfully ran `npm run build` in the website directory - Build completed without errors - All 7 pages/routes compiled successfully - No TypeScript errors or warnings ## Next Steps To enable analytics data collection: 1. Deploy the website to Vercel 2. Enable Web Analytics in the Vercel dashboard under the Analytics section 3. After deployment, analytics will automatically start collecting visitor data 4. Data will be available in the dashboard after a few days of traffic ## Files Modified - `website/app/layout.js` - Added Analytics component - `website/package.json` - Added @vercel/analytics dependency - `website/package-lock.json` - Updated with new package resolutions Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-04-21 21:19:47 +00:00
"@vercel/analytics": "^2.0.1",
Wave 2 hero — live streaming extraction (#22) * feat(website): url safety guard Blocks SSRF vectors before we hand the URL to Playwright: localhost, *.local, *.localhost, IPv4 private ranges (10/8, 172.16/12, 192.168/16, 127/8, 169.254/16), IPv6 loopback/unique-local/link-local, file://, javascript:, and non-80/443 ports. Pure function, no DNS — DNS-rebind defense is Wave 3. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * feat(website): per-IP rate limiter (memory + optional KV) Per-key sliding window limiter, default 3 hits per 24h. Map is per-instance on Fluid Compute — documented tradeoff; Vercel BotID at middleware (future PR) covers the cross-region gap. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * feat(website): streaming /api/extract with v7.0 outputs and rate limit Rewrites the route to emit NDJSON events (stage, token, summary, files, cache, error) so the hero can paint tokens as they resolve. Output map now includes DTCG tokens, iOS/Android/Flutter/WordPress block theme, MCP companion JSON, and agent rules — everything the CLI writes for `--platforms all --emit-agent-rules`. URL validation routed through url-safety; per-IP budget through rate-limit. Cache module is a stub — full Blob implementation lands in B.5; this commit wires the call sites so the route is complete. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * feat(website): hero stream renderer with live token paint HeroExtractor reads NDJSON from /api/extract and paints as events arrive: color swatches fade in left-to-right, type sample renders in the detected font family, dimension bars grow by px, summary numerals resolve at the end. Download-all-zip and copy-markdown buttons reveal when the final files event lands. 429/400/500 paths each surface a tuned error copy. Replaces the static form in page.js. Motion is pure CSS keyframe + prefers-reduced-motion kill switch — no Framer Motion. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * feat(website): cache extractions in Vercel Blob for 24h Install @vercel/blob so the cache module (added in B.3) can read/write extraction payloads. cache.js already implements cacheKey (sha-256 of normalized URL), getCached (fetches Blob, enforces own 24h TTL via generatedAt), and putCached (writes JSON with expiresAt metadata). Route wires a `{type:'cache',cached:true}` event on hit, then replays stages/tokens/summary/files in the same NDJSON shape. Missing BLOB_READ_WRITE_TOKEN logs once and skips — local dev stays quiet. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 15:31:28 +04:00
"@vercel/blob": "^2.3.3",
"@vercel/speed-insights": "^2.0.0",
"jszip": "^3.10.1",
website: real logo, motion testimonials, polished footer, real gallery Logo - New brand-mark.svg: stacked rounded squares (back layer rotated, front layer with a single bright "extracted token" dot in the corner). Red gradient. Embedded in the nav with a hover wobble. Footer - Replaces the basic 4-col footer with a proper 5-section layout: brand block (logo + tagline + npm/GitHub CTAs), 4 link columns (Product, Install, Integrations, Crawlers), an outlined giant "designlang" wordmark behind the columns, and a bottom strip with v12.11.0, a green pulsing "all systems live" LED, author credit and copyright. Reddit testimonials - Replaces the static 6-card grid with an auto-scrolling 3-column marquee (motion/react) that shows the actual r/ClaudeAI launch comments. Each card has a coloured initial avatar, the subreddit, the user, the body, and a working "open ↗" link to the thread. Real gallery - Ran npx designlang against stripe.com, linear.app, vercel.com, notion.so, figma.com, apple.com, arc.net and spotify.com. The full extraction outputs (DTCG tokens, Tailwind config, brand book HTML, preview, etc.) are committed under website/public/gallery/<slug>/. - The landing's "Real extractions, on this site" cards now use the brands' actual extracted primary + accent colours for the cover gradient, render the brand favicon (icon.horse) as the cover badge, and link directly to /gallery/<slug>/brand.html — the real brand book the CLI produced. Adds: motion ^x.x dependency. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 02:23:09 +04:00
"motion": "^12.38.0",
chore(deps): bump the npm_and_yarn group across 2 directories with 4 updates (#187) Bumps the npm_and_yarn group with 1 update in the /vscode-extension directory: [js-yaml](https://github.com/nodeca/js-yaml). Bumps the npm_and_yarn group with 2 updates in the /website directory: [next](https://github.com/vercel/next.js) and [baseline-browser-mapping](https://github.com/web-platform-dx/baseline-browser-mapping). Updates `js-yaml` from 4.3.1 to 4.3.2 - [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/4.3.1...4.3.2) Updates `next` from 16.3.2 to 16.3.4 - [Release notes](https://github.com/vercel/next.js/releases) - [Commits](https://github.com/vercel/next.js/compare/v16.3.2...v16.3.4) Updates `baseline-browser-mapping` from 2.10.19 to 2.11.22 - [Release notes](https://github.com/web-platform-dx/baseline-browser-mapping/releases) - [Commits](https://github.com/web-platform-dx/baseline-browser-mapping/compare/v2.10.19...v2.11.22) Updates `sharp` from 0.35.3 to 0.35.4 - [Release notes](https://github.com/lovell/sharp/releases) - [Commits](https://github.com/lovell/sharp/compare/v0.35.3...v0.35.4) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.3.2 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: next dependency-version: 16.3.4 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: baseline-browser-mapping dependency-version: 2.11.22 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: sharp dependency-version: 0.35.4 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-11 04:48:19 +00:00
"next": "16.3.4",
"ogl": "^1.0.11",
"playwright-core": "^1.59.1",
"react": "19.2.4",
"react-dom": "19.2.4"
},
"overrides": {
chore(deps): bump the npm_and_yarn group across 3 directories with 13 updates (#181) Bumps the npm_and_yarn group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@hono/node-server](https://github.com/honojs/node-server) | `1.19.14` | `1.19.17` | | [body-parser](https://github.com/expressjs/body-parser) | `2.2.2` | `2.3.0` | | [fast-uri](https://github.com/fastify/fast-uri) | `3.1.2` | `3.1.6` | | [hono](https://github.com/honojs/hono) | `4.12.26` | `4.13.4` | | [ip-address](https://github.com/beaugunderson/ip-address) | `10.2.0` | `10.5.0` | Bumps the npm_and_yarn group with 5 updates in the /vscode-extension directory: | Package | From | To | | --- | --- | --- | | [fast-uri](https://github.com/fastify/fast-uri) | `3.1.2` | `3.1.6` | | [brace-expansion](https://github.com/juliangruber/brace-expansion) | `5.0.5` | `5.0.9` | | [brace-expansion](https://github.com/juliangruber/brace-expansion) | `1.1.14` | `1.1.18` | | [js-yaml](https://github.com/nodeca/js-yaml) | `4.2.0` | `4.3.1` | | [linkify-it](https://github.com/markdown-it/linkify-it) | `5.0.1` | `5.0.2` | | [undici](https://github.com/nodejs/undici) | `7.28.0` | `7.29.0` | Bumps the npm_and_yarn group with 4 updates in the /website directory: [undici](https://github.com/nodejs/undici), [next](https://github.com/vercel/next.js), [nanoid](https://github.com/ai/nanoid) and [postcss](https://github.com/postcss/postcss). Updates `@hono/node-server` from 1.19.14 to 1.19.17 - [Release notes](https://github.com/honojs/node-server/releases) - [Commits](https://github.com/honojs/node-server/compare/v1.19.14...v1.19.17) Updates `body-parser` from 2.2.2 to 2.3.0 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](https://github.com/expressjs/body-parser/compare/v2.2.2...v2.3.0) Updates `fast-uri` from 3.1.2 to 3.1.6 - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.2...v3.1.6) Updates `hono` from 4.12.26 to 4.13.4 - [Release notes](https://github.com/honojs/hono/releases) - [Commits](https://github.com/honojs/hono/compare/v4.12.26...v4.13.4) Updates `ip-address` from 10.2.0 to 10.5.0 - [Release notes](https://github.com/beaugunderson/ip-address/releases) - [Commits](https://github.com/beaugunderson/ip-address/compare/v10.2.0...v10.5.0) Updates `fast-uri` from 3.1.2 to 3.1.6 - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.2...v3.1.6) Updates `brace-expansion` from 5.0.5 to 5.0.9 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.9) Updates `brace-expansion` from 1.1.14 to 1.1.18 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.9) Updates `js-yaml` from 4.2.0 to 4.3.1 - [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.1/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/4.2.0...4.3.1) Updates `linkify-it` from 5.0.1 to 5.0.2 - [Changelog](https://github.com/markdown-it/linkify-it/blob/master/CHANGELOG.md) - [Commits](https://github.com/markdown-it/linkify-it/compare/5.0.1...5.0.2) Updates `undici` from 7.28.0 to 7.29.0 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v7.28.0...v7.29.0) Updates `undici` from 6.27.0 to 6.28.0 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v7.28.0...v7.29.0) Updates `next` from 16.2.6 to 16.3.2 - [Release notes](https://github.com/vercel/next.js/releases) - [Commits](https://github.com/vercel/next.js/compare/v16.2.6...v16.3.2) Updates `nanoid` from 3.3.11 to 3.3.18 - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/3.3.18/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.3.11...3.3.18) Updates `postcss` from 8.5.10 to 8.5.26 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.5.10...8.5.26) Updates `sharp` from 0.34.5 to 0.35.3 - [Release notes](https://github.com/lovell/sharp/releases) - [Commits](https://github.com/lovell/sharp/compare/v0.34.5...v0.35.3) --- updated-dependencies: - dependency-name: "@hono/node-server" dependency-version: 1.19.17 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: body-parser dependency-version: 2.3.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: fast-uri dependency-version: 3.1.6 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: hono dependency-version: 4.13.4 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ip-address dependency-version: 10.5.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: fast-uri dependency-version: 3.1.6 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: brace-expansion dependency-version: 5.0.9 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: brace-expansion dependency-version: 1.1.18 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: js-yaml dependency-version: 4.3.1 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: linkify-it dependency-version: 5.0.2 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: undici dependency-version: 7.29.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: undici dependency-version: 6.28.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: next dependency-version: 16.3.2 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: nanoid dependency-version: 3.3.18 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: postcss dependency-version: 8.5.26 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: sharp dependency-version: 0.35.3 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-24 10:18:50 +00:00
"postcss": ">=8.5.26"
}
}