From 02c106e9bf7bb3422a4e3cabed683f22d8293ad8 Mon Sep 17 00:00:00 2001 From: yunyingk Date: Wed, 30 Sep 2026 17:07:36 +0800 Subject: [PATCH] Slim .gitignore to what the tree still has Drop rules whose targets are gone: *.log, tmp/ (+ its gitkeep dance), exports/, and the enterprise-configs section (enterprises/ no longer exists). Keep the live noise: node_modules, .DS_Store, dist/bin, and the local runtime dirs that get recreated on every run (.cache, .mimosa, .apifox, .local, scripts/export-*.ts). Organized into Build / Runtime groups. --- .gitignore | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index b1125ce..46a2143 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1,16 @@ node_modules/ .DS_Store -*.log -.cache/ -tmp/* -!tmp/.gitkeep + +# Build outputs dist/bin/ + +# Local runtime caches and system noise (regenerate at any time) +.cache/ .mimosa/ - -# Local enterprise configs can contain credentials. - -# Local generated reports and exported deliverables. -.local/ .apifox/ -exports/ -scripts/export-*.ts +# Local runtime state (rule snapshots, bridge, reports) — never committed +.local/ + +# One-off export harnesses dropped in scripts/ while exporting +scripts/export-*.ts