@mountainpass/problem-document 0.0.53 → 0.0.55

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.
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "exclude": {
3
- "@types/jest": "Pinned to jest 27.x; upgrade requires jest 29+ migration",
4
3
  "eslint": "Pinned to ^8; upgrade to 9+ requires flat config migration and plugin compatibility",
5
4
  "eslint-config-prettier": "Major version upgrade; blocked by eslint 8.x constraint",
6
5
  "eslint-import-resolver-node": "Pinned by eslint-plugin-import compatibility",
@@ -9,10 +8,6 @@
9
8
  "eslint-plugin-jsdoc": "Major version upgrade; blocked by eslint 8.x constraint",
10
9
  "eslint-plugin-jsonc": "Major version upgrade; blocked by eslint 8.x constraint",
11
10
  "eslint-plugin-no-secrets": "Major version upgrade; blocked by eslint 8.x constraint",
12
- "eslint-plugin-unicorn": "Major version upgrade; blocked by eslint 8.x constraint",
13
- "husky": "Major version upgrade; requires migration to new config format",
14
- "jest": "Pinned to ^27; upgrade requires ts-jest migration",
15
- "jest-junit": "Major version upgrade; blocked by jest 27.x constraint",
16
- "ts-jest": "Pinned to jest 27.x; upgrade requires jest migration"
11
+ "eslint-plugin-unicorn": "Major version upgrade; blocked by eslint 8.x constraint"
17
12
  }
18
13
  }
package/.husky/commit-msg CHANGED
@@ -1,4 +1,2 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
1
  npx --no -- cspell lint --show-suggestions "${1}"
4
- npx --no -- commitlint --edit "${1}"
2
+ npx --no -- commitlint --edit "${1}"
package/.husky/pre-commit CHANGED
@@ -1,3 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
- git diff --name-only --staged | npx cspell lint --dot --gitignore --show-suggestions --no-must-find-files --file-list stdin
1
+ git diff --name-only --staged | npx cspell lint --dot --gitignore --show-suggestions --no-must-find-files --file-list stdin
package/.husky/pre-push CHANGED
@@ -1,5 +1,3 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
1
  npm run test
4
2
  npm run eslint
5
- npx dry-aged-deps --check
3
+ npx dry-aged-deps --check
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "eslint": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern src test build-tools",
12
12
  "eslint:json": "eslint --no-eslintrc --no-error-on-unmatched-pattern --config .eslintrc-json.json --ext .json .",
13
13
  "package": "mkdir -p dist/js && npm pack --pack-destination dist/js",
14
- "prepare": "husky install",
14
+ "prepare": "husky",
15
15
  "spellcheck": "cspell lint --gitignore --dot --show-suggestions -e \".git/**\" \"**\"",
16
16
  "test": "jest --passWithNoTests --all --updateSnapshot && npm run eslint && npm run spellcheck && npm run eslint:json",
17
17
  "test:update": "jest --updateSnapshot",
@@ -28,7 +28,7 @@
28
28
  "@commitlint/cli": "^20",
29
29
  "@commitlint/config-conventional": "^20",
30
30
  "@types/http-status-codes": "^1.2.0",
31
- "@types/jest": "^27.4.1",
31
+ "@types/jest": "^30",
32
32
  "@types/node": "^22",
33
33
  "@typescript-eslint/eslint-plugin": "^5",
34
34
  "@typescript-eslint/parser": "^5",
@@ -45,12 +45,12 @@
45
45
  "eslint-plugin-prettier": "^5",
46
46
  "eslint-plugin-unicorn": "^42.0.0",
47
47
  "http-status-codes": "^2.2.0",
48
- "husky": "^8.0.1",
49
- "jest": "^27",
50
- "jest-junit": "^13",
48
+ "husky": "^9",
49
+ "jest": "^29",
50
+ "jest-junit": "^16",
51
51
  "json-schema": "^0.4.0",
52
52
  "prettier": "^3",
53
- "ts-jest": "^27",
53
+ "ts-jest": "^29",
54
54
  "typescript": "^5"
55
55
  },
56
56
  "keywords": [
@@ -63,7 +63,7 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "version": "0.0.53",
66
+ "version": "0.0.55",
67
67
  "bugs": {
68
68
  "url": "https://github.com/mountain-pass/problem-document/issues"
69
69
  },
@@ -109,10 +109,13 @@
109
109
  ]
110
110
  ],
111
111
  "preset": "ts-jest",
112
- "globals": {
113
- "ts-jest": {
114
- "tsconfig": "tsconfig.dev.json"
115
- }
112
+ "transform": {
113
+ "^.+\\.tsx?$": [
114
+ "ts-jest",
115
+ {
116
+ "tsconfig": "tsconfig.dev.json"
117
+ }
118
+ ]
116
119
  }
117
120
  },
118
121
  "types": "lib/index.d.ts",