Skip to content

chore: import firestore-peek script from prj-team/tmp - #83

Open
ohikouta wants to merge 1 commit into
mainfrom
chore/move-firebase-read-into-vue-chat
Open

ohikouta wants to merge 1 commit into
mainfrom
chore/move-firebase-read-into-vue-chat

Conversation

@ohikouta

@ohikouta ohikouta commented May 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • ~/Documents/prj-team/tmp/firebase-read/read.jsvue-chat/scripts/firestore-peek.js に移設
  • 既存の run-firestore-rules-test.mjs / verify-firestore-rules.mjs と同居させ、Firestore 系ユーティリティを 1 か所に集約

Test plan

  • GOOGLE_APPLICATION_CREDENTIALS=path/to/sa.json node scripts/firestore-peek.js が各コレクションの先頭 3 件を出力する
  • firebase-admin を install 済みの環境で実行できる(vue-chat の package.json には未登録なので、必要なら追加 install)

🤖 Generated with Claude Code

Move the one-shot Firestore peek utility (firebase-admin based) from
~/Documents/prj-team/tmp/firebase-read/read.js into vue-chat/scripts/
where it sits alongside the other Firestore tooling.

Run with GOOGLE_APPLICATION_CREDENTIALS pointing to a service account
JSON. Lists each top-level collection and prints up to 3 docs from each.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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