Files
Hayden Bleasel d2eac74d9a Change chat to peer dependency in all adapters (#258)
* refactor: move chat to peerDependencies for adapters

Update dependency to peerDependencies to avoid version conflicts.

Slack-Thread: https://vercel.slack.com/archives/C08077A6JDB/p1773694216309039?thread_ts=1773694216.309039&cid=C08077A6JDB
Co-authored-by: Hayden Bleasel <4142719+haydenbleasel@users.noreply.github.com>

* fix: use workspace:* for chat peerDependency in all adapters

Ensures adapters always require a compatible version of chat at publish time,
rather than the overly broad >=4.0.0 range.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: v0 <v0[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 11:07:35 -07:00

62 lines
1.3 KiB
JSON

{
"name": "@chat-adapter/github",
"version": "4.20.2",
"description": "GitHub adapter for chat - PR comment threads",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run --coverage",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist"
},
"dependencies": {
"@chat-adapter/shared": "workspace:*",
"@octokit/auth-app": "^8.2.0",
"@octokit/rest": "^22.0.1"
},
"peerDependencies": {
"chat": "workspace:*"
},
"devDependencies": {
"@types/node": "^25.3.2",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^4.0.18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vercel/chat.git",
"directory": "packages/adapter-github"
},
"homepage": "https://github.com/vercel/chat#readme",
"bugs": {
"url": "https://github.com/vercel/chat/issues"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"chat",
"github",
"bot",
"adapter",
"pull-request",
"code-review"
],
"license": "MIT"
}