Repository navigation
Expand file tree
/
Copy path.gitignore
More file actions
60 lines (52 loc) · 2.36 KB
/
Copy path.gitignore
File metadata and controls
60 lines (52 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# The PocketBase binary is downloaded per-machine by scripts/setup.sh —
# never commit it. (Different OS/arch per machine, and it's ~12 MB.)
pocketbase
pocketbase.exe
pocketbase_*.zip
pb.log
# Scratch verification instances — a renamed binary + its own data dir some
# sessions spin up to test migrations without touching the real pb_data/.
# Never source; the ~30 MB binary especially must never land in a commit.
pb_core
pb_core.exe
pb_core.log
pb_data_scratch/
# The combined smoke test (scripts/smoke_test.sh) boots a throwaway instance
# here and deletes it on exit; a crash mid-run must never leave it committable.
pb_data_smoke/
# Live database, uploaded files, and logs. This is the operator's data,
# not source code. The schema lives in pb_migrations/ (which IS committed) and
# re-seeds itself on first run.
pb_data/
# Admin-UI automigrate artifacts. When PocketBase runs with automigrate and a
# collection is edited in the admin UI, it writes `{ts}_created_/updated_/
# deleted_{collection}.js` into the --migrationsDir. Those reference collections
# by opaque internal id (pbc_…) and break a from-scratch rebuild — exactly the
# admin-UI-built schema CLAUDE.md forbids. The hand-written schema uses the
# imperative `_create_` / `_migration_` / `_seed_` (no trailing "d"), so these
# past-tense patterns catch only the strays.
pb_migrations/*_created_*.js
pb_migrations/*_updated_*.js
pb_migrations/*_deleted_*.js
# OS noise
.DS_Store
Thumbs.db
# Local editor/agent tooling config — except the shared project settings,
# which carry the no-AI-attribution rule to every Claude Code session
# (including web sessions, which don't see local machine config).
.claude/*
!.claude/settings.json
# Scratch calibration/verification instance (test DB) — never source.
# Covers pb_data_caltest/ and any other pb_data_<suffix>/ test instances.
pb_data_caltest/
pb_data_*/
# ---- Dev-only browser-test tooling (task 040, DECISIONS.md D16) -------------
# Playwright and its downloaded browsers are DEV tooling for
# scripts/browser_test.sh. They are never vendored into pb_public/, never a
# runtime dependency, and never shipped to a field deployment. The manifest and
# lockfile ARE committed (so the version is pinned); the installed bytes are not.
node_modules/
scripts/browser/node_modules/
# Playwright's browser downloads, if a local cache dir is ever used.
.playwright/
ms-playwright/