Commit 89746b7
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 formatting1 parent 095a9cd commit 89746b7
File tree
4 files changed
+2084
-1319
lines changed- .husky
- scripts
4 files changed
+2084
-1319
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
0 commit comments