Skip to content

Commit 89746b7

Browse files
committed
build(husky): add pre-commit check for internal Artifactory references
Add a script that prevents committing package-lock.json files containing references to artifacts.mitre.org. This ensures CI pipelines on public GitHub runners don't break due to inaccessible internal registry URLs. - Add scripts/check-package-lock.sh to detect forbidden patterns - Add check:lockfile npm script for manual execution - Update .husky/pre-commit to run the check before formatting
1 parent 095a9cd commit 89746b7

File tree

4 files changed

+2084
-1319
lines changed

4 files changed

+2084
-1319
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
npm run check:lockfile
12
npm run format

0 commit comments

Comments
 (0)