Repository navigation
Expand file tree
/
Copy path.gitignore
More file actions
60 lines (50 loc) · 2.39 KB
/
Copy path.gitignore
File metadata and controls
60 lines (50 loc) · 2.39 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
# Several rules here are written WITHOUT a trailing slash on purpose - every rule below that has no
# trailing slash is deliberate. A trailing slash matches a directory only, and git classifies a symlink as a
# file, so `node_modules/` does not cover `node_modules -> /elsewhere` and `git add -A` stages the
# link. A bare name still ignores the directory's whole contents; it also ignores a regular file of
# that name, which is the accepted trade. `script/config/test-tooling.sh` pins the unanchored ones with
# real symlinks; the anchored ones (docs/src, docs/book) it cannot reach, so they rely on this note.
# Dependencies
node_modules
pnpm-lock.yaml
# Foundry
cache
out
broadcast
lib
# Docs: all authored documentation under docs/ is tracked. Ignore only `forge doc` generated output.
docs/src
docs/book
docs/book.toml
# Safe Transaction Builder batches (run artifacts, kept local); keep the example
batches/*
!batches/example.transfer-ownership.11155111.json
# Dotenv file
.env
# MacOS system files
.DS_Store
*/.DS_Store
# Deploy history ledger (append-only, written by the deploy scripts, kept local; per-artifact
# timestamped files under history/<category>/<selectorName>/) - never tracked
history
# Root-level test scratch. The suite's ignore-contract probe builds one here, and the other zz-scratch
# rules are all scoped under project/ or config/chains/, so without this a probe left behind by an
# interrupted run would show up as untracked - in the very gate that asserts nothing strays.
/zz-scratch-*
# Project state store (lanes + roles + deployed addresses). In THIS template repo it holds OUR
# throwaway test-deployment addresses, so it is gitignored and only the example ships. A downstream
# FORK should UN-gitignore project/ so its lanes/roles/addresses become one reviewed, git-versioned,
# team-shared source of truth (see docs/deployed-addresses.md).
project/*.json
!project/ethereum-testnet-sepolia.example.json
project/zz-scratch-*.json
project/local-*.json
# Token-group subdirectories (project/<group>/<selectorName>.json) - same policy as the flat files
project/*/*.json
# Scratch files written (and removed) by tests - never commit a leak
config/chains/zz-scratch-*.json
history/**/zz-scratch-*
project/zz-scratch-*/
# Visible test group dirs (zz-tt-*): NOT skipped by the group-sweeping tools, so tests can assert
# discovery/notice on them; still gitignored + removed by the test cleanup.
project/zz-tt-*/