@foray1010/jest-preset 3.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 CHANGED
@@ -3,6 +3,34 @@
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
+
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)
21
+
22
+ ### ⚠ BREAKING CHANGES
23
+
24
+ - require node `^16.14.0 || >=18.12.0`
25
+
26
+ ### Features
27
+
28
+ - **tsconfig:** split tsconfig to mutliple files for different scenarios ([fcaf3ae](https://github.com/foray1010/common-presets/commit/fcaf3aee3f9f1851439d01631c2e8584bde685ba))
29
+
30
+ ### Miscellaneous Chores
31
+
32
+ - require node `^16.14.0 || >=18.12.0` ([5baf6eb](https://github.com/foray1010/common-presets/commit/5baf6eba6d42958596c130724a502c59fe1a4e83))
33
+
6
34
  ## [3.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/jest-preset@2.1.0...@foray1010/jest-preset@3.0.0) (2022-11-07)
7
35
 
8
36
  ### ⚠ 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
+ /\/\./.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": "3.0.0",
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": {
@@ -19,17 +19,17 @@
19
19
  "type:check": "tsc"
20
20
  },
21
21
  "dependencies": {
22
- "ts-jest-resolver": "^2.0.0"
22
+ "ts-jest-resolver": "^2.0.1"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "jest": "^29.0.1",
26
26
  "node-notifier": "^10.0.1"
27
27
  },
28
28
  "engines": {
29
- "node": "^14.18.0 || ^16.13.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": "4acba77dace91746ac98872f4b8f62b410de82f5"
34
+ "gitHead": "45c8e63f5eebfb9caec22faaf5b961154b924f50"
35
35
  }
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
- "extends": "@foray1010/tsconfig",
3
+ "extends": "@foray1010/tsconfig/tsconfig.base.json",
4
4
  "compilerOptions": {
5
5
  "allowJs": true,
6
6
  "checkJs": true