Add hourly GitHub Action that syncs tools from Vercel's AI SDK registry: Features: - Fetches Vercel AI registry from their GitHub - Uses OpenAI GPT-4 to intelligently convert tool metadata - Handles multi-export packages (multiple tools per npm package) - Automatically commits new tools to manual-tools.ts - Sends Discord notifications with detailed stats - Extensive logging at every step Files added: - sync-vercel-registry.ts - Main sync script with AI conversion - .github/workflows/sync-vercel-registry.yml - Hourly GitHub Action - docs/vercel-registry-sync.md - Complete documentation Requires OPENAI_API_KEY secret in GitHub repository settings.
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"name": "@tpmjs/monorepo",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22",
|
|
"pnpm": ">=8"
|
|
},
|
|
"packageManager": "pnpm@10.14.0",
|
|
"scripts": {
|
|
"dev": "turbo dev",
|
|
"build": "turbo build",
|
|
"test": "turbo test",
|
|
"test:ui": "turbo test:ui",
|
|
"lint": "turbo lint",
|
|
"format": "biome format --write .",
|
|
"format:check": "biome format .",
|
|
"type-check": "turbo type-check",
|
|
"type-coverage": "type-coverage --at-least 95",
|
|
"find-deadcode": "knip",
|
|
"check-architecture": "depcruise --validate --config .dependency-cruiser.js apps packages",
|
|
"clean": "turbo clean && rm -rf node_modules .turbo",
|
|
"changeset": "changeset",
|
|
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile",
|
|
"changeset:publish": "pnpm build && changeset publish",
|
|
"prepare": "node -e \"if (!process.env.CI && !process.env.VERCEL && require('fs').existsSync('.git')) { require('child_process').execSync('lefthook install', {stdio: 'inherit'}) }\""
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.9.4",
|
|
"@changesets/cli": "^2.27.10",
|
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
"@types/node": "^22.10.2",
|
|
"dependency-cruiser": "^17.3.1",
|
|
"knip": "^5.70.2",
|
|
"lefthook": "^1.10.1",
|
|
"openai": "^6.9.1",
|
|
"tsx": "^4.21.0",
|
|
"turbo": "^2.6.1",
|
|
"type-coverage": "^2.29.7",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|