chore: add stage-distribution hook to ensure dist/ is committed
This commit is contained in:
@@ -55,3 +55,10 @@ repos:
|
||||
files: ^(index\.js|monitor\.js|package\.json|package-lock\.json)$
|
||||
pass_filenames: false
|
||||
stages: [pre-commit]
|
||||
- id: add-dist
|
||||
name: stage-distribution
|
||||
entry: git add dist/
|
||||
language: system
|
||||
files: ^(index\.js|monitor\.js|package\.json|package-lock\.json)$
|
||||
pass_filenames: false
|
||||
stages: [pre-commit]
|
||||
|
||||
Reference in New Issue
Block a user