@ministryofjustice/hmpps-precommit-hooks 0.0.4 → 0.1.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/package.json +10 -6
package/CHANGELOG.md CHANGED
@@ -1,9 +1,13 @@
1
1
  # Change log
2
2
 
3
+ ## 1.0.0
4
+
5
+ Move to node 24
6
+
3
7
  ## 0.0.4
4
8
 
5
9
  Reading `.gitleaksignore` from the correct location.
6
- Previously it was assuming `.gitleaksignore` would be in the project root directory rather than in the `.gitleaks` directory.
10
+ Previously it was assuming `.gitleaksignore` would be in the project root directory rather than in the `.gitleaks` directory.
7
11
 
8
12
  ## 0.0.3
9
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ministryofjustice/hmpps-precommit-hooks",
3
- "version": "0.0.4",
3
+ "version": "0.1.0",
4
4
  "description": "Precommit hooks for HMPPS typescript projects",
5
5
  "keywords": [
6
6
  "precommit"
@@ -10,12 +10,16 @@
10
10
  "homepage": "https://github.com/ministryofjustice/hmpps-typescript-lib/tree/main/packages/precommit-hooks#readme",
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "https://github.com/ministryofjustice/hmpps-typescript-lib.git"
13
+ "url": "git+https://github.com/ministryofjustice/hmpps-typescript-lib.git"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public",
17
+ "tag": "latest"
14
18
  },
15
19
  "bin": {
16
- "@ministryofjustice/hmpps-precommit-hooks": "./bin/init.sh",
17
- "hmpps-precommit-hooks-prepare": "./bin/prepare.sh",
18
- "test-secret-protection": "./bin/test.sh"
20
+ "hmpps-precommit-hooks-prepare": "bin/prepare.sh",
21
+ "test-secret-protection": "bin/test.sh",
22
+ "hmpps-precommit-hooks": "bin/init.sh"
19
23
  },
20
24
  "scripts": {
21
25
  "check-for-updates": "npx npm-check-updates -u"
@@ -26,7 +30,7 @@
26
30
  "config.toml"
27
31
  ],
28
32
  "engines": {
29
- "node": "20 || 22"
33
+ "node": "20 || 22 || 24"
30
34
  },
31
35
  "dependencies": {
32
36
  "husky": "^9.1.7"