Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol. wisp.place

cli: add comprehensive file exclusion list and update deps

Prevent accidentally uploading unwanted files during site deployment:
- OS metadata (.DS_Store, Thumbs.db, etc.)
- Environment files (.env*)
- Dependencies (node_modules)
- Python artifacts (__pycache__, venvs)
- Cache and temp directories
- Editor swap files

Also updates Jacquard dependency source references in Cargo.lock.

Changed files
+48 -9
cli
-8
cli/Cargo.lock
··· 1753 [[package]] 1754 name = "jacquard" 1755 version = "0.9.3" 1756 - source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e" 1757 dependencies = [ 1758 "bytes", 1759 "getrandom 0.2.16", ··· 1783 [[package]] 1784 name = "jacquard-api" 1785 version = "0.9.2" 1786 - source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e" 1787 dependencies = [ 1788 "bon", 1789 "bytes", ··· 1801 [[package]] 1802 name = "jacquard-common" 1803 version = "0.9.2" 1804 - source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e" 1805 dependencies = [ 1806 "base64 0.22.1", 1807 "bon", ··· 1843 [[package]] 1844 name = "jacquard-derive" 1845 version = "0.9.3" 1846 - source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e" 1847 dependencies = [ 1848 "heck 0.5.0", 1849 "jacquard-lexicon", ··· 1855 [[package]] 1856 name = "jacquard-identity" 1857 version = "0.9.2" 1858 - source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e" 1859 dependencies = [ 1860 "bon", 1861 "bytes", ··· 1881 [[package]] 1882 name = "jacquard-lexicon" 1883 version = "0.9.2" 1884 - source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e" 1885 dependencies = [ 1886 "cid", 1887 "dashmap", ··· 1907 [[package]] 1908 name = "jacquard-oauth" 1909 version = "0.9.2" 1910 - source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e" 1911 dependencies = [ 1912 "base64 0.22.1", 1913 "bytes", ··· 2232 [[package]] 2233 name = "mini-moka" 2234 version = "0.10.99" 2235 - source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e" 2236 dependencies = [ 2237 "crossbeam-channel", 2238 "crossbeam-utils",
··· 1753 [[package]] 1754 name = "jacquard" 1755 version = "0.9.3" 1756 dependencies = [ 1757 "bytes", 1758 "getrandom 0.2.16", ··· 1782 [[package]] 1783 name = "jacquard-api" 1784 version = "0.9.2" 1785 dependencies = [ 1786 "bon", 1787 "bytes", ··· 1799 [[package]] 1800 name = "jacquard-common" 1801 version = "0.9.2" 1802 dependencies = [ 1803 "base64 0.22.1", 1804 "bon", ··· 1840 [[package]] 1841 name = "jacquard-derive" 1842 version = "0.9.3" 1843 dependencies = [ 1844 "heck 0.5.0", 1845 "jacquard-lexicon", ··· 1851 [[package]] 1852 name = "jacquard-identity" 1853 version = "0.9.2" 1854 dependencies = [ 1855 "bon", 1856 "bytes", ··· 1876 [[package]] 1877 name = "jacquard-lexicon" 1878 version = "0.9.2" 1879 dependencies = [ 1880 "cid", 1881 "dashmap", ··· 1901 [[package]] 1902 name = "jacquard-oauth" 1903 version = "0.9.2" 1904 dependencies = [ 1905 "base64 0.22.1", 1906 "bytes", ··· 2225 [[package]] 2226 name = "mini-moka" 2227 version = "0.10.99" 2228 dependencies = [ 2229 "crossbeam-channel", 2230 "crossbeam-utils",
+48 -1
cli/src/main.rs
··· 475 .ok_or_else(|| miette::miette!("Invalid filename: {:?}", name))? 476 .to_string(); 477 478 - // Skip .git directories 479 if name_str == ".git" { 480 continue; 481 } 482
··· 475 .ok_or_else(|| miette::miette!("Invalid filename: {:?}", name))? 476 .to_string(); 477 478 + // Skip unwanted files and directories 479 + 480 + // .git directory (version control - thousands of files) 481 if name_str == ".git" { 482 + continue; 483 + } 484 + 485 + // .DS_Store (macOS metadata - can leak info) 486 + if name_str == ".DS_Store" { 487 + continue; 488 + } 489 + 490 + // .env files (environment variables with secrets) 491 + if name_str.starts_with(".env") { 492 + continue; 493 + } 494 + 495 + // node_modules (dependency folder - can be 100,000+ files) 496 + if name_str == "node_modules" { 497 + continue; 498 + } 499 + 500 + // OS metadata files 501 + if name_str == "Thumbs.db" || name_str == "desktop.ini" || name_str.starts_with("._") { 502 + continue; 503 + } 504 + 505 + // macOS system directories 506 + if name_str == ".Spotlight-V100" || name_str == ".Trashes" || name_str == ".fseventsd" { 507 + continue; 508 + } 509 + 510 + // Cache and temp directories 511 + if name_str == ".cache" || name_str == ".temp" || name_str == ".tmp" { 512 + continue; 513 + } 514 + 515 + // Python cache 516 + if name_str == "__pycache__" || name_str.ends_with(".pyc") { 517 + continue; 518 + } 519 + 520 + // Python virtual environments 521 + if name_str == ".venv" || name_str == "venv" || name_str == "env" { 522 + continue; 523 + } 524 + 525 + // Editor swap files 526 + if name_str.ends_with(".swp") || name_str.ends_with(".swo") || name_str.ends_with("~") { 527 continue; 528 } 529