@ministryofjustice/hmpps-precommit-hooks 2.0.0-beta.6 → 2.0.1
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 +5 -0
- package/README.md +3 -3
- package/default-hooks.yaml +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
+
## 2.0.1
|
|
4
|
+
|
|
5
|
+
Fixing config.toml location
|
|
6
|
+
|
|
3
7
|
## 2.0.0
|
|
4
8
|
|
|
5
9
|
### Breaking Changes
|
|
@@ -8,6 +12,7 @@
|
|
|
8
12
|
- Husky is automatically uninstalled during `npm install` if present
|
|
9
13
|
- Existing husky hooks are automatically removed
|
|
10
14
|
- prek is installed via Homebrew
|
|
15
|
+
- installs and configures [devsecops-hooks](https://github.com/ministryofjustice/devsecops-hooks) by default
|
|
11
16
|
|
|
12
17
|
### New Features
|
|
13
18
|
|
package/README.md
CHANGED
|
@@ -49,9 +49,9 @@ repos:
|
|
|
49
49
|
rev: v1.4.1
|
|
50
50
|
hooks:
|
|
51
51
|
- id: baseline
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
env:
|
|
53
|
+
GITLEAKS_CONFIGURATION_FILE: ./.gitleaks/gitleaks.toml
|
|
54
|
+
GITLEAKS_IGNORE_FILE: ./.gitleaks/.gitleaksignore
|
|
55
55
|
|
|
56
56
|
- repo: local
|
|
57
57
|
hooks:
|
package/default-hooks.yaml
CHANGED
|
@@ -9,9 +9,9 @@ repos:
|
|
|
9
9
|
rev: v1.4.1
|
|
10
10
|
hooks:
|
|
11
11
|
- id: baseline
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
env:
|
|
13
|
+
GITLEAKS_CONFIGURATION_FILE: ./.gitleaks/config.toml
|
|
14
|
+
GITLEAKS_IGNORE_FILE: ./.gitleaks/.gitleaksignore
|
|
15
15
|
|
|
16
16
|
- repo: local
|
|
17
17
|
hooks:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ministryofjustice/hmpps-precommit-hooks",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Precommit hooks for HMPPS typescript projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"precommit"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public",
|
|
17
|
-
"tag": "
|
|
17
|
+
"tag": "latest"
|
|
18
18
|
},
|
|
19
19
|
"bin": {
|
|
20
20
|
"hmpps-precommit-hooks-prepare": "bin/prepare.sh",
|