mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
32a2717e68
## Problem The Release workflow has failed on every run since Sep 3, so no package version has been published since then. Every changeset merged to `main` is stranded waiting for the version PR to regenerate. The cause is a dependency mismatch introduced by a Dependabot bump. #880 updated the [Changesets GitHub Action](https://github.com/changesets/action) from v1.9.0 to v2.1.1, but did not touch `@changesets/cli`, which stayed on v2. The action's v2 release requires Changesets CLI v3 and rejects CLI v2 on every run, so the workflow fails before it can version or publish anything. The mismatch went unnoticed because Dependabot manages GitHub Actions and npm dependencies separately. ## Changes - Bump `@changesets/cli` from ^2.29.8 to ^3.0.1 to match what the action requires. The existing `.changeset/config.json` is fully compatible with CLI v3; nothing else in the release flow changes. - Update the Release workflow to the action's renamed inputs: `publish` → `publish-script`, `commit` → `commit-message`, `title` → `pr-title`. The v2 action hard-fails on the old names, and it removed `commitMode: github-api` entirely (GitHub API pushes are now the default behavior, so removing it preserves what the workflow did before). Once merged, the Release workflow should go green and update the open version PR (#878) to include all changesets accumulated since Sep 3, unblocking the next publish. Signed-off-by: Hiroki Osame <hiroki.osame@gmail.com>
43 lines
1.6 KiB
JSON
43 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='!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": "tsx scripts/sync-resources.ts",
|
|
"konsistent": "konsistent --config-path .github/konsistent.json"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.4",
|
|
"@changesets/cli": "^3.0.1",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"knip": "^5.85.0",
|
|
"konsistent": "0.0.1-alpha.20",
|
|
"tsx": "^4.22.3",
|
|
"turbo": "^2.9.14",
|
|
"typescript": "^5.9.3",
|
|
"ultracite": "7.2.4",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"packageManager": "pnpm@10.30.3"
|
|
}
|