@foray1010/jest-preset 4.0.0 → 5.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
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
+ ## [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
+
8
+ ### Features
9
+
10
+ - **eslint-config:** enable regexp strict mode ([07d035b](https://github.com/foray1010/common-presets/commit/07d035badb143ce4490cd4731b8bf43667bbf07b))
11
+
12
+ ## [5.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@4.0.0...@foray1010/jest-preset@5.0.0) (2023-11-17)
13
+
14
+ ### ⚠ BREAKING CHANGES
15
+
16
+ - require node `^18.12.0 || >=20.9.0`
17
+
18
+ ### Features
19
+
20
+ - **jest-preset:** ignore type definition files when calculate coverage ([081bcac](https://github.com/foray1010/common-presets/commit/081bcac5d72d9100ea62cb2af6a7da6bdf24bf92))
21
+
22
+ ### Miscellaneous Chores
23
+
24
+ - require node `^18.12.0 || >=20.9.0` ([e231508](https://github.com/foray1010/common-presets/commit/e231508673cefd6e4792083e4f15fd152446e32d))
25
+
6
26
  ## [4.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@3.0.0...@foray1010/jest-preset@4.0.0) (2023-03-23)
7
27
 
8
28
  ### ⚠ BREAKING CHANGES
package/jest-preset.mjs CHANGED
@@ -4,11 +4,12 @@ const preset = {
4
4
  collectCoverage: true,
5
5
  collectCoverageFrom: ['<rootDir>/src/**/*.{cjs,cts,js,mjs,mts,ts,tsx}'],
6
6
  coveragePathIgnorePatterns: [
7
- '/\\.', // ignore all hidden files
8
- '/__fixtures__/',
9
- '/__mocks__/',
10
- '/__tests__/',
11
- '/node_modules/',
7
+ /\/\./u.source, // ignore all hidden files
8
+ /\/__fixtures__\//u.source,
9
+ /\/__mocks__\//u.source,
10
+ /\/__tests__\//u.source,
11
+ /\/node_modules\//u.source,
12
+ /\.d\.(?:cts|mts|ts|tsx)$/u.source, // ignore type definition files
12
13
  ],
13
14
  coverageReporters: ['lcov', 'text-summary'],
14
15
  errorOnDeprecated: true,
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": "4.0.0",
4
+ "version": "5.1.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": {
@@ -26,10 +26,10 @@
26
26
  "node-notifier": "^10.0.1"
27
27
  },
28
28
  "engines": {
29
- "node": "^16.14.0 || >=18.12.0"
29
+ "node": "^18.12.0 || >=20.9.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "ee22f073ee1702354310091b7c3a5ec18a930bec"
34
+ "gitHead": "42c44850b5cf45044e373ab543d4bb83766cd678"
35
35
  }