@ministryofjustice/hmpps-precommit-hooks 2.0.2 → 3.0.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.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,16 @@
1
1
  # Change log
2
2
 
3
+ ## 3.0.0
4
+
5
+ Drops support for node engine 20 (no longer maintained) and adds 26 (will be LTS later this year).
6
+
3
7
  ## 2.0.2
4
8
 
5
- Change default precommit config to run linting, typechecks and tests if the package-lock.json file changes
9
+ Change default precommit config to run linting, typechecks and tests if the package-lock.json file changes
6
10
 
7
11
  ## 2.0.1
8
12
 
9
- Fixing config.toml location
13
+ Fixing config.toml location
10
14
 
11
15
  ## 2.0.0
12
16
 
@@ -16,8 +20,8 @@ Fixing config.toml location
16
20
  - Husky is automatically uninstalled during `npm install` if present
17
21
  - Existing husky hooks are automatically removed
18
22
  - prek is installed via Homebrew
19
- - installs and configures [devsecops-hooks](https://github.com/ministryofjustice/devsecops-hooks) by default
20
-
23
+ - installs and configures [devsecops-hooks](https://github.com/ministryofjustice/devsecops-hooks) by default
24
+
21
25
  ### New Features
22
26
 
23
27
  - Added `.pre-commit-config.yaml` configuration file with default hooks
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Crown Copyright (Ministry of Justice)
3
+ Copyright (c) 2026 Crown Copyright (Ministry of Justice)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ministryofjustice/hmpps-precommit-hooks",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "Precommit hooks for HMPPS typescript projects",
5
5
  "keywords": [
6
6
  "precommit"
@@ -31,6 +31,6 @@
31
31
  "default-hooks.yaml"
32
32
  ],
33
33
  "engines": {
34
- "node": "20 || 22 || 24"
34
+ "node": "22 || 24 || 26"
35
35
  }
36
36
  }