[object Object]

← back to Dw Monitoring

fix: correct package.json main entry and add backup-file patterns to .gitignore

772aea1b8923f2b91b84e0b7608cc1cc85a288ee · 2026-05-30 23:53:31 -0700 · Steve Abrams

- package.json "main" pointed at index.js which does not exist; corrected to scripts/broken-image-check.js (the only JS entry)
- .gitignore was missing *.bak, *.bak-*, *.pre-*, *.orig, *.save, *.old, *~, copy-of-* patterns

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files touched

Diff

commit 772aea1b8923f2b91b84e0b7608cc1cc85a288ee
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sat May 30 23:53:31 2026 -0700

    fix: correct package.json main entry and add backup-file patterns to .gitignore
    
    - package.json "main" pointed at index.js which does not exist; corrected to scripts/broken-image-check.js (the only JS entry)
    - .gitignore was missing *.bak, *.bak-*, *.pre-*, *.orig, *.save, *.old, *~, copy-of-* patterns
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
 .gitignore   | 8 ++++++++
 package.json | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 3ad7820..db0228a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,11 @@ data/*.jsonl
 alerts/
 *.log
 .DS_Store
+*.bak
+*.bak-*
+*.pre-*
+*.orig
+*.save
+*.old
+*~
+copy-of-*
diff --git a/package.json b/package.json
index e381d7e..c221129 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "name": "dw-monitoring",
   "version": "1.0.0",
-  "main": "index.js",
+  "main": "scripts/broken-image-check.js",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1"
   },

← 8ef7977 rescrape-todo stubs for romo/arte/rlf/glitter (dw-stale-urls  ·  back to Dw Monitoring  ·  (newest)