@foray1010/jest-preset 4.0.0 → 5.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 +14 -0
- package/jest-preset.mjs +6 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@4.0.0...@foray1010/jest-preset@5.0.0) (2023-11-17)
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
- require node `^18.12.0 || >=20.9.0`
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **jest-preset:** ignore type definition files when calculate coverage ([081bcac](https://github.com/foray1010/common-presets/commit/081bcac5d72d9100ea62cb2af6a7da6bdf24bf92))
|
|
15
|
+
|
|
16
|
+
### Miscellaneous Chores
|
|
17
|
+
|
|
18
|
+
- require node `^18.12.0 || >=20.9.0` ([e231508](https://github.com/foray1010/common-presets/commit/e231508673cefd6e4792083e4f15fd152446e32d))
|
|
19
|
+
|
|
6
20
|
## [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
21
|
|
|
8
22
|
### ⚠ 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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
/\/\./.source, // ignore all hidden files
|
|
8
|
+
/\/__fixtures__\//.source,
|
|
9
|
+
/\/__mocks__\//.source,
|
|
10
|
+
/\/__tests__\//.source,
|
|
11
|
+
/\/node_modules\//.source,
|
|
12
|
+
/\.d\.(?:cts|mts|ts|tsx)$/.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
|
+
"version": "5.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": {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"node-notifier": "^10.0.1"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": "^
|
|
29
|
+
"node": "^18.12.0 || >=20.9.0"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "45c8e63f5eebfb9caec22faaf5b961154b924f50"
|
|
35
35
|
}
|