@foray1010/jest-preset 5.1.0 → 7.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
@@ -3,6 +3,31 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@6.0.0...@foray1010/jest-preset@7.0.0) (2026-05-17)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ - drop node v20 and v25
11
+
12
+ ### Miscellaneous Chores
13
+
14
+ - drop node v20 and v25
15
+
16
+ ## [6.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@5.1.0...@foray1010/jest-preset@6.0.0) (2025-10-31)
17
+
18
+ ### ⚠ BREAKING CHANGES
19
+
20
+ - **jest-preset:** support jest 30 only
21
+ - require nodejs `^20.19.0 || ^22.12.0 || >=24.11.0`
22
+
23
+ ### Features
24
+
25
+ - **jest-preset:** support jest 30 only ([02e84e6](https://github.com/foray1010/common-presets/commit/02e84e6574f5355210cb80e10e368f9176ac068a))
26
+
27
+ ### Miscellaneous Chores
28
+
29
+ - require nodejs `^20.19.0 || ^22.12.0 || >=24.11.0` ([aae1835](https://github.com/foray1010/common-presets/commit/aae1835f9517621ddc0d71f31bda39e9163213a1))
30
+
6
31
  ## [5.1.0](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@5.0.0...@foray1010/jest-preset@5.1.0) (2023-11-17)
7
32
 
8
33
  ### Features
package/README.md CHANGED
@@ -6,9 +6,9 @@
6
6
 
7
7
  1. Create an `jest.config.mjs` in the project root
8
8
 
9
- ```js
10
- const config = {
11
- preset: '@foray1010',
12
- }
13
- export default config
14
- ```
9
+ ```js
10
+ const config = {
11
+ preset: '@foray1010',
12
+ }
13
+ export default config
14
+ ```
package/jest-preset.mjs CHANGED
@@ -14,7 +14,9 @@ const preset = {
14
14
  coverageReporters: ['lcov', 'text-summary'],
15
15
  errorOnDeprecated: true,
16
16
  notify: true,
17
- resolver: 'ts-jest-resolver',
17
+ testEnvironmentOptions: {
18
+ globalsCleanup: 'on',
19
+ },
18
20
  testMatch: ['**/*.{spec,test}.{cjs,cts,js,mjs,mts,ts,tsx}'],
19
21
  }
20
22
  export default preset
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/jest-preset",
4
- "version": "5.1.0",
4
+ "version": "7.0.0",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/jest-preset#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -18,18 +18,15 @@
18
18
  "scripts": {
19
19
  "type:check": "tsc"
20
20
  },
21
- "dependencies": {
22
- "ts-jest-resolver": "^2.0.1"
23
- },
24
21
  "peerDependencies": {
25
- "jest": "^29.0.1",
22
+ "jest": "^30.2.0",
26
23
  "node-notifier": "^10.0.1"
27
24
  },
28
25
  "engines": {
29
- "node": "^18.12.0 || >=20.9.0"
26
+ "node": "^22.12.0 || ^24.11.0 || >=26"
30
27
  },
31
28
  "publishConfig": {
32
29
  "access": "public"
33
30
  },
34
- "gitHead": "42c44850b5cf45044e373ab543d4bb83766cd678"
31
+ "gitHead": "b0dcdf4522afb97a5ee7088c20299aad17738056"
35
32
  }
package/tsconfig.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "extends": "@foray1010/tsconfig/tsconfig.base.json",
4
4
  "compilerOptions": {
5
5
  "allowJs": true,
6
- "checkJs": true
7
- }
6
+ "checkJs": true,
7
+ "types": ["node"],
8
+ },
8
9
  }