[object Object]

← back to build-pages

discovery: exclude _-prefixed scratch/archive dirs + v1.1.1

0e2d4364828b9c08391153b26ed9f5ffcccfd113 · 2026-07-28 09:13:19 -0700 · steve@designerwallcoverings.com

Files touched

Diff

commit 0e2d4364828b9c08391153b26ed9f5ffcccfd113
Author: steve@designerwallcoverings.com <steve@designerwallcoverings.com>
Date:   Tue Jul 28 09:13:19 2026 -0700

    discovery: exclude _-prefixed scratch/archive dirs + v1.1.1
---
 package-lock.json | 4 ++--
 package.json      | 2 +-
 server.js         | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 7e9de6d..ea32e6c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "build-pages",
-  "version": "1.1.0",
+  "version": "1.1.1",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "build-pages",
-      "version": "1.1.0",
+      "version": "1.1.1",
       "license": "ISC",
       "dependencies": {
         "compression": "^1.8.1",
diff --git a/package.json b/package.json
index fc7b95a..2c6d2e9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "build-pages",
-  "version": "1.1.0",
+  "version": "1.1.1",
   "main": "index.js",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1"
diff --git a/server.js b/server.js
index cd2cf62..1d8ba8c 100644
--- a/server.js
+++ b/server.js
@@ -76,6 +76,7 @@ function discoverProjects() {
   try { dirents = fs.readdirSync(base, { withFileTypes: true }); } catch (_) { /* fall through to curated-only */ }
   for (const d of dirents) {
     if (!d.isDirectory()) continue;
+    if (d.name.startsWith('_')) continue;                 // skip scratch/archive dirs (_overnight, _shared, _archive…)
     const repo = path.join(base, d.name);
     if (curatedRepos.has(repo)) continue;                 // a curated entry already covers this repo
     if (!fs.existsSync(path.join(repo, '.git'))) continue; // only real git repos

← c032224 chore: lint+refactor pass (clean, no code changes) + v1.1.0  ·  back to build-pages  ·  (newest)