@ministryofjustice/hmpps-precommit-hooks 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/default-hooks.yaml +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/default-hooks.yaml
CHANGED
|
@@ -19,21 +19,21 @@ repos:
|
|
|
19
19
|
name: linting code
|
|
20
20
|
language: system
|
|
21
21
|
entry: ./node_modules/.bin/lint-staged
|
|
22
|
-
|
|
22
|
+
files: (\.(ts|js|css)$|^package-lock\.json$)
|
|
23
23
|
require_serial: true
|
|
24
24
|
pass_filenames: false
|
|
25
25
|
- id: typecheck
|
|
26
26
|
name: verify types
|
|
27
27
|
language: system
|
|
28
28
|
entry: npm run typecheck
|
|
29
|
-
|
|
29
|
+
files: (\.(ts)$|^package-lock\.json$)
|
|
30
30
|
require_serial: true
|
|
31
31
|
pass_filenames: false
|
|
32
32
|
- id: test
|
|
33
33
|
name: running tests
|
|
34
34
|
language: system
|
|
35
35
|
entry: npm run test
|
|
36
|
-
|
|
36
|
+
files: (\.(ts)$|^package-lock\.json$)
|
|
37
37
|
require_serial: true
|
|
38
38
|
pass_filenames: false
|
|
39
39
|
- repo: builtin
|