From c460c5201c73b9abf20931a7af571d7116e7dc76 Mon Sep 17 00:00:00 2001 From: Roland Foerther Date: Sat, 29 Aug 2026 20:56:13 +0200 Subject: [PATCH] Ignore .npmrc to prevent committing registry auth tokens A GitHub PAT was previously committed in .npmrc (secret scanning alert #1). The token has been purged from git history; ignoring the file prevents a recurrence. Co-Authored-By: Claude Opus 5 --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index a314f5a..402be81 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,9 @@ web_modules/ # Optional npm cache directory .npm +# npm auth config (may contain registry tokens) +.npmrc + # Optional eslint cache .eslintcache