Skip to content

chore: prefix the Cloudflare resource names with kanban - #35

Merged
tknkaa merged 1 commit into
mainfrom
chore/rename-resources-to-kanban
Oct 2, 2026
Merged

tknkaa merged 1 commit into
mainfrom
chore/rename-resources-to-kanban

Conversation

@tknkaa

@tknkaa tknkaa commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Refs #3

ut-code の Cloudflare アカウント (ほかのプロジェクトと共有) にデプロイするので、Cloudflare のリソースの名前 (アカウントの中で一意) を、todo- から kanban- に変えた。

種類 名前
Worker kanban-web、kanban-reminder-worker、kanban-web-preview
D1 kanban-db、kanban-db-preview
R2 kanban-files、kanban-files-preview
キュー kanban-reminders、kanban-notifications、kanban-mail-dead-letter、kanban-notifications-preview

ut-code のアカウントに、同じ名前がないことは確認した (D1 6 個、R2 2 個、キューなし、kanban-web の Worker なし)。

  • 設定 (wrangler.jsonc の 2 つ)、スクリプト (package.json、justfile、e2e/start-server.sh)、通知のキューの名前 (apps/reminder-worker/src/index.ts)、docs をそろえて変えた
  • docs/deploy.md に、名前の決まりと、複数のアカウントのときの CLOUDFLARE_ACCOUNT_ID の指定を足した
  • パッケージの名前 (@todo/*) は、Cloudflare に関係ないので、そのまま

注意: 手元のローカルの D1 は、実際の database_id を書くと、別の保存先になる (空になる)。pnpm db:migrate:local をやり直す

@tknkaa
tknkaa merged commit 9cb46dc into main Oct 2, 2026
2 checks passed
@tknkaa
tknkaa deleted the chore/rename-resources-to-kanban branch October 2, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant