@casomoltd/nhs-pay 0.15.0 → 0.15.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.
Files changed (1) hide show
  1. package/package.json +20 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@casomoltd/nhs-pay",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "description": "NHS Agenda for Change pay scales, pension tiers, regions, and take-home calculator",
5
5
  "homepage": "https://github.com/casomoltd/nhs-pay#readme",
6
6
  "bugs": "https://github.com/casomoltd/nhs-pay/issues",
@@ -26,9 +26,16 @@
26
26
  "knip": "knip",
27
27
  "jscpd": "jscpd ./src",
28
28
  "check:docs": "node scripts/check-api-docs.mjs",
29
- "check": "npm run lint && npm run typecheck && npm run knip && npm run jscpd && npm run check:docs && npm run test",
29
+ "lint:md": "remark --frail --quiet --no-stdout --rc-path node_modules/@casomoltd/tooling/bin/skills-lint.config.mjs docs CLAUDE.md README.md",
30
+ "check": "check-gates && npm run lint && npm run typecheck && npm run knip && npm run jscpd && npm run check:docs && npm run test && npm run build",
30
31
  "prepare": "husky"
31
32
  },
33
+ "casomo": {
34
+ "gates": {
35
+ "spell": "no shared cspell config exists yet",
36
+ "lint:md": "script exists and passes by hand, but remark-validate-links cannot resolve the `<a id>` anchors that docs/source-archive.md puts in table cells, so it reports live links as broken"
37
+ }
38
+ },
32
39
  "repository": {
33
40
  "type": "git",
34
41
  "url": "https://github.com/casomoltd/nhs-pay.git"
@@ -57,7 +64,7 @@
57
64
  },
58
65
  "devDependencies": {
59
66
  "@casomoltd/paye-calc": "^0.5.24",
60
- "@casomoltd/tooling": "^0.21.1",
67
+ "@casomoltd/tooling": "^0.23.4",
61
68
  "@commitlint/cli": "^20.0.0",
62
69
  "@js-temporal/polyfill": "^0.5.1",
63
70
  "@types/node": "^25.5.0",
@@ -67,6 +74,10 @@
67
74
  "husky": "^9.0.0",
68
75
  "jscpd": "^4.0.0",
69
76
  "knip": "^5.0.0",
77
+ "remark-cli": "^12.0.1",
78
+ "remark-frontmatter": "^5.0.0",
79
+ "remark-lint-frontmatter-schema": "^3.15.4",
80
+ "remark-validate-links": "^13.1.0",
70
81
  "typescript": "~5.9.2",
71
82
  "typescript-eslint": "^8.0.0",
72
83
  "vitest": "^3.0.0"
@@ -74,6 +85,11 @@
74
85
  "//overrides": "esbuild + minimatch pinned to patched versions to clear dev-only advisories (esbuild dev-server file-read; minimatch ReDoS via eslint-plugin-sonarjs) that `npm audit fix` can't reach — transitive under vite/vitest and eslint-plugin-sonarjs. No production impact; drop when those deps ship the fixes.",
75
86
  "overrides": {
76
87
  "esbuild": ">=0.28.1",
77
- "minimatch": ">=10.2.3"
88
+ "minimatch": ">=10.2.3",
89
+ "remark-lint-frontmatter-schema": {
90
+ "@apidevtools/json-schema-ref-parser": "^11.1.1",
91
+ "ajv": "^8.18.0",
92
+ "yaml": "^2.8.3"
93
+ }
78
94
  }
79
95
  }