mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
b0ab804f18
- Add scripts/sync-resources.ts (run via pnpm sync-resources) that reads apps/docs/resources-edge-config.json, fetches each guide's .md version over https with a timeout and size cap, writes templates.json, and regenerates the Available resources block in skills/chat/SKILL.md - Migrate the Slack Next.js, Discord Nuxt, and Hono code-review guides from on-site MDX to Vercel KB and register them in the resources edge-config JSON alongside the existing external guides - Remove /docs/guides MDX content, sidebar entries, top-level Guides nav entry, getting-started cards, and the dead /guides/ branch in the sitemap route now that all guides live externally and are surfaced on /resources - Replace the homepage Guides/Templates section and the standalone Adapters pill section with a single two-column Resources + Adapters section (icons, headings, descriptions, outline buttons, divider), and drop the URL footer from ResourceCard on the Resources page - Update skills/chat/SKILL.md to point at resources/guides and resources/templates.json and list the available guides and templates between marker comments that sync-resources rewrites - Add tsx to knip's ignoreBinaries so npx tsx in the new script does not fail lint Co-authored-by: Ben Sabic <bensabic@users.noreply.github.com> Co-authored-by: dancer <josh@afterima.ge>
40 lines
1.5 KiB
JSON
40 lines
1.5 KiB
JSON
{
|
|
"name": "chat-sdk-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vercel/chat.git"
|
|
},
|
|
"homepage": "https://github.com/vercel/chat#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/vercel/chat/issues"
|
|
},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "turbo build",
|
|
"build:validate": "SLACK_BOT_TOKEN=xoxb-mock SLACK_SIGNING_SECRET=mock TEAMS_APP_ID=mock TEAMS_APP_PASSWORD=mock TEAMS_APP_TENANT_ID=mock GOOGLE_CHAT_CREDENTIALS='{\"type\":\"service_account\",\"project_id\":\"mock\",\"private_key\":\"-----BEGIN RSA PRIVATE KEY-----\\nMOCK\\n-----END RSA PRIVATE KEY-----\",\"client_email\":\"mock@mock.iam.gserviceaccount.com\"}' REDIS_URL=redis://localhost:6379 RECORDING_ENABLED=false turbo build",
|
|
"dev": "turbo dev",
|
|
"test": "turbo test --filter='!example-nextjs-chat' --filter='!docs'",
|
|
"test:workspace": "vitest run",
|
|
"typecheck": "turbo typecheck",
|
|
"knip": "knip",
|
|
"validate": "pnpm knip && pnpm check && turbo typecheck && pnpm test && pnpm build:validate",
|
|
"clean": "turbo clean && rm -rf node_modules",
|
|
"check": "ultracite check",
|
|
"fix": "ultracite fix",
|
|
"sync-resources": "npx tsx scripts/sync-resources.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.4",
|
|
"@changesets/cli": "^2.29.8",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"knip": "^5.85.0",
|
|
"turbo": "^2.8.12",
|
|
"typescript": "^5.9.3",
|
|
"ultracite": "7.2.4",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"packageManager": "pnpm@10.30.3"
|
|
}
|