@foray1010/jest-preset 2.0.1 → 2.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 +12 -0
- package/jest-preset.mjs +8 -1
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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
|
+
## [2.1.0](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@2.0.2...@foray1010/jest-preset@2.1.0) (2022-10-21)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **jest-preset:** support native es modules typescript ([07ee4d3](https://github.com/foray1010/common-presets/commit/07ee4d3a4d6a9ed10598deed1a1d2e1390d3bb8c))
|
|
11
|
+
|
|
12
|
+
## [2.0.2](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@2.0.1...@foray1010/jest-preset@2.0.2) (2022-09-28)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **jest-preset:** ignore hidden files when calculating test coverage ([a979dad](https://github.com/foray1010/common-presets/commit/a979dad646fde58b7dc406d6434999b80e16c441))
|
|
17
|
+
|
|
6
18
|
## [2.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@2.0.0...@foray1010/jest-preset@2.0.1) (2022-09-22)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @foray1010/jest-preset
|
package/jest-preset.mjs
CHANGED
|
@@ -3,10 +3,17 @@ const preset = {
|
|
|
3
3
|
bail: true,
|
|
4
4
|
collectCoverage: true,
|
|
5
5
|
collectCoverageFrom: ['<rootDir>/src/**/*.{cjs,cts,js,mjs,mts,ts,tsx}'],
|
|
6
|
-
coveragePathIgnorePatterns: [
|
|
6
|
+
coveragePathIgnorePatterns: [
|
|
7
|
+
'/\\.', // ignore all hidden files
|
|
8
|
+
'/__fixtures__/',
|
|
9
|
+
'/__mocks__/',
|
|
10
|
+
'/__tests__/',
|
|
11
|
+
'/node_modules/',
|
|
12
|
+
],
|
|
7
13
|
coverageReporters: ['lcov', 'text-summary'],
|
|
8
14
|
errorOnDeprecated: true,
|
|
9
15
|
notify: true,
|
|
16
|
+
resolver: 'ts-jest-resolver',
|
|
10
17
|
testMatch: ['**/*.{spec,test}.{cjs,cts,js,mjs,mts,ts,tsx}'],
|
|
11
18
|
}
|
|
12
19
|
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": "2.0
|
|
4
|
+
"version": "2.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": {
|
|
@@ -18,9 +18,8 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"type:check": "tsc"
|
|
20
20
|
},
|
|
21
|
-
"
|
|
22
|
-
"jest": "
|
|
23
|
-
"typescript": "4.8.3"
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"ts-jest-resolver": "^2.0.0"
|
|
24
23
|
},
|
|
25
24
|
"peerDependencies": {
|
|
26
25
|
"jest": "^29.0.1",
|
|
@@ -32,5 +31,5 @@
|
|
|
32
31
|
"publishConfig": {
|
|
33
32
|
"access": "public"
|
|
34
33
|
},
|
|
35
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "4104425a2e26738dcb5ca44adea6bbab08bf737f"
|
|
36
35
|
}
|