Files
vercel__chat/package.json
T
Felix Arntz 06fb8e59ef chore: set up konsistent with basic initial config for package, adapter, and state adapter conventions (#466)
* set up konsistent with basic initial config

* add konsistent to CI

* fix konsistent.json formatting

* fix(gchat): move GoogleChatAdapterConfig to ./types for konsistent

* fix(slack): move SlackAdapterConfig to ./types and drop Partial wrapper from createSlackAdapter

* fix(messenger): name createMessengerAdapter parameter MessengerAdapterConfig

* fix(web): rename WebAdapterOptions to WebAdapterConfig and import Adapter type in index.ts

* fix(whatsapp): align WhatsAppAdapterConfig and creator with konsistent + map kebab to PascalCase

* fix(state-memory): add MemoryStateAdapterOptions type for konsistent

* fix(state-ioredis): unify URL and client options under IoRedisStateAdapterOptions

* fix(state-redis): unify URL and client options under RedisStateAdapterOptions

* fix(state-pg): unify URL and client options under PostgresStateAdapterOptions

* chore: changeset for konsistent convention alignment

* chore: drop CHANGELOG.md from konsistent's required files list

CHANGELOG.md is generated automatically by changesets on each release —
it's never hand-authored and doesn't exist for a package until its first
release lands. Requiring it as a convention check makes CI fail
indefinitely for any newly added package, with no honest fix available
(an empty placeholder is just noise that gets overwritten on first
release).

* docs: document konsistent and package shape conventions

* fix(web): use WebAdapterConfig in WebAdapter field types after main merge

The merge of main into konsistent brought in PR #475's `protected`
field modifiers on top of the WebAdapterOptions → WebAdapterConfig
rename, leaving two stale references to the (un-imported) old name.
Switch them to WebAdapterConfig and update a stale JSDoc reference
in als.ts to match.

---------

Co-authored-by: Ben Sabic <bensabic@users.noreply.github.com>
Co-authored-by: Ben Sabic <27636870+bensabic@users.noreply.github.com>
2026-05-11 19:29:05 +10:00

42 lines
1.6 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",
"konsistent": "konsistent --config-path .github/konsistent.json"
},
"devDependencies": {
"@biomejs/biome": "^2.4.4",
"@changesets/cli": "^2.29.8",
"@vitest/coverage-v8": "^4.0.18",
"knip": "^5.85.0",
"konsistent": "0.0.1-alpha.20",
"turbo": "^2.8.12",
"typescript": "^5.9.3",
"ultracite": "7.2.4",
"vitest": "^4.0.18"
},
"packageManager": "pnpm@10.30.3"
}