Skip to content

Commit 71fbfd8

Browse files
authored
fix: commit docs canister ID mapping and tighten gitignore (#442)
- Only ignore .icp/cache (not all of .icp/) so canister ID mappings can be committed as intended for icp projects - Remove outdated .icpdata ignore entry (no longer used) - Ignore examples/*/.icp/ since this repo does not track canister IDs for the examples (neither local nor mainnet deployments) - Commit docs-site/.icp/data/mappings/ic.ids.json (canister ID for docs) - Restore cp in workflow (file is now in source control)
1 parent 764ce2a commit 71fbfd8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.gitignore

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
.DS_Store
33
.cursor
44

5-
# Local (directories)
6-
.icp
5+
# icp-cli internal cache directory
6+
.icp/cache
77

8-
# This directory contains canister ID mappings which are encouraged
9-
# to be included in source control of icp canister projects.
10-
# They are ignored here because we are developing icp-cli itself.
11-
.icpdata
8+
# icp-cli state in examples (not source-controlled in this repo)
9+
examples/*/.icp/
1210

1311
# often-used binaries
1412
pocket-ic
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"docs": "ak73b-maaaa-aaaad-qlbgq-cai"
3+
}

0 commit comments

Comments
 (0)